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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-03-2004, 06:47 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Rep:
|
Problem dialing into ISP with KPPP
Hi All,
I'm having problems dialing into an ISP using KPPP. I was able to set up a new account, have it recognize the modem, and dial but never seem to get a connection. After the timeout period I get a popup window that says:
"Timeout expired while waiting for the PPP interface to come up!"
The Login Script Debug Window contains:
ATZ
OK
ATM1L3
OK
ATDT303-226-0722
CONNECT 45333/ARQ/V90/LAPM/V42BIS
The PPP Log contains:
Mar 3 15:59:35 localhost pppd[2141]: pppd 2.4.1 started by root, uid 0
Mar 3 15:59:35 localhost pppd[2141]: Using interface ppp0
Mar 3 15:59:35 localhost pppd[2141]: Connect: ppp0 <--> /dev/ttyS0
Mar 3 16:00:05 localhost pppd[2141]: Terminating on signal 15.
Mar 3 16:00:06 localhost pppd[2141]: Hangup (SIGHUP)
Mar 3 16:00:06 localhost pppd[2141]: Modem hangup
Mar 3 16:00:06 localhost pppd[2141]: Connection terminated.
Mar 3 16:00:06 localhost pppd[2141]: Exit.
/var/log/messages contains:
Mar 3 15:59:35 localhost modprobe: modprobe: Can't locate module ppp0
Mar 3 15:59:35 localhost last message repeated 3 times
Mar 3 15:59:35 localhost kernel: CSLIP: code copyright 1989 Regents of the Univ
ersity of California
Mar 3 15:59:35 localhost kernel: PPP generic driver version 2.4.2
Mar 3 15:59:35 localhost pppd[2141]: pppd 2.4.1 started by root, uid 0
Mar 3 15:59:35 localhost modprobe: modprobe: Can't locate module ppp0
Mar 3 15:59:35 localhost pppd[2141]: Using interface ppp0
Mar 3 15:59:35 localhost pppd[2141]: Connect: ppp0 <--> /dev/ttyS0
Mar 3 16:00:05 localhost pppd[2141]: Terminating on signal 15.
Mar 3 16:00:06 localhost pppd[2141]: Hangup (SIGHUP)
Mar 3 16:00:06 localhost pppd[2141]: Modem hangup
Mar 3 16:00:06 localhost pppd[2141]: Connection terminated.
Mar 3 16:00:06 localhost pppd[2141]: Exit.
My only real clue is the /var/log/messages item that says "Can't locate module ppp0". I'm assuming that it is having a problem with my box rather than at the ISP. The original installation seemed to be problem free so I am assuming that things installed OK.
Since I'm new to Linux I'm not sure what to look for next. Where would I look for module ppp0 and, if it is indeed missing, where would I find it to install it.
Any help anyone could provide to this newbie would be greatly appreciated!!
|
|
|
03-03-2004, 06:53 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Have you added yourself to the usual groups for ppp connections (by editing /etc/group or via the K control panel, pppconfig or some other utility) ? From memory you need to be in dialout and/or dip.
Cheers, M.
Last edited by mjrich; 03-03-2004 at 06:56 PM.
|
|
|
03-04-2004, 07:13 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I can take a look at that. I was initially trying while signed on as root. Do you still need the groups for root? Can you suggest any step by step help lists for doing this for the first time. I looked in the KPPP Handbook but didn't see your suggestion so I bet there are other things that they didn't mention as well.
Thanks for the help!
|
|
|
03-04-2004, 07:57 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
Groups are for the other users. root should be able to anything.
|
|
|
03-04-2004, 12:39 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
How would I find out if the "Mar 3 15:59:35 localhost modprobe: modprobe: Can't locate module ppp0" is really the thing causing the problem? I guess I would think that this would be something that should be pretty easy to solve but being new to all this I have no clue what to try next.
|
|
|
03-04-2004, 12:45 PM
|
#6
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
I forgot to mention that this is the Fedora Core 1 Linux that I am trying to run with. I don't know if that would make any difference with KPPP or not.
I think the next thing that I would need to know is whether it is the PPP on my side or on the ISP side that is not coming up. I'm assuming that it is on my side and it has something to do with the missing ppp0 module but don't know for sure.
Thanks in advance for the help!!
|
|
|
03-04-2004, 12:56 PM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
To make sure it's not the isp, start the modem terminal from kppp. Enter the AT* commands you saw in the login script debug window. You should see the prompt from your isp for username and password. What isp is this?
|
|
|
03-04-2004, 12:57 PM
|
#8
|
LQ Newbie
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11
Rep:
|
Hi. I am a newbie too and I think I had the same problem but I fixed it extending the modem waiting time to 90 seconds from within KPPP
I hope that helps
Last edited by Salamandra; 03-04-2004 at 12:59 PM.
|
|
|
03-04-2004, 01:08 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
Thanks to both aaa and Salamandra for their ideas. I will try both of those when I get home to my Linux box. They both sound like good ideas.
One other thing I forgot to mention was that my ISP mentioned that PAP was the correct auth. type (he didn't sound too convincing - I bet they have few calls from people with Linux). I saw something in a book about secret phrases being needed for PAP. Does it sound like there could be something with that? It doesn't make too much sense to me because I know of nothing like that on the Windows side.
|
|
|
03-04-2004, 01:25 PM
|
#10
|
LQ Newbie
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11
Rep:
|
I have experimented with PAP, PAP/CHAP, SCRIPT, etc.
I have 3 ISPs and just one (the one that gives free access to Internet and no user name or password is required) uses SCRIPT, the other two use PAP.
I will make a research and get further information on them
Hope you finally get to connect to Internet!
Salamandra
|
|
|
03-04-2004, 03:51 PM
|
#11
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
Salamandra, how did you know to use PAP? Did your ISP tell you or did you simply use trial and error until something worked?
|
|
|
03-04-2004, 04:45 PM
|
#12
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
I had the same problem ages ago when I disabled DHCP for network connections. Even though the network card is rarely used, the ppp dialout would always hang waiting for ppp to come up. Anyway, I enabled DHCP for the network card, and ppp worked fine again, so it may be worth trying this...
|
|
|
03-04-2004, 05:06 PM
|
#13
|
LQ Newbie
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11
Rep:
|
Computerfundi: Yes, besides increasing the times for the modem I was playing with the settings, I discovered that I can use either PAP or PAP/CHAP for my ISPs.
I was really playing as I don't know too much about them...
So you are still unable to connect to Internet?
Salamandra
P.S. Not only I increased the time for the modem connection but also for pppd. I don't know if kppp is the same for all Linux distributions but increase the times for all settings you may find ( I understand it's not an elegant solution but I am a newbie and that worked -and still is working-for me
|
|
|
03-05-2004, 08:12 AM
|
#14
|
LQ Newbie
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14
Original Poster
Rep:
|
Well . . . . still no dialup. Here's what I have tried so far.
I tried Salamandra's idea about increasing the timeout period and it had no effect.
I also tried aaa's idea about manually entering the modem commands from the KPPP terminal window. That was a good exercise as it showed that the "CONNECT 45333/ARQ/V90/LAPM/V42BIS" message in the login script window was from the ISP. So . . . that tells me that it was waiting for my machine to do something. I also noticed a message at the bottom of the login script window which said that pppd was starting. So for whatever reason, it looks like ppp on my machine is not starting up. I never receive anything back from the ISP asking me to logon, I'm guessing that it won't happen until ppp starts.
mjrich, the DHCP idea is another good one. Can you tell me where I would look to see if that is currently enabled or disabled? I do not currently have a network card installed and not trying to connect to anything that way.
Does anyone have any ideas about where I would check to see if I might actually have pieces of ppp missing. I'm not sure where on the hard drive that this would be located. I'm guessing it might be something loosely equivalent to the "Program Files" folder in Windows.
I'm starting to feel like someone in one of the other threads who just wants to give up and stick with Windows. If anyone has any other ideas of what to look for to find out why ppp is not starting plese let me know. Also, let me know if I am not providing enough details about what is happening.
I really do appreciate everyone's help and ideas!!!!
|
|
|
03-05-2004, 08:30 AM
|
#15
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
The "CONNECT 45333/ARQ/V90/LAPM/V42BIS" is from your modem, not from the ISP. You should see a login prompt from your isp if it uses PAP. ppp isn't going to work if your isp isn't letting you log in. What ISP is this?
|
|
|
All times are GMT -5. The time now is 07:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|