Click to See Complete Forum and Search --> : pppd problems


Alexei Danchenkov
05-03-2001, 08:08 AM
God, I can't connect to the Internet for a month. It's not easy being a newbie. I get connected to my ISP alright, checking the login, password, starting the pppd with 'pppd -d -detach /dev/modem &' and then ... nothing happens, the browser still not working. It does work on localhost though. I set up the DNS names of the provider, I am sure it helped (it should find the DNS names automatically, I thought), but the browser is still not working.

I am using RedHat 7.0, KDE or console, Netscape or Lynx.

What is that I don't understand?

Thanks :confused:

nopun
05-03-2001, 08:27 AM
What, does nothing happen at all? Does the modem manage to stay connected?

Try pinging or browsing using an IP address rather than a domain name to make sure it is not a DNS issue.

eg try using the following location with your browser:
http://63.236.73.208/

willk
05-03-2001, 08:39 AM
... a few things can go sour with ppp...
Try useing kppp to set you connection up.

Kizmet
05-03-2001, 10:00 AM
This sounds like the same type problem I am having. I know I cant ping anything so it is more than just a DNS issue. When I try to ping an outside addy the transmit light blinks but I lose all the packets, sorta like they are not coming back to my system. I they are being returned maybe there is some setting I have overlooked thats preventing the OS from seeing them?
*edit to add I am also using RH 7.0, Kppp to dial. end edit*

[ 03 May 2001: Message edited by: Kizmet ]

Alexei Danchenkov
05-03-2001, 11:11 AM
Yes, the attempt to ping causes: "connect: Network unreachable". When I run pppd, it starts the script, but seems does not completes it. Then (in 1.8 minutes) it hangs up with "Sent 173 bytes, received 186 bytes", starts ip-down and also apparently does not complete is and exits with "Exit 16". Sometimes is also exists with "Exit 10".
This happens also in kppp.
:confused:

quandary
05-03-2001, 11:43 AM
Just throwing some more ideas out...how are the permissions on the modem device file set? Normally rw-r--r-- should be adequate, but you may want to try adjusting those and seeing if it makes a difference. Have you tried using a different dialer, like wvdial? Is there any more information turning up in /var/log/messages or /var/log/syslog?

Edit: by the way, I meant you should look at the permissions on whatever file the /dev/modem symlink is pointing to, and not /dev/modem itself.

[ 03 May 2001: Message edited by: quandary ]

nopun
05-03-2001, 11:48 AM
ooh, ppp can be a pig. It sounds as though it's establishing the ppp link if it's going through all that ip_up ip_down stuff. Once it's up, can you see your ISP's IP address when you type "ifconfig"? If so, can you ping it?
I have seen a pretty good ppp trouble shooting guide somewhere, it goes through all kinds of scenarios, I just wish I could remember where I saw it....

Alexei Danchenkov
05-03-2001, 07:00 PM
Hurray! I have it working thanks to quandary! THe setting for the modem were r--r----- (440), the moment I changed it it is working. I even post this message from Linux Netscape and get the mail. :)

WCox
05-03-2001, 07:04 PM
Congratulations!

:cool: Slackware :cool:

Kizmet
05-04-2001, 08:36 PM
I did what quandry suggested but still no luck :/ anyone have any other suggestions.

Kiz