Setting up Dial Up using PPP Script
Hi,
I'm trying to test a dial up connection which uses PPP script to log in. I have it setup in Windows but I am unable to get it to work under Linux. I have openSuSe 10.2 running. The original script appears as following:
proc main
delay 5 transmit "^M"
waitfor "Username:"
transmit $USERID, raw
transmit "^M"
waitfor "Password:"
transmit $PASSWORD, raw
transmit "^M"
waitfor ">"
transmit "ppp^M"
endproc
I've used KPPP to manually setup a new account with the specified phone number to dial, the authentication is set to Script-based and the login appears as follows:
Pause 5
Send "^M"
Expect "Username:"
Send $USERID, raw
Send "^M"
Expect "Password:"
Send $PASSWORD, raw
Send "^M"
Expect">"
Send "ppp^M"
As far as I know the proc is not necessary here.
Then I go under the Modems tab and try to set a new modem. In YaST I see the Modem configuration which displays the device as: Mitac 82801 DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
The modem device is listed as: /dev/ttySL0, but in KPPP, when I set the modem device to that, then try to query modem, I get "Unable to create modem lock file." If I do try to connect with that setting I get an error message:
"kppp can not find:
/dev/ttySL0
Please make sure you have setup your modem device properly and/or adjust the location of the modem device on the modem tab of the setup dialog."
Is there something I am missing? Any help would be appreciated. Thank you!
|