Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPP difficulties with RedHat 5.2



Well, since other folks have come along asking for ppp setup help, I
thought I would give it a go at home and see if I could set up a
connection, so I could advise them. He he... it's not so easy!

Jeez, in 4.0 I put in my phone number, username and password and it all
worked just fine!  Now, I really have to debug.  I have used ISDN for a
few years and have lost the touch.  I'm ethernet-spoiled.

So, here's the manual scenario:  (Yes, it works under win95.)

Step 1 I dial the number with minicom
Step 2 I see the following crap:

Use of this system is restricted to authorized users^M
only.  All activities on this system are subject to^M
monitoring and recording by system personnel.^M
Further use of this system by authorized users^M
demonstrates consent of the details in the Remote^M
Access Security Policy, available on I/T's internal^M
web site.^M

Login: (I type it in OK)
Password: (I type it in OK)

/* then I see this prompt*/

ascend% (I type in ppp^M)

The jibberish begins (indicating to me all is well and it's time to exit
minicom w/o resetting and type the pppd command line stuff I've forgotten
all the arguments to)

I have not tried the command line (because I've forgotten all the
arguments), but I think it will work.  Yet the two versions of the
automatic script redhat runs fail with the following dumps.

Does anyone have any idea what I'm doing/not doing that will help?  I've
never seen:

Unsupported protocol (0xc029) received or

Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0


Chuck Young
GTE Internetworking

Mar 28 22:18:20 MYHOST automount[309]: using kernel protocol version 3
Mar 28 22:19:29 MYHOST ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Mar 28 22:19:30 MYHOST kernel: CSLIP: code copyright 1989 Regents of the University of California
Mar 28 22:19:30 MYHOST kernel: PPP: version 2.2.0 (dynamic channel allocation)
Mar 28 22:19:30 MYHOST kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
Mar 28 22:19:30 MYHOST kernel: PPP line discipline registered.
Mar 28 22:19:30 MYHOST kernel: registered device ppp0
Mar 28 22:19:30 MYHOST pppd[535]: pppd 2.3.5 started by root, uid 0
Mar 28 22:19:31 MYHOST chat[540]: abort on (BUSY)
Mar 28 22:19:31 MYHOST chat[540]: abort on (ERROR)
Mar 28 22:19:31 MYHOST chat[540]: abort on (NO CARRIER)
Mar 28 22:19:31 MYHOST chat[540]: abort on (NO DIALTONE)
Mar 28 22:19:31 MYHOST chat[540]: abort on (Invalid Login)
Mar 28 22:19:31 MYHOST chat[540]: abort on (Login incorrect)
Mar 28 22:19:31 MYHOST chat[540]: send (ATZ^M)
Mar 28 22:19:32 MYHOST chat[540]: expect (OK)
Mar 28 22:19:33 MYHOST chat[540]: ATZ^M^M
Mar 28 22:19:33 MYHOST chat[540]: OK
Mar 28 22:19:33 MYHOST chat[540]:  -- got it 
Mar 28 22:19:33 MYHOST chat[540]: send (ATDTNUMBER^M)
Mar 28 22:19:33 MYHOST chat[540]: expect (CONNECT)
Mar 28 22:19:33 MYHOST chat[540]: ^M
Mar 28 22:19:56 MYHOST chat[540]: ATDTNUMBER^M^M
Mar 28 22:19:56 MYHOST chat[540]: CONNECT
Mar 28 22:19:56 MYHOST chat[540]:  -- got it 
Mar 28 22:19:56 MYHOST chat[540]: send (^M)
Mar 28 22:19:56 MYHOST chat[540]: expect (ogin:)
Mar 28 22:19:56 MYHOST chat[540]:  115200^M
Mar 28 22:20:01 MYHOST chat[540]: ^M
Mar 28 22:20:01 MYHOST chat[540]: 
Mar 28 22:20:01 MYHOST last message repeated 23 times
Mar 28 22:20:01 MYHOST chat[540]:  Use of this system is restricted to authorized users^M
Mar 28 22:20:01 MYHOST chat[540]:  only.  All activities on this system are subject to^M
Mar 28 22:20:01 MYHOST chat[540]:  monitoring and recording by system personnel.^M
Mar 28 22:20:01 MYHOST chat[540]:  Further use of this system by authorized users^M
Mar 28 22:20:01 MYHOST chat[540]:  demonstrates consent of the details in the Remote^M
Mar 28 22:20:01 MYHOST chat[540]:  Access Security Policy, available on I/T's internal^M
Mar 28 22:20:01 MYHOST chat[540]:  web site.^M
Mar 28 22:20:01 MYHOST chat[540]: ^M
Mar 28 22:20:01 MYHOST chat[540]: ^M
Mar 28 22:20:01 MYHOST chat[540]: Login:
Mar 28 22:20:01 MYHOST chat[540]:  -- got it 
Mar 28 22:20:01 MYHOST chat[540]: send (cyoung^M)
Mar 28 22:20:01 MYHOST chat[540]: expect (ord:)
Mar 28 22:20:01 MYHOST chat[540]:  cyoung^M
Mar 28 22:20:01 MYHOST chat[540]: Password:
Mar 28 22:20:01 MYHOST chat[540]:  -- got it 
Mar 28 22:20:01 MYHOST chat[540]: send (*********^M)
Mar 28 22:20:01 MYHOST chat[540]: expect (scend%)
Mar 28 22:20:02 MYHOST chat[540]:  ^M
Mar 28 22:20:02 MYHOST chat[540]: ascend%
Mar 28 22:20:02 MYHOST chat[540]:  -- got it 
Mar 28 22:20:02 MYHOST chat[540]: send (ppp^M)
Mar 28 22:20:02 MYHOST pppd[535]: Serial connection established.
Mar 28 22:20:03 MYHOST pppd[535]: Using interface ppp0
Mar 28 22:20:03 MYHOST pppd[535]: Connect: ppp0 <--> /dev/modem
Mar 28 22:20:03 MYHOST pppd[535]: not replacing existing default route to eth0 [128.33.209.169]
Mar 28 22:20:03 MYHOST pppd[535]: local  IP address 128.33.209.170
Mar 28 22:20:03 MYHOST pppd[535]: remote IP address 128.33.224.15
Mar 28 22:20:03 MYHOST pppd[535]: IPCP terminated by peer
Mar 28 22:20:03 MYHOST pppd[535]: Unsupported protocol (0xc029) received
Mar 28 22:20:04 MYHOST pppd[535]: LCP terminated by peer
Mar 28 22:20:07 MYHOST pppd[535]: Connection terminated.
Mar 28 22:20:08 MYHOST pppd[535]: Exit.
============================================================================================================
Mar 28 22:21:16 MYHOST pppd[607]: pppd 2.3.5 started by root, uid 0
Mar 28 22:21:16 MYHOST ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Mar 28 22:21:17 MYHOST chat[609]: abort on (BUSY)
Mar 28 22:21:17 MYHOST chat[609]: abort on (ERROR)
Mar 28 22:21:17 MYHOST chat[609]: abort on (NO CARRIER)
Mar 28 22:21:17 MYHOST chat[609]: abort on (NO DIALTONE)
Mar 28 22:21:17 MYHOST chat[609]: abort on (Invalid Login)
Mar 28 22:21:17 MYHOST chat[609]: abort on (Login incorrect)
Mar 28 22:21:17 MYHOST chat[609]: send (ATZ^M)
Mar 28 22:21:17 MYHOST chat[609]: expect (OK)
Mar 28 22:21:18 MYHOST chat[609]: ATZ^M^M
Mar 28 22:21:18 MYHOST chat[609]: OK
Mar 28 22:21:18 MYHOST chat[609]:  -- got it 
Mar 28 22:21:18 MYHOST chat[609]: send (ATDTNUMBER^M)
Mar 28 22:21:18 MYHOST chat[609]: expect (CONNECT)
Mar 28 22:21:18 MYHOST chat[609]: ^M
Mar 28 22:21:30 MYHOST kernel: PPP: ppp line discipline successfully unregistered
Mar 28 22:21:41 MYHOST chat[609]: ATDTNUMBER^M^M
Mar 28 22:21:41 MYHOST chat[609]: CONNECT
Mar 28 22:21:41 MYHOST chat[609]:  -- got it 
Mar 28 22:21:41 MYHOST chat[609]: send (^M)
Mar 28 22:21:41 MYHOST chat[609]: expect (ogin:)
Mar 28 22:21:41 MYHOST chat[609]:  115200^M
Mar 28 22:21:46 MYHOST chat[609]: ^M
Mar 28 22:21:46 MYHOST chat[609]: 
Mar 28 22:21:46 MYHOST last message repeated 23 times
Mar 28 22:21:46 MYHOST chat[609]:  Use of this system is restricted to authorized users^M
Mar 28 22:21:46 MYHOST chat[609]:  only.  All activities on this system are subject to^M
Mar 28 22:21:46 MYHOST chat[609]:  monitoring and recording by system personnel.^M
Mar 28 22:21:47 MYHOST chat[609]:  Further use of this system by authorized users^M
Mar 28 22:21:47 MYHOST chat[609]:  demonstrates consent of the details in the Remote^M
Mar 28 22:21:47 MYHOST chat[609]:  Access Security Policy, available on I/T's internal^M
Mar 28 22:21:47 MYHOST chat[609]:  web site.^M
Mar 28 22:21:47 MYHOST chat[609]: ^M
Mar 28 22:21:47 MYHOST chat[609]: ^M
Mar 28 22:21:47 MYHOST chat[609]: Login:
Mar 28 22:21:47 MYHOST chat[609]:  -- got it 
Mar 28 22:21:47 MYHOST chat[609]: send (cyoung^M)
Mar 28 22:21:47 MYHOST chat[609]: expect (ord:)
Mar 28 22:21:47 MYHOST chat[609]:  cyoung^M
Mar 28 22:21:47 MYHOST chat[609]: Password:
Mar 28 22:21:47 MYHOST chat[609]:  -- got it 
Mar 28 22:21:47 MYHOST chat[609]: send (*********^M)
Mar 28 22:21:47 MYHOST chat[609]: expect (scend%)
Mar 28 22:21:47 MYHOST chat[609]:  ^M
Mar 28 22:21:47 MYHOST chat[609]: ascend%
Mar 28 22:21:47 MYHOST chat[609]:  -- got it 
Mar 28 22:21:47 MYHOST chat[609]: send (^M)
Mar 28 22:21:47 MYHOST pppd[607]: Serial connection established.
Mar 28 22:21:49 MYHOST kernel: PPP: version 2.2.0 (dynamic channel allocation)
Mar 28 22:21:49 MYHOST kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
Mar 28 22:21:49 MYHOST kernel: PPP line discipline registered.
Mar 28 22:21:49 MYHOST kernel: registered device ppp0
Mar 28 22:21:49 MYHOST pppd[607]: Using interface ppp0
Mar 28 22:21:49 MYHOST pppd[607]: Connect: ppp0 <--> /dev/modem
Mar 28 22:22:19 MYHOST pppd[607]: LCP: timeout sending Config-Requests
Mar 28 22:22:19 MYHOST pppd[607]: Connection terminated.
Mar 28 22:22:19 MYHOST pppd[607]: Receive serial link is not 8-bit clean:
Mar 28 22:22:19 MYHOST pppd[607]: Problem: all had bit 7 set to 0
Mar 28 22:22:20 MYHOST pppd[607]: Exit.
Mar 28 22:22:34 MYHOST ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
============================================================================================================
/* Apparently the ath never made it to the modem and ppp was still
spilling out at this point  :-) /*

Mar 28 22:22:34 MYHOST pppd[640]: pppd 2.3.5 started by root, uid 0
Mar 28 22:22:35 MYHOST chat[642]: abort on (BUSY)
Mar 28 22:22:35 MYHOST chat[642]: abort on (ERROR)
Mar 28 22:22:35 MYHOST chat[642]: abort on (NO CARRIER)
Mar 28 22:22:35 MYHOST chat[642]: abort on (NO DIALTONE)
Mar 28 22:22:35 MYHOST chat[642]: abort on (Invalid Login)
Mar 28 22:22:35 MYHOST chat[642]: abort on (Login incorrect)
Mar 28 22:22:35 MYHOST chat[642]: send (ATZ^M)
Mar 28 22:22:35 MYHOST chat[642]: expect (OK)
Mar 28 22:22:36 MYHOST chat[642]: ^G^G^G^M
Mar 28 22:22:36 MYHOST chat[642]: Invalid TCP port number specified.^M
Mar 28 22:22:36 MYHOST chat[642]: ^M
Mar 28 22:22:36 MYHOST chat[642]:  Can't open session: '~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!
Mar 28 22:22:36 MYHOST chat[642]: }!} }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!}!
Mar 28 22:22:36 MYHOST chat[642]: } }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}"}(}"~~}#!}!}!} 
Mar 28 22:22:36 MYHOST chat[642]: }.}%}&4}'}"}(}"~~}#!}!}!} }.}%}&4}'}'^M
Mar 28 22:22:36 MYHOST chat[642]: ^M
Mar 28 22:23:20 MYHOST chat[642]: alarm
Mar 28 22:23:20 MYHOST chat[642]: Failed
Mar 28 22:23:20 MYHOST pppd[640]: Connect script failed
Mar 28 22:23:21 MYHOST pppd[640]: Exit.

What is the command line to start pppd with dynamic allocation?

/usr/sbin/pppd serial stuff /dev/modem defaultroute 0000 0000 something
dns related & ?  Suppose I really want to override my eth0 defaultroute -f
?

Ideas?

TIA

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org