My problem is that even though there is no traffic, diald will always
redial to continue the time out countdown when the remote end
disconnects the link. I have specified the two-way parameter, but still
this behavior persists. This problem seems to exist with version 0.16.5
and 0.99.1., and I am using the standard filter files that come with
diald. I have even added code to the fsm to write to the syslog the
fact that two_way exists.
Any clues to the problem would be greatly appreciated.
My diald.conf file is as follows:
mode ppp
connect /etc/ppp/ppp-on-dialer
device /dev/modem
speed 115200
modem
lock
crtscts
defaultroute
dynamic
two-way
give-way
fifo /usr/etc/diald.ctl
include /usr/lib/diald/standard.filter
local 194.156.249.77
remote 193.156.249.1
debug 0x007d
Here is the output from syslog at the time of the disconnection:
Mar 2 11:54:42 wilma pppd[627]: LCP terminated by peer (User request)
Mar 2 11:54:43 wilma diald[618]: --- tick --- state 7 block 0
state_timeout -1
Mar 2 11:54:45 wilma last message repeated 2 times
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[10]: pid 627 link, status 4096
Mar 2 11:54:45 wilma diald[618]: running '/sbin/ifconfig sl0
194.156.249.77 pointopoint 193.156.249.1 broadcast 0.0.0.0 netmask
255.255.255.255 metric 0 mtu 1500 up'
Mar 2 11:54:45 wilma pppd[627]: Hangup (SIGHUP)
Mar 2 11:54:45 wilma pppd[627]: Modem hangup
Mar 2 11:54:45 wilma pppd[627]: Connection terminated.
Mar 2 11:54:45 wilma pppd[627]: Connect time 1.0 minutes.
Mar 2 11:54:45 wilma pppd[627]: Sent 746 bytes, received 389 bytes.
Mar 2 11:54:45 wilma pppd[627]: Exit.
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[11]: pid 638 system, status 0
Mar 2 11:54:45 wilma diald[618]: start sl0: Establishing routes for sl0
Mar 2 11:54:45 wilma diald[618]: running '/sbin/route add 193.156.249.1
metric 0 dev sl0'
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[12]: pid 640 system, status 0
Mar 2 11:54:45 wilma diald[618]: running '/sbin/route add default
metric 0 netmask 0.0.0.0 dev sl0'
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[13]: pid 642 system, status 0
Mar 2 11:54:45 wilma diald[618]: stop ppp0: Removing routes for ppp0
Mar 2 11:54:45 wilma diald[618]: running '/sbin/route del default
metric 0 netmask 0.0.0.0 dev ppp0'
Mar 2 11:54:45 wilma diald[618]: stop ppp0: SIOCDELRT: No such process
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[14]: pid 644 system, status
1792
Mar 2 11:54:45 wilma diald[618]: running '/sbin/ifconfig ppp0 down'
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[15]: pid 646 system, status 0
Mar 2 11:54:45 wilma diald[618]: Link died on remote end.
Mar 2 11:54:45 wilma diald[618]: Two_way was enabled.
Mar 2 11:54:45 wilma diald[618]: Deleting connection 0x8062dd0 @
320846085
Mar 2 11:54:45 wilma diald[618]: running '/sbin/ifconfig sl0
194.156.249.77 pointopoint 193.156.249.1 broadcast 0.0.0.0 netmask
255.255.255.255 metric 0 mtu 1500 up'
Mar 2 11:54:45 wilma diald[618]: SIGCHLD[16]: pid 648 system, status 0
Mar 2 11:54:45 wilma diald[618]: start sl0: Establishing routes for sl0
Mar 2 11:54:45 wilma diald[618]: running '/sbin/route add 193.156.249.1
metric 0 dev sl0'
Mar 2 11:54:46 wilma diald[618]: SIGCHLD[17]: pid 650 system, status 0
Mar 2 11:54:46 wilma diald[618]: running '/sbin/route add default
metric 0 netmask 0.0.0.0 dev sl0'
Mar 2 11:54:46 wilma diald[618]: SIGCHLD[18]: pid 652 system, status 0
Mar 2 11:54:46 wilma diald[618]: Closed fwdfd
Mar 2 11:54:46 wilma diald[618]: Changed snoop device to sl0
Mar 2 11:54:46 wilma diald[618]: new state DISCONNECT action 0x8050958
timeout 60
Mar 2 11:54:46 wilma diald[618]: new state CLOSE action 0x80509dc
timeout -1
Mar 2 11:54:46 wilma diald[618]: Closing /dev/modem
Mar 2 11:54:47 wilma diald[618]: --- tick --- state 9 block 0
state_timeout -1
Mar 2 11:54:47 wilma diald[618]: new state RETRY action 0x8050b48
timeout -1
Mar 2 11:54:48 wilma diald[618]: --- tick --- state 10 block 0
state_timeout -1
Mar 2 11:54:48 wilma diald[618]: new state CONNECT action 0x8050284
timeout 60
Mar 2 11:54:48 wilma diald[618]: Calling site 192.156.249.72
Mar 2 11:54:49 wilma diald[618]: running '/etc/ppp/ppp-on-dialer'
Mar 2 11:54:49 wilma diald[618]: --- tick --- state 1 block 0
state_timeout 59
Mar 2 11:54:49 wilma chat[655]: timeout set to 3 seconds
regards
Brett
--
Brett Wallace ([EMAIL PROTECTED])
_--_|\ RAMA Technologies Pty. Ltd.
/ \ 28 Walters Dve, Osborne Park WA 6103, Australia
\_.--._/ Tel: +61 8 9445 7999 Fax: +61 8 9445 7666
v http://www.rama.com.au
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]