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

Re: pppd says A serial line is not 8 bit clean'!

The following Might be relevant.
With the same hardware connecting to the same host
different responses were returned with different PC operating systems
at the comparable line in their respective SCRIPT.dip.    The line is:
  wait CONNECT 20

Under MS WIN3.x
  CONNECT 14400 \ARQ             was returned

Under Linux, only
  14400                          was returned, thus ERRORing the SCRIPT

This was observed by running
     dip -v SCRIPT.dip     (verbose)
with   "sleep 3"  interspersed so I could track the fail point easily.
Then changing the Linux SCRIPT.dip to
  wait 14400  20
solved the failure.

Good Hunting
Marv S

Dear all,

I have trouble in making dial-up ppp connections in Linux and hope
that some of you may help.  I read the ppp readmes, Linux ppp-howto
net-2-howto and still have no idea what goes wrong.

PPP works in win95 with the same ppp server.  So the problem must be
Linux specific.  The ppp server has dynamic IP address assignment.  My

-8Mb 486DX2-66
-16450 UART
-Debian Linux 0.93R6
-Kernel 1.2.13 (source-1.2.13-5.deb)
-ppp 2.2 (ppp-2.2-1.deb)
-ppp compiled as a module
-E.Tech E1414MX modem (recognised as standard 14400bps modem in Win95)

-----  Boot up messages  (irrelevent lines omitted) ----------------------
Serial driver version 4.11 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16450
tty01 at 0x02f8 (irq = 3) is a 16450
Memory: 7012k/8192k available (568k kernel code, 384k reserved, 228k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.019
Swansea University Computer Society TCP/IP for NET3.019
IP Protocols: ICMP, UDP, TCP
Linux version 1.2.13 (root@scorpion) (gcc version 2.6.3) #3 Wed Feb 14 01:30:

GMT 1996
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
registered device ppp0

root@scorpion:~ # lsmod
Module:        #pages:  Used by:
lp                 2
dummy              1
ppp                5
slhc               2    [ppp]


root@scorpion:~ # cat /etc/hosts       scorpion        localhost
root@scorpion:~ # cat /etc/init.d/network
#! /bin/sh
# network: establish the network connection.
# $Id: network,v 1.1 1995/02/19 20:29:29 imurdock Exp $

# Configure the loopback device.
ifconfig lo
route add


root@scorpion:~ # cat /etc/ppp/options
connect /etc/ppp/ppp-connect
asyncmap 0


root@scorpion:~ # cat /etc/ppp/ppp-connect
#! /bin/sh
# WARNING!  Make sure this file is not world-readable!!!

# The number of your PPP server.

# The login of your PPP account.

# The password of your PPP account.

# The "connect" characters

/usr/sbin/chat -v "" ATZ OK ATDT$phone $CONNECT \\d\\d "sername :"
$login "ssword :" $password "rvice :" pppgate login: ppp


root@scorpion:~ # pppd debug
root@scorpion:~ #

--------------  Daemon.log  --------------------------------------------
 Feb 18 13:35:41 scorpion pppd[458]: pppd 2.2.0 started
by root, uid 0
Feb 18 13:36:12 scorpion pppd[458]: Serial connection established.
Feb 18 13:36:14 scorpion pppd[458]: Using interface ppp0
Feb 18 13:36:14 scorpion pppd[458]: Connect: ppp0 <--> /dev/ttyS1
Feb 18 13:36:14 scorpion pppd[458]: sent [LCP ConfReq id=0x1 <mru 1500>
<magic 0xc0da6c6a> <pcomp> <accomp>]
Feb 18 13:36:41 scorpion last message repeated 9 times
Feb 18 13:36:44 scorpion pppd[458]: LCP: timeout sending Config-Requests
Feb 18 13:36:44 scorpion pppd[458]: Connection terminated.
Feb 18 13:36:44 scorpion pppd[458]: Receive serial link is not 8-bit clean:
Feb 18 13:36:44 scorpion pppd[458]: Problem: nothing was received
Feb 18 13:36:44 scorpion pppd[458]: Exit.

The `Receive serial link is not 8-bit clean:' message is worrying.  In
win95, I configured the modem to be 8 bit no parity and 1 stop bit.
IT worked ok.  pppd should be responsible for converting the serial
line into 8 bit clean, isn't it?

Sorry for the long message as I want to give as much useful info as
possible.  Any help/pointer would be much appreciated.  E-mail


Reply to: