Here is what kdebug had to say
----begin
Jul 6 08:11:25 gateway ifup-ppp: pppd started for ppp0 on /dev/ttyS0 at
115200
Jul 6 08:11:25 gateway pppd[660]: pppd 2.3.7 started by root, uid 0
Jul 6 08:11:26 gateway chat[663]: abort on (BUSY)
Jul 6 08:11:26 gateway chat[663]: abort on (ERROR)
Jul 6 08:11:26 gateway chat[663]: abort on (NO CARRIER)
Jul 6 08:11:26 gateway chat[663]: abort on (NO DIALTONE)
Jul 6 08:11:26 gateway chat[663]: abort on (Invalid Login)
Jul 6 08:11:26 gateway chat[663]: abort on (Login incorrect)
Jul 6 08:11:26 gateway chat[663]: send (ATZ^^M)
Jul 6 08:11:26 gateway chat[663]: expect (OK)
Jul 6 08:11:26 gateway chat[663]: ATZ^^M^^M
Jul 6 08:11:26 gateway chat[663]: OK
Jul 6 08:11:26 gateway chat[663]: -- got it
Jul 6 08:11:26 gateway chat[663]: send (ATB3^^M)
Jul 6 08:11:26 gateway chat[663]: expect (OK)
Jul 6 08:11:26 gateway chat[663]: ^^M
Jul 6 08:11:26 gateway chat[663]: ATB3^^M^^M
Jul 6 08:11:26 gateway chat[663]: OK
Jul 6 08:11:26 gateway chat[663]: -- got it
Jul 6 08:11:26 gateway chat[663]: send (ATDT0,0671700^^M)
Jul 6 08:11:26 gateway chat[663]: expect (CONNECT)
Jul 6 08:11:26 gateway chat[663]: ^^M
Jul 6 08:11:29 gateway chat[663]: ATDT0,0671700^^M^^M
Jul 6 08:11:29 gateway chat[663]: CONNECT
Jul 6 08:11:29 gateway chat[663]: -- got it
Jul 6 08:11:29 gateway chat[663]: send (^^M)
Jul 6 08:11:29 gateway pppd[660]: Serial connection established.
Jul 6 08:11:29 gateway chat[663]: timeout set to 5 seconds
Jul 6 08:11:29 gateway kernel: ppp_ioctl: set dbg flags to 30000
Jul 6 08:11:29 gateway kernel: ppp_ioctl: set flags to 30000
Jul 6 08:11:29 gateway pppd[660]: Using interface ppp0
Jul 6 08:11:29 gateway pppd[660]: Connect: ppp0 <--> /dev/ttyS0
Jul 6 08:11:29 gateway kernel: ppp_tty_ioctl: set xasyncmap
Jul 6 08:11:29 gateway kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Jul 6 08:11:29 gateway kernel: ppp_ioctl: set flags to 30000
Jul 6 08:11:29 gateway kernel: ppp_ioctl: set mru to 5dc
Jul 6 08:11:29 gateway kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Jul 6 08:11:29 gateway kernel: ppp_ioctl: set flags to 30000
Jul 6 08:11:31 gateway kernel: ppp: channel ppp0 closing.
----end
I don't know where the ^^M come from, here's my chat script
---begin
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATB3'
'OK' 'ATDT0,0671700'
'CONNECT' ''
'TIMEOUT' '5'
---end
and my options
----begin
lock
modem
defaultroute
crtscts
user np95tc
noipdefault
ttyS0 115200
kdebug 3
----end
I forgot to tell you, but, in case it's important, I am using RH 6.0 out of
the box. I've just installed it.
Next, I will upgrade the necessary rpms and move on to linux 2.2.12, but I
think this should already be working.
Thanks,
Nuno
[EMAIL PROTECTED] on 23-09-99 03:19:52
To: Nuno F Ferreira/APCMC
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: PCbit-TA
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 email "unsubscribe linux-admin" to
[EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]