link is not 8-bit clean

link is not 8-bit clean

Post by Tobias Neuber » Fri, 21 May 1999 04:00:00



Hi,

Im using SuSE Linux 6.1. My provider needs a CHAP authentication. When
I try to establish a connection with my own scripts, I get the following
messages in /var/log/messages.

May 19 17:05:22 tobbz pppd[536]: Serial connection established.
May 19 17:05:23 tobbz pppd[536]: Using interface ppp0
May 19 17:05:23 tobbz pppd[536]: Connect: ppp0 <--> /dev/modem
May 19 17:05:23 tobbz pppd[536]: sent [LCP ConfReq id=0x1 <magic
0xa2a7f6d5> <pcomp> <accomp>]
May 19 17:05:50 tobbz last message repeated 9 times
May 19 17:05:53 tobbz pppd[536]: LCP: timeout sending Config-Requests
May 19 17:05:53 tobbz pppd[536]: Connection terminated.
May 19 17:05:53 tobbz pppd[536]: Receive serial link is not 8-bit clean:

May 19 17:05:53 tobbz pppd[536]: Problem: all had bit 7 set to 0
May 19 17:05:53 tobbz pppd[536]: Hangup (SIGHUP)
May 19 17:05:53 tobbz pppd[536]: Exit.

The same configuration for kppp results in the following messages:

May 19 16:42:33 tobbz pppd[256]: pppd 2.3.5 started by tobby, uid 1001
May 19 16:42:33 tobbz pppd[256]: Using interface ppp0
May 19 16:42:33 tobbz pppd[256]: Connect: ppp0 <--> /dev/modem
May 19 16:42:33 tobbz pppd[256]: sent [LCP ConfReq id=0x1 <magic
0x125ddfa0>]
May 19 16:43:03 tobbz pppd[256]: Terminating on signal 15.
May 19 16:43:03 tobbz pppd[256]: sent [LCP TermReq id=0x2 "User
request"]
May 19 16:43:06 tobbz pppd[256]: sent [LCP TermReq id=0x3 "User
request"]
May 19 16:43:09 tobbz pppd[256]: Connection terminated.
May 19 16:43:10 tobbz pppd[256]: Hangup (SIGHUP)
May 19 16:43:10 tobbz pppd[256]: Exit.

Could anybody tell me what that means and what I could do to avoid that
and to successfully establish a connection?

By the way - from time to time it works but I did not understand the
circumstances under which it works.

Thanks in advance, Tobias

 
 
 

link is not 8-bit clean

Post by James Carlso » Sat, 22 May 1999 04:00:00



> May 19 17:05:22 tobbz pppd[536]: Serial connection established.
> May 19 17:05:23 tobbz pppd[536]: Using interface ppp0
> May 19 17:05:23 tobbz pppd[536]: Connect: ppp0 <--> /dev/modem
> May 19 17:05:23 tobbz pppd[536]: sent [LCP ConfReq id=0x1 <magic
> 0xa2a7f6d5> <pcomp> <accomp>]
> May 19 17:05:50 tobbz last message repeated 9 times
> May 19 17:05:53 tobbz pppd[536]: LCP: timeout sending Config-Requests
> May 19 17:05:53 tobbz pppd[536]: Connection terminated.
> May 19 17:05:53 tobbz pppd[536]: Receive serial link is not 8-bit clean:

> May 19 17:05:53 tobbz pppd[536]: Problem: all had bit 7 set to 0
> May 19 17:05:53 tobbz pppd[536]: Hangup (SIGHUP)
> May 19 17:05:53 tobbz pppd[536]: Exit.

Your chat script has failed, and no debug was enabled, so it's hard to
tell why it failed.

The most common cause for this failure is the use of a chat script
that ends with:

        CONNECT ''

This causes a CR to be emitted by the chat process after the CONNECT
string arrives.  If this CR is transmitted to the peer (modems are a
little fuzzy on when the data path is actually connected; dropping
this character could account for the occasional success you have), the
peer, if it's a normal ISP, will usually assume that the caller is a
human user, and not PPP.

If this is your situation, then you want this instead:

        CONNECT '\d\c'

If it's not, then you want to enable chat debug with "-v" and take it
from there ...

--

IronBridge Networks / 55 Hayden Avenue   71.246W   Vox:  +1 781 372 8132
Lexington MA  02421-7996 / USA           42.423N   Fax:  +1 781 372 8090
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp

 
 
 

link is not 8-bit clean

Post by Frank Ha » Sat, 22 May 1999 04:00:00



>Im using SuSE Linux 6.1. My provider needs a CHAP authentication. When
>I try to establish a connection with my own scripts, I get the following
>messages in /var/log/messages.

[Log snipped]

Quote:>Could anybody tell me what that means and what I could do to avoid that
>and to successfully establish a connection?

>By the way - from time to time it works but I did not understand the
>circumstances under which it works.

The following is taken directly from the FAQ file included in the
pppd source archive:

------------------------------------------------------------------------

Q: When I try to establish a connection, I get an error message saying
"Serial link is not 8-bit clean".  Why?

A: The most common cause is that your connection script hasn't
successfully dialled out to the remote system and invoked ppp service
there.  Instead, pppd is talking to something (a shell or login
process on the remote machine, or maybe just the modem) which is only
outputting 7-bit characters.

This can also arise with a modem which uses an AT command set if the
dial command is issued before pppd is invoked, rather than within a
connect script started by pppd.  If the serial port is set to 7
bits/character plus parity when the last AT command is issued, the
modem serial port will be set to the same setting.

Note that pppd *always* sets the local serial port to 8 bits per
character, with no parity and 1 stop bit.  So you shouldn't need to
issue an stty command before invoking pppd.

------------------------------------------------------------------------

Most likely your script is not working correctly and you are not
really talking to your providers ppp demon.

Try searching http://www.deja.com for the above error for better
responses than mine.

--
Frank Hahn

"I shot an arrow into the air, and it stuck."
                -- Graffito in Los Angeles

 
 
 

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

Setup:
Redhat 6.1 with a Wavecom (GSM) modem.

If I use minicom to dial the remote ISP, everything works fine, a
connection is made, and the authentication works.

If I then use ppp with (ppp-on, ppp-on-dialer) scripts to dial the same
ISP, I get the following message in /var/log/messages

Serial connection established
Using interface ppp0
Connect: ppp0 <--> /dev/tty0
LCP: timeout sending
Connection Terminated
Recieve Serial Link is not 8-bit clean
Problem: all had bit 7 set to 0
Hangup (signup)
Exit

Can anybody help solve this issue, I've seen similar postings before,
but there is not a clear solution.

thanks

Dave

Sent via Deja.com http://www.deja.com/
Before you buy.

2. ZyXEL ROM images / other s

3. Receive Serial Link is not 8-Bit Clean

4. Moving SWAP and PAGE files off system disk

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

6. Xerox Document Centre 400 Series - User Opinions

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

8. Regex Question

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

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

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

12. Linux: not 8-bit clean?

13. Problem : 8-bit not clean.