Some more details from my last sketchy email...
any ideas, or, hey stupid, you forgot this - would be appreicated.
It looks like that diald is setting up two connections, and just as the
lock is removed of the /dev/ttyS2, the other makes the modem hang up,
and crashes the first connection... or maybe not, I can't really follow
the debug session very well...
Thanks in advance.
-Robin
pinky:~# hostname
pinky
config files:
/etc/diald.conf
-rwxr-xr-x 1 root root 115 Apr 2 22:27 earthlink.script*
device /dev/ttyS2
speed 115200
mode ppp
modem
lock
crtscts
local 127.0.0.2
remote 127.0.0.3
dynamic
defaultroute
include /usr/lib/diald/standard.filter
connect /etc/ppp/diald.earthlink
pppd-options noipdefault
/etc/ppp/diald.earthlink
-rwxr-xr-x 1 root root 115 Apr 2 22:27 earthlink.script*
exec chat -v \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
"" \rATZ \
OK ATH0 \
OK ATDT6260996 \
CONNECT '' \
ogin:--ogin: xxxxxxxxxxxx \
assword: yyyyyyyyyyyy
consecutive ticks cut out for brevity.
pinky:/etc# diald debug 127 -daemon
diald[2964]: Starting diald version 0.16
diald[2964]: Proxy device established on interface sl0
diald[2964]: running '/sbin/ifconfig sl0 127.0.0.2 pointopoint 127.0.0.3
mtu 1500 up'
diald[2964]: SIGCHLD[1]: pid 2965 system, status 0
diald[2964]: Setting pointopoint route for sl0
diald[2964]: running '/sbin/route add 127.0.0.3 metric 1 dev sl0'
diald[2964]: SIGCHLD[2]: pid 2969 system, status 0
diald[2964]: Establishing routes for sl0
diald[2964]: running '/sbin/route add default metric 1 dev sl0'
diald[2964]: SIGCHLD[3]: pid 2970 system, status 0
diald[2964]: Changed snoop device to sl0
diald[2964]: Diald initial setup completed.
diald[2964]: --- tick --- state 0 block 0 state_timeout -1
diald[2964]: --- tick --- state 0 block 0 state_timeout -1
diald[2964]: filter accepted rule 22 proto 17 len 72 packet
127.0.0.2,1138 => 207.217.77.82,53
diald[2964]: Adding connection 134601376 @ 923293866 - timeout 30
diald[2964]: new state CONNECT action 134539000 timeout 60
diald[2964]: Running connect (pid = 2972).
diald[2964]: --- tick --- state 1 block 0 state_timeout 59
diald[2964]: --- tick --- state 1 block 0 state_timeout 56
diald[2964]: filter accepted rule 22 proto 17 len 72 packet
127.0.0.2,1138 => 207.217.77.82,53
diald[2964]: Adding connection 134601376 @ 923293871 - timeout 30
diald[2964]: --- tick --- state 1 block 0 state_timeout 55
diald[2964]: --- tick --- state 1 block 0 state_timeout 46
diald[2964]: filter accepted rule 22 proto 17 len 72 packet
127.0.0.2,1138 => 207.217.77.82,53
diald[2964]: Adding connection 134601376 @ 923293881 - timeout 30
diald[2964]: --- tick --- state 1 block 0 state_timeout 45
diald[2964]: --- tick --- state 1 block 0 state_timeout 26
diald[2964]: SIGCHLD[4]: pid 2972 dial, status 0
diald[2964]: new state START_LINK action 134539660 timeout 60
diald[2964]: Running pppd (pid = 3039).
diald[2964]: SIGCHLD[5]: pid 3039 link, status 256
diald[2964]: running '/sbin/ifconfig sl0 127.0.0.2 pointopoint 127.0.0.3
mtu 1500 up'
diald[2964]: SIGCHLD[6]: pid 3040 system, status 0
diald[2964]: Setting pointopoint route for sl0
diald[2964]: running '/sbin/route add 127.0.0.3 metric 1 dev sl0'
diald[2964]: SIGCHLD[7]: pid 3045 system, status 0
diald[2964]: Establishing routes for sl0
diald[2964]: running '/sbin/route add default metric 1 dev sl0'
diald[2964]: SIGCHLD[8]: pid 3047 system, status 0
diald[2964]: running '/sbin/ifconfig sl0 127.0.0.2 pointopoint 127.0.0.3
mtu 1500 up'
diald[2964]: SIGCHLD[9]: pid 3048 system, status 0
diald[2964]: Setting pointopoint route for sl0
diald[2964]: running '/sbin/route add 127.0.0.3 metric 1 dev sl0'
diald[2964]: SIGCHLD[10]: pid 3052 system, status 0
diald[2964]: Establishing routes for sl0
diald[2964]: running '/sbin/route add default metric 1 dev sl0'
diald[2964]: SIGCHLD[11]: pid 3053 system, status 0
diald[2964]: new state DISCONNECT action 134540724 timeout 60
diald[2964]: filter accepted rule 22 proto 17 len 72 packet
127.0.0.2,1138 => 207.217.77.82,53
diald[2964]: Adding connection 134601376 @ 923293901 - timeout 30
diald[2964]: new state CLOSE action 134540860 timeout -1
diald[2964]: Closing modem line.
diald[2964]: Delaying 30 seconds before clear to dial.
from /var/adm/messages
Apr 4 23:30:54 pinky diald[2964]: Starting diald version 0.16
Apr 4 23:30:54 pinky diald[2964]: Proxy device established on interface
sl0
Apr 4 23:30:54 pinky diald[2964]: Setting pointopoint route for sl0
Apr 4 23:30:54 pinky diald[2964]: Establishing routes for sl0
Apr 4 23:30:54 pinky diald[2964]: Changed snoop device to sl0
Apr 4 23:30:54 pinky diald[2964]: Diald initial setup completed.
Apr 4 23:31:06 pinky diald[2964]: filter accepted rule 22 proto 17 len
72 packet 127.0.0.2,1138 => 207.217.77.82,53
Apr 4 23:31:06 pinky diald[2964]: Adding connection 134601376 @
923293866 - timeout 30
Apr 4 23:31:07 pinky diald[2964]: Running connect (pid = 2972).
Apr 4 23:31:07 pinky chat[2972]: abort on (\nBUSY\r)
Apr 4 23:31:07 pinky chat[2972]: abort on (\nNO ANSWER\r)
Apr 4 23:31:07 pinky chat[2972]: abort on (\nNO CARRIER\r)
Apr 4 23:31:07 pinky chat[2972]: send (rATZ^M)
Apr 4 23:31:07 pinky chat[2972]: expect (OK)
Apr 4 23:31:07 pinky chat[2972]: rATZ^M^M
Apr 4 23:31:07 pinky chat[2972]: OK -- got it
Apr 4 23:31:07 pinky chat[2972]: send (ATH0^M)
Apr 4 23:31:07 pinky chat[2972]: expect (OK)
Apr 4 23:31:07 pinky chat[2972]: ^M
Apr 4 23:31:07 pinky chat[2972]: ATH0^M^M
Apr 4 23:31:07 pinky chat[2972]: OK -- got it
Apr 4 23:31:07 pinky chat[2972]: send (ATDT6260996^M)
Apr 4 23:31:08 pinky chat[2972]: expect (CONNECT)
Apr 4 23:31:08 pinky chat[2972]: ^M
Apr 4 23:31:11 pinky diald[2964]: filter accepted rule 22 proto 17 len
72 packet 127.0.0.2,1138 => 207.217.77.82,53
Apr 4 23:31:11 pinky diald[2964]: Adding connection 134601376 @
923293871 - timeout 30
Apr 4 23:31:21 pinky diald[2964]: filter accepted rule 22 proto 17 len
72 packet 127.0.0.2,1138 => 207.217.77.82,53
Apr 4 23:31:21 pinky diald[2964]: Adding connection 134601376 @
923293881 - timeout 30
Apr 4 23:31:35 pinky chat[2972]: ATDT6260996^M^M
Apr 4 23:31:35 pinky chat[2972]: CONNECT -- got it
Apr 4 23:31:35 pinky chat[2972]: send (^M)
Apr 4 23:31:35 pinky chat[2972]: expect (ogin:)
Apr 4 23:31:35 pinky chat[2972]: 115200^M
Apr 4 23:31:40 pinky chat[2972]: ^M
Apr 4 23:31:40 pinky chat[2972]:
Apr 4 23:31:40 pinky last message repeated 23 times
Apr 4 23:31:40 pinky chat[2972]: UQKT2 tnt2.beaverton.or.da.uu.net^M
Apr 4 23:31:40 pinky chat[2972]: ^M
Apr 4 23:31:40 pinky chat[2972]: ^M
Apr 4 23:31:40 pinky chat[2972]: Login: -- got it
Apr 4 23:31:40 pinky chat[2972]: send (xxxxxxxx^M)
Apr 4 23:31:40 pinky chat[2972]: expect (assword:)
Apr 4 23:31:40 pinky chat[2972]: xxxxxx^M
Apr 4 23:31:40 pinky chat[2972]: Password: -- got it
Apr 4 23:31:40 pinky chat[2972]: send (yyyyyy^M)
Apr 4 23:31:41 pinky diald[2964]: Running pppd (pid = 3039).
Apr 4 23:31:41 pinky diald[2964]: Running pppd (pid = 3039).
Apr 4 23:31:41 pinky pppd[3039]: pppd 2.2.0 started by root, uid 0
Apr 4 23:31:41 pinky pppd[3039]: Exit.
Apr 4 23:31:41 pinky diald[2964]: Setting pointopoint route for sl0
Apr 4 23:31:41 pinky diald[2964]: Establishing routes for sl0
Apr 4 23:31:41 pinky diald[2964]: Setting pointopoint route for sl0
Apr 4 23:31:41 pinky diald[2964]: Establishing routes for sl0
Apr 4 23:31:41 pinky diald[2964]: filter accepted rule 22 proto 17 len
72 packet 127.0.0.2,1138 => 207.217.77.82,53
Apr 4 23:31:41 pinky diald[2964]: Adding connection 134601376 @
923293901 - timeout 30
Apr 4 23:31:41 pinky diald[2964]: Closing modem line.
Apr 4 23:31:42 pinky diald[2964]: Delaying 30 seconds before clear to
dial.
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]