On Wed, 22 Sep 1999, Nuno F Ferreira wrote:
> Jul 5 08:56:25 gateway chat[940]: ATDT0,0671700^^M^^M
> Jul 5 08:56:25 gateway chat[940]: CONNECT
> Jul 5 08:56:25 gateway chat[940]: -- got it
Why does your script send these ^Ms? If I do this to my ISP it
drops dead.
> Jul 5 08:56:25 gateway chat[940]: send (^^M)
> Jul 5 08:56:25 gateway chat[940]: timeout set to 5 seconds
> Jul 5 08:56:25 gateway chat[940]: expect (~)
> Jul 5 08:56:25 gateway chat[940]: 64000^^M
> Jul 5 08:56:30 gateway chat[940]: alarm
> Jul 5 08:56:30 gateway chat[940]: send (^^M)
> Jul 5 08:56:30 gateway chat[940]: send (^^M)
> Jul 5 08:56:30 gateway pppd[938]: Serial connection established.
This isn't very good; your chat-script is alarming because it's expecting
a ~ - and then timing out and sending two ^Ms. You _should_ change this.
> Jul 5 08:56:30 gateway kernel: ppp_ioctl: set dbg flags to 190000
> Jul 5 08:56:30 gateway kernel: ppp_ioctl: set flags to 190000
> Jul 5 08:56:30 gateway pppd[938]: Using interface ppp0
> Jul 5 08:56:30 gateway pppd[938]: Connect: ppp0 <--> /dev/ttyS0
> Jul 5 08:56:30 gateway kernel: ppp_tty_ioctl: set xasyncmap
> Jul 5 08:56:30 gateway kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
> Jul 5 08:56:30 gateway kernel: ppp_ioctl: set flags to 190000
> Jul 5 08:56:30 gateway kernel: ppp_ioctl: set mru to 5dc
> Jul 5 08:56:30 gateway kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> Jul 5 08:56:30 gateway kernel: ppp_ioctl: set flags to 190000
> Jul 5 08:56:45 gateway pppd[938]: Terminating on signal 15.
> Jul 5 08:56:49 gateway pppd[938]: Terminating on signal 15.
> Jul 5 08:56:51 gateway kernel: ppp: channel ppp0 closing.
> Jul 5 08:56:51 gateway pppd[938]: Connection terminated.
> Jul 5 08:56:51 gateway pppd[938]: Connect time 0.4 minutes.
> Jul 5 08:56:51 gateway pppd[938]: Receive serial link is not 8-bit clean:
> Jul 5 08:56:51 gateway pppd[938]: Problem: all had bit 7 set to 0
> Jul 5 08:56:52 gateway pppd[938]: Exit.
> Jul 5 09:10:00 gateway kernel: PPP: ppp line discipline successfully
> unregistered
> --- end ---
You're receiving a SIGTERM, and it's probably from the kernel ppp client
itself. It's hung 15 seconds, and what I think is happening is your chat
script is confusing the server or the other side, which wanted to start
ppp but got the ^Ms. Eventually it gives up on you. What does kdebug 3
say?
k
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]