LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-03-2004, 06:47 PM   #1
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
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!!
 
Old 03-03-2004, 06:53 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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.
 
Old 03-04-2004, 07:13 AM   #3
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
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!
 
Old 03-04-2004, 07:57 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Groups are for the other users. root should be able to anything.
 
Old 03-04-2004, 12:39 PM   #5
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 03-04-2004, 12:45 PM   #6
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
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!!
 
Old 03-04-2004, 12:56 PM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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?
 
Old 03-04-2004, 12:57 PM   #8
Salamandra
LQ Newbie
 
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11

Rep: Reputation: 0
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.
 
Old 03-04-2004, 01:08 PM   #9
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 03-04-2004, 01:25 PM   #10
Salamandra
LQ Newbie
 
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11

Rep: Reputation: 0
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
 
Old 03-04-2004, 03:51 PM   #11
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Salamandra, how did you know to use PAP? Did your ISP tell you or did you simply use trial and error until something worked?
 
Old 03-04-2004, 04:45 PM   #12
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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...
 
Old 03-04-2004, 05:06 PM   #13
Salamandra
LQ Newbie
 
Registered: Mar 2004
Location: Lima-PERU
Distribution: Mandrake 9.2
Posts: 11

Rep: Reputation: 0
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
 
Old 03-05-2004, 08:12 AM   #14
computerfundi
LQ Newbie
 
Registered: Mar 2004
Location: Denver
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
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!!!!
 
Old 03-05-2004, 08:30 AM   #15
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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?
 
  


Reply


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
Very odd behaviour dialing ISP phidor Mandriva 6 05-28-2005 06:36 AM
kppp not dialing out pen^2 Linux - Software 1 04-30-2005 09:39 AM
Q's on dialing up my ISP bezaleel Linux - Newbie 1 07-20-2004 04:50 PM
kppp dialing into a NT Ras callback server MrBiggZ Linux - Software 1 02-10-2004 07:00 PM
Problem with modem dialing a isp number in KDE ... jupi Linux - Hardware 4 08-08-2003 07:26 AM


All times are GMT -5. The time now is 02:20 PM.

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