LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem dialing into ISP with KPPP (https://www.linuxquestions.org/questions/linux-newbie-8/problem-dialing-into-isp-with-kppp-153190/)

computerfundi 03-03-2004 05:47 PM

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!!

mjrich 03-03-2004 05:53 PM

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.

computerfundi 03-04-2004 06:13 AM

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!

aaa 03-04-2004 06:57 AM

Groups are for the other users. root should be able to anything.

computerfundi 03-04-2004 11:39 AM

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.

computerfundi 03-04-2004 11:45 AM

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!!

aaa 03-04-2004 11:56 AM

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?

Salamandra 03-04-2004 11:57 AM

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

computerfundi 03-04-2004 12:08 PM

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.

Salamandra 03-04-2004 12:25 PM

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

computerfundi 03-04-2004 02:51 PM

Salamandra, how did you know to use PAP? Did your ISP tell you or did you simply use trial and error until something worked?

mjrich 03-04-2004 03:45 PM

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...

Salamandra 03-04-2004 04:06 PM

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

computerfundi 03-05-2004 07:12 AM

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!!!!

aaa 03-05-2004 07:30 AM

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 05:03 PM.