I posted a previous message and have since tried to get PPP working with
my ISP's new "Realm Authentication" login procedure, which requires a
new login, and DNS settings.

I think I almost have it working. But the /var/log/messages file shows
the error "Receive serial link is not 8-bit clean: Problem
all had bit 7 set to 0"? I am trying to be as thorough as possible with my
config information by including excerpts from my message file, my ppp-on
script, ppp-on-dialer script, excerpts from my ppp-log file and my
resolv.conf file. I guess I need to set to 8 bits and I am not sure how to
alter my files to do so.

Any help much appreciated!

########## var/log/messages file:

Dec 11 00:13:01 localhost chat[12352]: timeout set to 3 seconds
Dec 11 00:13:01 localhost chat[12352]: abort on (\nBUSY\r) 
Dec 11 00:13:01 localhost chat[12352]: abort on (\nNO ANSWER\r) 
Dec 11 00:13:01 localhost chat[12352]: abort on (\nRINGING\r\n\r\nRINGING\r) 
Dec 11 00:13:01 localhost chat[12352]: send (rAT^M) 
Dec 11 00:13:01 localhost chat[12352]: expect (OK) 
Dec 11 00:13:02 localhost chat[12352]: nAT^M^M 
Dec 11 00:13:02 localhost chat[12352]: OK -- got it 
Dec 11 00:13:02 localhost chat[12352]: send (ATH0^M) 
Dec 11 00:13:02 localhost chat[12352]: timeout set to 30 seconds
Dec 11 00:13:02 localhost chat[12352]: expect (OK) 
Dec 11 00:13:02 localhost chat[12352]: ^M 
Dec 11 00:13:02 localhost chat[12352]: ATH0^M^M 
Dec 11 00:13:02 localhost chat[12352]: OK -- got it 
Dec 11 00:13:02 localhost chat[12352]: send (ATDT969-9801^M) 
Dec 11 00:13:02 localhost chat[12352]: expect (CONNECT) 
Dec 11 00:13:02 localhost chat[12352]: ^M 
Dec 11 00:13:25 localhost chat[12352]: ATDT969-9801^M^M 
Dec 11 00:13:25 localhost chat[12352]: CONNECT -- got it 
Dec 11 00:13:25 localhost chat[12352]: send (^M) 
Dec 11 00:13:25 localhost chat[12352]: expect (Username:) 
Dec 11 00:13:25 localhost chat[12352]:  38400^M 
Dec 11 00:13:26 localhost chat[12352]: ^M 
Dec 11 00:13:26 localhost chat[12352]: ^M 
Dec 11 00:13:26 localhost chat[12352]: Annex Command Line Interpreter   *   Copyright 
(C) 1988, 1999 Bay Networks^M 
Dec 11 00:13:26 localhost chat[12352]: Checking authorization, Please wait...^M 
Dec 11 00:13:26 localhost chat[12352]: Username: -- got it 
Dec 11 00:13:26 localhost chat[12352]: send ([EMAIL PROTECTED]^M) 
Dec 11 00:13:27 localhost chat[12352]: expect (assword:) 
Dec 11 00:13:27 localhost chat[12352]: [EMAIL PROTECTED]^M 
Dec 11 00:13:27 localhost chat[12352]: Password: -- got it 
Dec 11 00:13:27 localhost chat[12352]: send (xxxxxxx^M) 
Dec 11 00:13:27 localhost pppd[12345]: Serial connection established.
Dec 11 00:13:28 localhost pppd[12345]: Using interface ppp0
Dec 11 00:13:28 localhost pppd[12345]: Connect: ppp0 <--> /dev/ttyS0
Dec 11 00:13:58 localhost pppd[12345]: LCP: timeout sending Config-Requests
Dec 11 00:13:58 localhost pppd[12345]: Connection terminated.
Dec 11 00:13:58 localhost pppd[12345]: Receive serial link is not 8-bit clean:
Dec 11 00:13:58 localhost pppd[12345]: Problem: all had bit 7 set to 0
Dec 11 00:13:58 localhost pppd[12345]: Exit.


###### The ppp-on script is:

#!/bin/sh
# These are the parameters. Change as needed.
TELEPHONE=xxxxxxxx 
[EMAIL PROTECTED]
PASSWORD=xxxxxxx
LOCAL_IP=0.0.0.0        # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0       # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0   # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/scripts/charlotte/ppp-on-dialer
#
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT



#############The ppp-on-dialer script is as follows:

exec /usr/sbin/chat -v                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         ''                              \
        Username:--Username:    $ACCOUNT                        \
        assword:        $PASSWORD

####### PPP log file:

A ppp-log file I write to the /tmp directory reports when establishing
the PPP connection:

sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x20a0000> <magic 0x6d0f>
<pcomp> <accomp>]
last message repeated 9 times
LCP: timeout sending Config-Requests
Connection terminated

### my resolv.conf file

nameserver 209.156.20.53
nameserver 209.156.20.53



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to