LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Road Runner Dial up script (https://www.linuxquestions.org/questions/linux-networking-3/road-runner-dial-up-script-117443/)

Dogface1SG 11-18-2003 11:34 AM

Road Runner Dial up script
 
I am attempting to access my RR dialup account with a Mdk 9.1 machine(KDE). I have the modem working but I am usure of where or what to do with the login.scp that I had from windows. I am certain if I knew how and where to place this and a few tweeks I can get this running. Below is the text of the windows script

; 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

I know I have to change where and how it gets the username, but I am uncertain if this will be in the chap-secret/pap-secret.

Any information would be appreciated

Dogface1SG 11-18-2003 03:11 PM

OK I have been working it
 
I connected 2 other machines to seperate phone lines, used one to dial using RR Internet Connection Center(ICC). I found out that the line transmit prefix sends "aolnet/ent."

I did a manual connection from my Linux box

ATDT*70,4195551212
CONNECT 28800/ARQ/V34/LAPM/V42BIS
Authorized use only-Unauthorized use is Prohibited-Sprint-IP
Username/Login:aolnet/ent.username@woh.rr.com
Pasword:********

L2TP: Starting session
Primary server '123.456.78.012'
Secondary server '345.678.90.123'
$%^&^%$$ and 4 more lines of garbage like that then
NO CARRIER

I have got it to do the same thing using KPPP Login script. I have added the following lines:

Expect Username/Login:
Send aolnet/ent.username@woh.rr.com
Expect Password:
Send ********
Expect Network User
Send PPP

I borrowed the last 2 lines from the login.scp above but it doesn't make it that far and disconnects.

Any Ideas, please don't say call AOL/Timewarner/Road Runner as they only support windows(BOOOOOOOOOOO). I do have a daughter-in-law that works in customer service, not extremely computer savy though. I am going to see if she can find anything out.

Thanks if you contribute any knowledge

Dogface1SG 11-18-2003 06:31 PM

Just an update
 
I don't think I am going to get it to work this way. I think the 4 or 5 lines of garbage are the system trying to talk to mine and update their software. I connected with another windows machine and the first thing it does is updates.

I think my only option is to try to get it working in wine. I was trying to avoid this. I am new to Linux, wine can be tricky to do. I also doubt that there are very many other users attempting to do what I am. If I am wrong and you have an answer GREAT. drop a line.

Thanks again
Dogface1SG


All times are GMT -5. The time now is 08:47 AM.