PPP 2.1.2 sunos problem - Serial link not 8 bit clean!!

PPP 2.1.2 sunos problem - Serial link not 8 bit clean!!

Post by mjweav » Fri, 29 Sep 1995 04:00:00



here is my chat script.

/usr/local/etc/pppd -d connect '/usr/local/etc/chat -v "" ATDT13015961626 CONNECT "" sername: name ssword: stuff 8 : 4' netmask 255.255.255.0 /dev/cua0 38400 168.143.3.73:168.143.3.73 defaultroute debug

here are my ppp-logs,
can you help....

thanks a lot!!

sanjay

or
mike

Sep 28 20:15:04 seuss pppd[221]: pppd 2.1.2 started by root, uid 0
Sep 28 20:15:08 seuss chat[224]: send (ATDT5961626^M)
Sep 28 20:15:08 seuss chat[224]: expect (CONNECT)
Sep 28 20:15:28 seuss chat[224]: ATDT5961626^M^M
Sep 28 20:15:28 seuss chat[224]: CARRIER 26400^M
Sep 28 20:15:28 seuss chat[224]: ^M
Sep 28 20:15:28 seuss chat[224]: PROTOCOL: LAP-M^M
Sep 28 20:15:28 seuss chat[224]: ^M
Sep 28 20:15:28 seuss chat[224]: CONNECT -- got it
Sep 28 20:15:28 seuss chat[224]: send (^M)
Sep 28 20:15:28 seuss chat[224]: expect (sername:)
Sep 28 20:15:28 seuss chat[224]:  38400^M
Sep 28 20:15:29 seuss chat[224]: ^M
Sep 28 20:15:29 seuss chat[224]: ^M
Sep 28 20:15:29 seuss chat[224]: Annex Command Line Interpreter   *   Copyright 1991 Xylogics, Inc.^M
Sep 28 20:15:29 seuss chat[224]: ^M
Sep 28 20:15:29 seuss chat[224]: Checking authorization, Please wait...^M
Sep 28 20:15:29 seuss chat[224]: Connecting to port 36 on annex6.clark.net.^M
Sep 28 20:15:29 seuss chat[224]: ^M
Sep 28 20:15:29 seuss chat[224]:    Welcome to ClarkNet!^M
Sep 28 20:15:29 seuss chat[224]: ^M
Sep 28 20:15:30 seuss chat[224]: Log in as "guest" for ClarkNet info and registration.^M
Sep 28 20:15:30 seuss chat[224]: ^M
Sep 28 20:15:30 seuss chat[224]: ClarkNet Username: -- got it
Sep 28 20:15:30 seuss chat[224]: send (comsort^M)
Sep 28 20:15:30 seuss chat[224]: expect (ssword:)
Sep 28 20:15:30 seuss chat[224]:  mylogin^M
Sep 28 20:15:30 seuss chat[224]: ClarkNet Password: -- got it
Sep 28 20:15:30 seuss chat[224]: send (mypassword^M)
Sep 28 20:15:30 seuss chat[224]: expect (8)
Sep 28 20:15:30 seuss chat[224]:  ^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]: Permission granted^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]:                 ClarkNet's Menu^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]:        1)  Enter clarknet host            (UUCP users only)^M
Sep 28 20:15:32 seuss chat[224]:        2)  Enter explorer host            (All users and guest)^M
Sep 28 20:15:32 seuss chat[224]:        3)  SLIP                           (SLIP users only)^M
Sep 28 20:15:32 seuss chat[224]:        4)  PPP                            (PPP users only)^M
Sep 28 20:15:32 seuss chat[224]:        5)  Hosts?                         (All users)^M
Sep 28 20:15:32 seuss chat[224]:        6)  Who?                           (All users)^M
Sep 28 20:15:32 seuss chat[224]:        7)  Telnet                         (IP users only)^M
Sep 28 20:15:32 seuss chat[224]:        8 -- got it
Sep 28 20:15:32 seuss chat[224]: send (:^M)
Sep 28 20:15:32 seuss chat[224]: expect (4)
Sep 28 20:15:32 seuss chat[224]: )  Exit                           (All users)^M
Sep 28 20:15:32 seuss chat[224]: ^M
Sep 28 20:15:32 seuss chat[224]: Enter Number (1-8): :^M
Sep 28 20:15:32 seuss chat[224]: CLI: Command not found.^M
Sep 28 20:15:33 seuss chat[224]: ^M
Sep 28 20:15:33 seuss chat[224]: ^M
Sep 28 20:15:33 seuss chat[224]:                 ClarkNet's Menu^M
Sep 28 20:15:33 seuss chat[224]: ^M
Sep 28 20:15:33 seuss chat[224]: ^M
Sep 28 20:15:33 seuss chat[224]:        1)  Enter clarknet host            (UUCP users only)^M
Sep 28 20:15:33 seuss chat[224]:        2)  Enter explorer host            (All users and guest)^M
Sep 28 20:15:33 seuss chat[224]:        3)  SLIP                           (SLIP users only)^M
Sep 28 20:15:33 seuss chat[224]:        4 -- got it
Sep 28 20:15:33 seuss pppd[222]: Connected...
Sep 28 20:15:34 seuss pppd[222]: Using interface ppp0
Sep 28 20:15:34 seuss pppd[222]: Connect: ppp0 <--> /dev/cua0
Sep 28 20:15:35 seuss pppd[222]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x65269d46> <pcomp> <accomp>]
Sep 28 20:16:02 seuss last message repeated 9 times
Sep 28 20:16:05 seuss pppd[222]: LCP: timeout sending Config-Requests
Sep 28 20:16:05 seuss pppd[222]: Connection terminated.
Sep 28 20:16:05 seuss pppd[222]: Serial link is not 8-bit clean:
Sep 28 20:16:05 seuss pppd[222]: All received characters had bit 7 set to 0
Sep 28 20:16:05 seuss pppd[222]: Hangup (SIGHUP)
Sep 28 20:16:05 seuss pppd[222]: tcsetattr: Bad file number
Sep 28 20:16:05 seuss pppd[222]: Exit.
Sep 28 20:29:55 seuss pppd[272]: pppd 2.1.2 started by root, uid 0

using a
Different Provider... we get the same result, but
no real error message

Sep 28 20:29:58 seuss chat[275]: send (ATDT6526100^M)
Sep 28 20:29:58 seuss chat[275]: expect (CONNECT)
Sep 28 20:30:14 seuss chat[275]: ATDT6526100^M^M
Sep 28 20:30:14 seuss chat[275]: CARRIER 28800^M
Sep 28 20:30:15 seuss chat[275]: ^M
Sep 28 20:30:15 seuss chat[275]: PROTOCOL: LAP-M^M
Sep 28 20:30:15 seuss chat[275]: ^M
Sep 28 20:30:15 seuss chat[275]: CONNECT -- got it
Sep 28 20:30:15 seuss chat[275]: send (^M)
Sep 28 20:30:15 seuss chat[275]: expect (ogin:)
Sep 28 20:30:15 seuss chat[275]:  38400^M
Sep 28 20:30:17 seuss chat[275]: Welcome to Internet Interstate -- Life in the Fast Lane^M
Sep 28 20:30:17 seuss chat[275]: ^M
Sep 28 20:30:17 seuss chat[275]: ^M
Sep 28 20:30:17 seuss chat[275]: login: -- got it
Sep 28 20:30:17 seuss chat[275]: send (Pmylogin^M)
Sep 28 20:30:18 seuss chat[275]: expect (ssword:)
Sep 28 20:30:18 seuss chat[275]: Pmylogin^M
Sep 28 20:30:18 seuss chat[275]: Password: -- got it
Sep 28 20:30:18 seuss pppd[273]: Connected...
Sep 28 20:30:19 seuss pppd[273]: Using interface ppp0
Sep 28 20:30:19 seuss pppd[273]: Connect: ppp0 <--> /dev/cua0
Sep 28 20:30:19 seuss pppd[273]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x65202260> <pcomp> <accomp>]
Sep 28 20:30:22 seuss pppd[273]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x65202260> <pcomp> <accomp>]
Sep 28 20:30:22 seuss pppd[273]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x358d1c20> <pcomp> <accomp> <auth upap>]
Sep 28 20:30:22 seuss pppd[273]: sent [LCP ConfRej id=0x1 <auth upap>]
Sep 28 20:30:22 seuss pppd[273]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap 05> <magic 0x358d1c20> <pcomp> <accomp>]
Sep 28 20:30:22 seuss pppd[273]: sent [LCP ConfRej id=0x2 <auth chap 05>]
Sep 28 20:30:22 seuss pppd[273]: rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x358d1c20> <pcomp> <accomp>]
Sep 28 20:30:22 seuss pppd[273]: sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x358d1c20> <pcomp> <accomp>]
Sep 28 20:30:25 seuss pppd[273]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x65202260> <pcomp> <accomp>]
Sep 28 20:30:28 seuss pppd[273]: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0x65202260> <pcomp> <accomp>]
Sep 28 20:30:30 seuss pppd[273]: Hangup (SIGHUP)
Sep 28 20:30:30 seuss pppd[273]: tcsetattr: No such device or address
Sep 28 20:30:30 seuss pppd[273]: Exit.

 
 
 

1. ppp connection(Serial link is not 8-bit clean)

Runing pppd to connect to my Internet Service Provider fails after
connection (ppp0<-->/dev/modem).

Examining the log file says:
- pppd is sending the LCP request over and over without changing the
ConfReq id(=0x1)
- there is also the message: "kernel: ppp: frame with bad fcs, excess=<any
value>"
- and: "Receive serial link is not 8-bit clean: Problem: all had bit 7 set
to 0".

Supplemental information:
- The peer (spectraweb.ch) is running ppp software (eight data bits, no
parity, one stop bit).
- My machine: PC, modem E-TECH E56K RVP, Kernel 2.0.36, pppd 2.3.5
- Hardware flow control is explicitly enabeld in the chat-script (AT&K3)
- pppd speed is set to 38400
- pppd options are: modem, kdebug25, crtscts, defaultroute, noipdefault,
noauth, asyncmap0, noipx, novj, novjccomp

What is going wrong? Thank you for information:

Res Degen

2. Apparent Caching problem

3. LCP problem (Receive serial link is not 8-bit clean:)

4. Today API and iPaq problem

5. Help: Serial Link not 8-bit clean!

6. pre-set text in message area of mail-to link

7. Serial link is not 8 bit clean

8. Paul Milne, Now I am starting to see why so many people make so many requests from you

9. Receive Serial Link is not 8-Bit Clean

10. Again: LCP error: Receive serial link is not 8 bit clean

11. ???Serial link not 8-bit clean:

12. Serial link is not 8-bit clean ??????

13. Help: Serial Link is not 8-bit clean