Hey, I'm having some trouble with diald, maybe someone can help me.
I've read through the faq and documentation, but I couldn't find much
related to this subject.
I've got ppp set to disconnect after 5 minute of idle time. When
the five minutes are up this is what happens.
Mar 10 14:38:54 e12 pppd[30448]: Terminating connection due to lack of activity.
Mar 10 14:38:54 e12 pppd[30448]: Connection terminated.
Mar 10 14:38:54 e12 pppd[30448]: Connect time 16.4 minutes.
Mar 10 14:38:54 e12 pppd[30448]: Sent 213469 bytes, received 164682 bytes.
Mar 10 14:38:54 e12 pppd[30448]: Exit.
Mar 10 14:38:54 e12 diald[30304]: Setting pointopoint route for sl0
Mar 10 14:38:54 e12 diald[30304]: Nonzero exit status (7) on command '/sbin/route add
137.130.1.14 metric 1 dev sl0'
Mar 10 14:38:55 e12 diald[30304]: Establishing routes for sl0
Mar 10 14:38:55 e12 diald[30304]: Nonzero exit status (7) on command '/sbin/route add
default metric 1 netmask 0.0.0.0 dev sl0'
Mar 10 14:38:55 e12 diald[30304]: Removing routes for ppp0
Mar 10 14:38:55 e12 diald[30304]: Deleting pointopoint route for ppp0
Mar 10 14:38:55 e12 diald[30304]: Link died on remote end.
Mar 10 14:38:55 e12 diald[30304]: Setting pointopoint route for sl0
Mar 10 14:38:55 e12 diald[30304]: Nonzero exit status (7) on command '/sbin/route add
137.130.1.14 metric 1 dev sl0'
Mar 10 14:38:55 e12 diald[30304]: Establishing routes for sl0
Mar 10 14:38:55 e12 diald[30304]: Nonzero exit status (7) on command '/sbin/route add
default metric 1 netmask 0.0.0.0 dev sl0'
Mar 10 14:38:55 e12 diald[30304]: Closed fwdfd
Mar 10 14:38:55 e12 diald[30304]: Changed snoop device to sl0
Mar 10 14:38:55 e12 diald[30304]: Closing modem line.
Mar 10 14:38:58 e12 diald[30304]: Running connect (pid = 30890).
Then it starts to bring up the connection again. Is there anyway I can keep
that from happening?
Here is my diald.conf file.
accept any 1200 any
mode ppp
device /dev/ttyS2 # The modem
speed 57600
modem
lock
dynamic
local 137.130.2.44 # IP address for the "local" serial interface
remote 137.130.1.14 # IP address for the "remote" serial interface
up-delay 5 # Delay 5 seconds (for the serial lines)
defaultroute # Use the default route
crtscts
accounting-log /var/log/diald
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
redial-timeout 30 # set the redial timeout to 30 seconds
fifo /etc/diald/diald.ctl # Diald will use this file as it's fifo (buffer)
Thanks in advanced,
Jeff
--
"..therefore never send to know for whom the bell tolls; It tolls for thee."
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]