---------- Forwarded message ----------
Date: Tue, 7 Apr 1998 15:43:45 -0600 (MDT)
From: Joel J Jensen <jjj@lucifer.adams.edu>
To: linux-admin@vger.rutgers.edu
Subject: PPP Dialup Problems
We've been trying to connect to a dial-up server (Netware Connect)
that uses PAP authentication. We've been unsuccessful for several days
now, have tried the suggestins on the lists pertaining to needing to
set MTU to 1500, have read and re-read what documentation we could
find all to no avail. Any ideas? (details follow).
Thanks in advance for any help.
----------------------------------------------------------------------
running: slackware 3.4 (2.0.30)
we have PPP kernel support, modem is an external USR Sportster 33.6.
can connect to server (text based) using kermit
server is Netware Connect ver 2.0, usernames are in the form of
username.student.asc (win95 users must connect with username.student.asc)
added name username.student.asc to /etc/ppp/options
pap-secrets file is
--------------------------------------------------------------------
#Secrets for authentication using PAP
#client server secret acceptable_local_IP_addresses
username.student.asc * passwd
-----------------------------------------------------------------------
when i try to make a connect, the modem sends about 6 times (about 2 seconds
apart). it receives once, then it rapidly goes back and forth from receiving
to sending for about 2 seconds. then it drops carrier.
the only things in /var/log/messages are:
Apr 7 14:21:26 forcas pppd[505]: pppd 2.2.0 started by root, uid 0
Apr 7 14:21:27 forcas chat[506]: timeout set to 3 seconds
Apr 7 14:21:27 forcas chat[506]: abort on (\nBUSY\r)
Apr 7 14:21:27 forcas chat[506]: abort on (\nNO ANSWER\r)
Apr 7 14:21:27 forcas chat[506]: abort on (\nRINGING\r\n\r\nRINGING\r)
Apr 7 14:21:27 forcas chat[506]: send (rAT^M)
Apr 7 14:21:27 forcas chat[506]: expect (OK)
Apr 7 14:21:27 forcas chat[506]: rAT^M^M
Apr 7 14:21:27 forcas chat[506]: OK -- got it
Apr 7 14:21:27 forcas chat[506]: send (ATH0^M)
Apr 7 14:21:27 forcas chat[506]: timeout set to 45 seconds
Apr 7 14:21:27 forcas chat[506]: expect (OK)
Apr 7 14:21:27 forcas chat[506]: ^M
Apr 7 14:21:28 forcas chat[506]: ATH0^M^M
Apr 7 14:21:28 forcas chat[506]: OK -- got it
Apr 7 14:21:28 forcas chat[506]: send (ATDT7867^M)
Apr 7 14:21:28 forcas chat[506]: expect (CONNECT)
Apr 7 14:21:28 forcas chat[506]: ^M
Apr 7 14:21:48 forcas chat[506]: ATDT7867^M^M
Apr 7 14:21:48 forcas pppd[505]: Serial connection established.
Apr 7 14:21:48 forcas chat[506]: CONNECT -- got it
Apr 7 14:21:49 forcas pppd[505]: Using interface ppp0
Apr 7 14:21:49 forcas pppd[505]: Connect: ppp0 <--> /dev/modem
Apr 7 14:22:11 forcas pppd[505]: Serial line is looped back.
Apr 7 14:22:12 forcas pppd[505]: Connection terminated.
Apr 7 14:22:12 forcas pppd[505]: Exit.
/var/adm/debug contains:
Apr 7 14:21:49 forcas pppd[505]: sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x20a0000> <magic 0x2fa7d7fd> <pcomp> <accomp>]
Apr 7 14:22:10 forcas last message repeated 7 times
Apr 7 14:22:10 forcas pppd[505]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x20a0000> <magic 0x2fa7d7fd> <pcomp> <accomp>]
Apr 7 14:22:10 forcas pppd[505]: sent [LCP ConfNak id=0x1 <magic 0x754f188e>]
Apr 7 14:22:10 forcas pppd[505]: rcvd [LCP ConfNak id=0x1 <magic 0x754f188e>]
Apr 7 14:22:10 forcas pppd[505]: sent [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x20a0000> <magic 0x119b249e> <pcomp> <accomp>]
Apr 7 14:22:10 forcas pppd[505]: rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x20a0000> <magic 0x119b249e> <pcomp> <accomp>]
Apr 7 14:22:10 forcas pppd[505]: sent [LCP ConfNak id=0x2 <magic 0x9efce377>]
Apr 7 14:22:10 forcas pppd[505]: rcvd [LCP ConfNak id=0x2 <magic 0x9efce377>]
Apr 7 14:22:10 forcas pppd[505]: sent [LCP ConfReq id=0x3 <mru 1500> <asyncmap 0x20a0000> <magic 0xea12fd2> <pcomp> <accomp>]
Apr 7 14:22:10 forcas pppd[505]: rcvd [LCP ConfReq id=0x3 <mru 1500> <asyncmap 0x20a0000> <magic 0xea12fd2> <pcomp> <accomp>]
Apr 7 14:22:10 forcas pppd[505]: sent [LCP ConfNak id=0x3 <magic 0x7973ccc2>]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP ConfNak id=0x3 <magic 0x7973ccc2>]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP ConfReq id=0x4 <mru 1500> <asyncmap 0x20a0000> <magic 0x400316ec> <pcomp> <accomp>]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP ConfReq id=0x4 <mru 1500> <asyncmap 0x20a0000> <magic 0x400316ec> <pcomp> <accomp>]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP ConfNak id=0x4 <magic 0x44165c02>]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP ConfNak id=0x4 <magic 0x44165c02>]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP ConfReq id=0x5 <mru 1500> <asyncmap 0x20a0000> <magic 0xaab7c5b6> <pcomp> <accomp>]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP ConfReq id=0x5 <mru 1500> <asyncmap 0x20a0000> <magic 0xaab7c5b6> <pcomp> <accomp>]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP ConfNak id=0x5 <magic 0x8a48c715>]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP ConfNak id=0x5 <magic 0x8a48c715>]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP TermReq id=0x6]
Apr 7 14:22:11 forcas pppd[505]: rcvd [LCP TermReq id=0x6]
Apr 7 14:22:11 forcas pppd[505]: sent [LCP TermAck id=0x6]
Apr 7 14:22:12 forcas pppd[505]: rcvd [LCP TermAck id=0x6]
i have tried using just username, username\.student\.asc, and
username.student.asc in combinations between the pap-secrets file and the name
statement in /etc/ppp/options.
ppp-on is:
#-------------------------------------------------------------------------
TELEPHONE=5551212 # The telephone number for the connection
ACCOUNT=username.student.asc # The account name for logon (as in 'George Burns')
PASSWORD=passwd # The password for this account (and 'Gracie Allen')
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.0.0 # The proper netmask if needed
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
#-----------------------------------------------------------------------
ppp-on-dialer is:
#----------------------------------------------------------------------
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 45 \
OK ATDT$TELEPHONE \
CONNECT \
#ogin:--ogin: $ACCOUNT #PAP authenticated-no login prompt
#assword: $PASSWORD #PAP authenticated-no login prompt
'' ''
#-----------------------------------------------------------------------
-------------------------------------------------------------------------------
Joel J Jensen | Adams State College | (719)589-7790 (voice)
jjj@lucifer.adams.edu | 208 Edgemont Blvd | (719)589-7522 (fax)
| Alamosa, CO 81102 |
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu