Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-01-2007, 04:54 PM   #1
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Rep: Reputation: 15
Setting up Dial Up using PPP Script


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"

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"
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:

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!
Old 07-01-2007, 06:33 PM   #2
LQ Newbie
Registered: Aug 2006
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Thumbs up Thanks

thx that's really kinda FAQ
Old 07-03-2007, 01:59 PM   #3
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Here is what I have managed to get done thus far. It might be helpful to some.

I made a symbolic link from ttySL0 to modem as I found that YaST has the modem identified and setup.

ln -s /dev/ttySL0 /dev/modem

Then in kppp I used the modem device as /dev/modem.

Next, I changed the group of kppp and changed the permissions.

cd /opt/kde3/bin
chgrp -v dialout kppp | ls -l kppp
chmod u+rws
chmod g+rx
chmod o=-
ls -l kppp

It should now read as:
-rwsr-x--- root dialout ............ kppp

Now, the "Unable to create modem lock file." is no longer applicable, but this time I get "The Modem Is Busy". I am not sure what is the cause of this since I believe YaST has assigned the appropriate port to the modem, but I'm not sure what could be causing this. Would anyone have any suggestions?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up DialUp PPP with Script Connection niteshadw Linux - Networking 0 05-20-2007 06:52 PM
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
Kppp how to set in Dial up Script for PPP Keynote Red Hat 7 03-16-2004 04:02 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
setting up a dial-in ppp server bobthebat Linux - Networking 1 04-09-2001 02:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration