[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

diald keeps dialing...

I've set up diald from the rpm diald-0_16_5-201_i386.rpm on a RH 5.0 system. It seems to work just fine except after the
connection is droped it will immediately dial back out and
continues to do this.  If I use the diald command "diald-off" and then issue the command "diald-on".  The system will not dial out until it specifically sees a packet to force a dial-out, but once it does, it continually dials
out and connects.  Do you have any ideas how I might get this to stop occurring?  Thanks for your time in advance.
0
pmalinow
Asked:
pmalinow
  • 3
  • 2
  • 2
  • +1
1 Solution
 
pmalinowAuthor Commented:
Edited text of question
0
 
JBURGHARDTCommented:
you need to move diald.conf to /etc/diald and remove connect from /etc/diald
0
 
JBURGHARDTCommented:
Can you post your diald.conf  there are some setings that you need to add or change to stop diald form redialing
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
pmalinowAuthor Commented:
If I remove the connect script from /etc/diald then where does it
get the phone number and login information it needs to dial and
connect.  I have not made any modifications to the stock distri-
dution except of course to the connect script inputting the phone
number of the machine I am trying to reach and the login info.
I recently discovered that the remote machine being dialed is the
one terminating the connection after not seeing any IP traffic.
Therefore I am now looking into making the disconnect time
shorter on the diald machine.

As requested I am inclulding a copy of my diald.conf file:

device /dev/cua1
speed 38400
lock
mode ppp dynamic
local 10.0.0.1
remote 10.0.0.2
pppd-options name anappp :  up-delay 5
defaultroute
modem
crtscts
connect /etc/diald/connect
redial-timeout 10
fifo /etc/diald/diald.ctl


0
 
JBURGHARDTCommented:
First step is to resolve ppp problem use minicom to logon to your ISP then write down all steps you need to get to internet like password login any options. I had the same problem  and my ISP changeg from host login  to login and your script is incorrect check this firs
0
 
buzhCommented:
dump diald. Try using pppd and chat.. I don't know the details of your isp, but assuming it doesn't use pap/chap the following should work..

Make a file with the following in it, and do a chmod +x filename to make it executable

pppd /dev/modem 38400 connect "chat -f dialerscriptfilename" accept-ipcp-local accept-ipcp-remote crtscts modem

then, you need a script to dial.. in this example, call it dialerscriptfilename and put the following in it..

""
ATZ
OK
ATDT[ISP PHONE NUMBER]
CONNECT

if your isp uses pap or chap, just ask.
I could start ranting about how redhat makes linux users too dumb to figure out things like this on their own, but I wont. ;)
0
 
buzhCommented:
btw.. to disconnect, just press the hangup/voice/data/whatever button, or make a script that kills pppd.
for example, you could do this:

$echo "killall pppd" >> disconnect
$chmod +x disconnect

then, you just have to run ./disconnect to take down the link.
0
 
brunovanCommented:
You don't seem to have any filters in your diald.conf file. In other words there is nothing to tell diald how long you want to stay connected if there is no traffic. Include the standard.filter file to your diald.conf

include /usr/lib/diald/standard.filter

If you would like read the standard.filter file. It has a lot of good comments to explain what it is doing.

Bruno
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now