[TriLUG] Road runner dialup while travelling
Tom Bryan
tbryan at python.net
Sun Apr 6 16:53:25 EDT 2003
My boss has sent me on the road. At home, I use Road Runner. RR has recently
started offering dialup access for those of us who are on the road. My
laptop has both Windows 2000 and Linux. I can connect to Road Runner's dial
up service from Windows, but I haven't been able to get it working with Linux
(Red Hat 7.3). It's been a while since I last did this (with Mindspring),
but I don't remember having much trouble.
Do I have to set up some sort of ppp0 interface first? Is that just handled
automagically? I include a bunch of information below, but I'm not even
really sure how to troubleshoot this one. If anyone can give me some ideas,
I'd really appreciate it.
Under the RoadRunner distribution, I found the following script at
icc/login.scp.
;
; This is a script file that demonstrates how
; to establish a PPP connection to Road Runner Dial Access network
; DO NOT edit this script yourself
; Version 1.1.2
; February 8, 2002 - NT
;
proc main
string prefix = "aolnet/ent."
waitfor
"ANSNet" then DoANSNetLogin,
"Sprint-IP" then DoSprintLogin,
"UU.Net" then DoUUNetLogin,
"UQKT1" then DoANSNetLogin,
"UQKT2" then DoSprintLogin,
"Saturn.BBN" then DoUUNetLogin
until 20
DoANSNetLogin:
waitfor "login" until 20
if $SUCCESS then
transmit prefix + $USERID, raw
transmit "^M"
goto DONE
endif
DoUUNetLogin:
waitfor "login" until 20
if $SUCCESS then
transmit prefix + $USERID, raw
transmit "^M"
waitfor "Password"
transmit $PASSWORD
transmit "^M"
goto DONE
endif
DoSprintLogin:
waitfor
"Login" then DoSprintConnect,
"Username" then DoSprintConnect
until 20
DoSprintConnect:
transmit prefix + $USERID, raw
transmit "^M"
waitfor "Password"
transmit $PASSWORD
transmit "^M"
waitfor "Network User" until 5
if $SUCCESS then
transmit "PPP"
transmit "^M"
endif
goto DONE
DONE:
delay 2
endproc
So, I've tried configuring the dial up account with kppp under KDE 3 on RedHat
7.3. When I try to dial out, I can hear the modem dialing and apparently
negotiating a connection, but it still fails to bring up a ppp interface. I
get info like this in /var/log/messages
Apr 6 10:25:45 buttercup kernel: Loading Lucent Modem Controller driver
version 8.26
Apr 6 10:25:45 buttercup kernel: Detected Parameters Irq=11
BaseAddress=0x6000 ComAddres
s=0x6440
Apr 6 10:25:45 buttercup kernel: Lucent Modem Interface driver version 8.26
(2002-11-04)
with SHARE_IRQ enabled
Apr 6 10:25:45 buttercup kernel: ttyLT00 at 0x6000 (irq = 11) is a Lucent
Modem
Apr 6 10:27:33 buttercup kernel: CSLIP: code copyright 1989 Regents of the
University of
California
Apr 6 10:27:33 buttercup kernel: PPP generic driver version 2.4.2
Apr 6 10:27:33 buttercup pppd[2058]: pppd 2.4.1 started by root, uid 0
Apr 6 10:27:33 buttercup pppd[2058]: Using interface ppp0
Apr 6 10:27:33 buttercup pppd[2058]: Connect: ppp0 <--> /dev/ttyLT0
Apr 6 10:27:33 buttercup /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 6 10:27:35 buttercup pppd[2058]: Remote message: Authentication failure
Apr 6 10:27:35 buttercup pppd[2058]: CHAP authentication failed
Apr 6 10:27:41 buttercup pppd[2058]: Connection terminated.
Apr 6 10:27:41 buttercup pppd[2058]: Exit.
Apr 6 10:27:41 buttercup /etc/hotplug/net.agent: NET unregister event not
supported
AND
Apr 6 10:54:39 buttercup modprobe: modprobe: Can't locate module ppp0
Apr 6 10:54:39 buttercup modprobe: modprobe: Can't locate module ppp0
Apr 6 10:54:39 buttercup pppd[2139]: pppd 2.4.1 started by root, uid 0
Apr 6 10:54:39 buttercup pppd[2139]: Using interface ppp0
Apr 6 10:54:39 buttercup pppd[2139]: Connect: ppp0 <--> /dev/ttyLT0
Apr 6 10:54:39 buttercup /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 6 10:55:09 buttercup pppd[2139]: Terminating on signal 15.
Apr 6 10:55:09 buttercup pppd[2139]: Connection terminated.
Apr 6 10:55:09 buttercup pppd[2139]: Exit.
Apr 6 10:55:09 buttercup /etc/hotplug/net.agent: NET unregister event not
supported
AND
Apr 6 11:14:56 buttercup pppd[2380]: pppd 2.4.1 started by root, uid 0
Apr 6 11:14:56 buttercup pppd[2380]: Using interface ppp0
Apr 6 11:14:56 buttercup pppd[2380]: Connect: ppp0 <--> /dev/ttyLT0
Apr 6 11:15:30 buttercup pppd[2380]: Hangup (SIGHUP)
Apr 6 11:15:30 buttercup pppd[2380]: Modem hangup
Apr 6 11:15:30 buttercup pppd[2380]: Connection terminated.
Apr 6 11:15:30 buttercup pppd[2380]: Exit.
The exit statuses that KPPP reports from pppd have varied among
15 The link was terminated because the peer is not responding to
echo requests.
16 The link was terminated by the modem hanging up.
19 We failed to authenticate ourselves to the peer.
At first, I may have had problems because I think the server expects CR/LF for
line endings. That might explain the exit status of 15. I don't think that
I've seen that again. CHAP always fails, so I've set the authentication
method in KPPP to "script based". I initially didn't have aolnet/net.
prefixed to my username, so that might explain some of the 19 exit statuses.
CHAP still fails, but the script based authentication consistently gives me
that last tyle of message. I'm guessing that ppp0 isn't actually coming up
and that KPPP is timing out and hanging up. Of course, I'm not even sure
about that. Any ideas how to troubleshoot this sort of problem and be sure
that you're making progress? Anyone got this working already?
---Tom
More information about the TriLUG
mailing list