[ale] pppd problem
root
root at aleach-pc.cisco.com
Tue Jul 30 13:18:14 EDT 1996
I'm trying to setup a Linux box as a ppp 'client', to connect to an ISP
and having some trouble... Do the following errors point to a particular
problem? I'm new to ppp with Linux, and don't know where to start to get
this to work.
Errors:
-------
Jul 30 12:21:11 aleach-pc syslog: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jul 30 12:21:11 aleach-pc pppd[1011]: pppd 2.1.2 started by root, uid 0
Jul 30 12:21:12 aleach-pc chat[1012]: timeout set to 5 seconds
Jul 30 12:21:12 aleach-pc chat[1012]: send (ATZ^M)
Jul 30 12:21:12 aleach-pc chat[1012]: expect (OK)
Jul 30 12:21:12 aleach-pc chat[1012]: NO CARRIER^M
Jul 30 12:21:12 aleach-pc chat[1012]: ATZ^M^M
Jul 30 12:21:12 aleach-pc chat[1012]: OK -- got it
Jul 30 12:21:12 aleach-pc chat[1012]: send (ATDT95475800^M)
Jul 30 12:21:13 aleach-pc chat[1012]: abort on (NO CARRIER)
Jul 30 12:21:13 aleach-pc chat[1012]: abort on (BUSY)
Jul 30 12:21:13 aleach-pc chat[1012]: abort on (NO DIALTONE)
Jul 30 12:21:13 aleach-pc chat[1012]: abort on (WAITING)
Jul 30 12:21:13 aleach-pc chat[1012]: timeout set to 45 seconds
Jul 30 12:21:13 aleach-pc chat[1012]: expect (CONNECT)
Jul 30 12:21:13 aleach-pc chat[1012]: ^M
Jul 30 12:21:34 aleach-pc chat[1012]: ATDT95475800^M^M
Jul 30 12:21:34 aleach-pc chat[1012]: CONNECT -- got it
Jul 30 12:21:34 aleach-pc chat[1012]: send (^M)
Jul 30 12:21:34 aleach-pc chat[1012]: timeout set to 5 seconds
Jul 30 12:21:34 aleach-pc chat[1012]: expect (name:)
Jul 30 12:21:34 aleach-pc chat[1012]: 24000/ARQ/V34/LAPM/V42BIS^M
Jul 30 12:21:36 aleach-pc chat[1012]: ^M
Jul 30 12:21:36 aleach-pc chat[1012]: ^M
Jul 30 12:21:36 aleach-pc chat[1012]: Welcome to the Universities of North Carolina Internet Access^M
Jul 30 12:21:36 aleach-pc chat[1012]: ^M
Jul 30 12:21:36 aleach-pc last message repeated 3 times
Jul 30 12:21:36 aleach-pc chat[1012]: Host:pm02-nccu Port:8^M
Jul 30 12:21:36 aleach-pc chat[1012]: ^M
Jul 30 12:21:39 aleach-pc chat[1012]: login:
Jul 30 12:21:39 aleach-pc pppd[1011]: could not set up connection
Jul 30 12:21:39 aleach-pc pppd[1011]: Exit.
Jul 30 12:21:39 aleach-pc chat[1012]: alarm
Jul 30 12:21:39 aleach-pc chat[1012]: Failed
Command:
--------
exec pppd connect \
'chat -v -f /etc/ppp/chatscript' \
-detach crtscts modem defaultroute \
user aleach.ncsu \
/dev/modem 38400
/etc/ppp/chatscript:
--------------------
TIMEOUT 5
'' ATZ
OK ATDT95475800
ABORT 'NO CARRIER'
ABORT BUSY
ABORT 'NO DIALTONE'
ABORT WAITING
TIMEOUT 45
CONNECT ""
TIMEOUT 5
"name:" ppp
I find myself wondering if the problem is the fact that the ISP I'm
connecting to (MCI) has a login screen which looks like:
> Welcome to the Universities of North Carolina Internet Access
>
>
>Host:pm02-nccu Port:4
>
>login:
and once the proper userid and password are provided, the following menu
is presented:
>Please enter an option:
>
>T Telnet to anywhere
>
>F *Frequently Asked Questions
>B Check account balance
>W Change password
>S Begin SLIP session
>P Begin PPP session
>X Log out
>
>NOTE: Options marked with * are under construction.
>
>Option:
I _can_ connect successfully using minicom, just not with pppd...
Windows95 has no problem establishing a PPP connection - so I know it's
possible, I just don't know how to get Linux to do it... I suspect I
need to configure it to send a "P" to select PPP connection (although,
again, Windows95 takes care of this somehow - clearly it's not sending a
"P"...).
Details:
HP Vectra XM
P133
8Meg RAM
~850Meg HD partition
USRobotics Sportster 28.8
RedHat 3.0.3/1.2.13 kernel
I'm trying to do this because I'm going to be setting up a Linux box as a
ppp server, and I figured I'd get familiar with ppp the 'easy' (i.e. more
common) way first - but I can't even get this working! Any references
to info regarding setting up Linux as a ppp 'server' would also be very
much appreciated.
TIA for any help/suggestions.
- Al Leach
(aleach at cc.gatech.edu, aleach at cisco.com)
More information about the Ale
mailing list