LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2004, 06:38 PM   #1
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Rep: Reputation: 15
pppd works but browser won't load


I have set up a basic install of slackware on an old pII (no gnome, no kde - using windowmaker) & am connecting to the net via pppd.

It connects ok & shows IP addresses, ping is succesful, but when I try a browser (netscape or lynx) they are unable to load any sites.

This is not a permissions issue as this does not work as root.

I have read manuals, googled, reconfigured, re -installed with different settings etc.

Any help or ideas welcome please
 
Old 04-06-2004, 07:53 PM   #2
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
have you added the nameserver in /etc/resolv.conf?
 
Old 04-07-2004, 10:35 AM   #3
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Original Poster
Rep: Reputation: 15
There is a nameserver IP address in there - presumably put there by the pppsetup routine as I didn't configure it manually.
 
Old 04-07-2004, 10:37 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Have you run netconfig and set up the loopback modem device?
 
Old 04-07-2004, 01:06 PM   #5
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Original Poster
Rep: Reputation: 15
sorry - the answer is yes - all further suggestions v welcome .

I know the hardware works OK as well as if I install KDE it works fine. The object of my little project was to run this machine on minimal software to get that 'greased lightning' performance out of it (& learn more about Linux in the process).
 
Old 04-07-2004, 01:37 PM   #6
Piratero
Member
 
Registered: Sep 2003
Distribution: FreeBSD-5.2.1
Posts: 38

Rep: Reputation: 15
it's much easier if you try to compile wvdial and use it, that way it can autodetect all your nameserver information rather than installing KPPP to get the nameservers from your ISP. if you're having some problems with compiling wvdial in general, try to disable stuff when compiling wvstreams first. hope this helps.
 
Old 04-07-2004, 08:43 PM   #7
subgenius
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
You can, for instance, get a response from

"ping yahoo.com"

but not

"lynx yahoo.com" ?
 
Old 04-08-2004, 05:41 PM   #8
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks for all the input so far
1) WVdial doesn't work either, same problem. (for the record you need to configure wvstreams with ./configure --prefix=/usr)
2) Ping only works if I use the numerical IP addresses that ppp or wvdial throw up. If i use ping yahoo.com or lynx yahoo.com it doesn't work.
I suspect the problem is with resolv.conf . I have found out the nameserver is the setup routines guess - My ISP uses dynamic addresses (ie - it is never the same twice!). I have tried 0.0.0.0 as the nameserver but it won't even attempt that.
The one ray of hope is that the excellent mini live distro "Puppy Linux" uses wvdial & I have got that working with my ISP, so it is possible. I have tried copying settings across but to no avail.
Back to the manuals ;0)
 
Old 04-08-2004, 07:31 PM   #9
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Original Poster
Rep: Reputation: 15
A solution of sorts - I've installed Webmin - a linux administration tool that works through your web browser. It looks like this has added two addresses to my /etc/resolv.conf & a couple of lines to /etc/wvdial.conf (Stupid Mode = Off & Modem Ty pe = analog modem). It still uses wvdial (I will check & see if wvdial works on it's own now or if it still needs to be run through webmin)

A rather sweet solution as I had intended to use webmin (as well as the excellent Gentoo file manager) to work the system.

Thanks for the help chaps

Edit:WVdial won't work by itself but the ppp-go command does. I would imagine that the lines in /etc/resolv.config did the trick.

Last edited by friendly_guy; 04-08-2004 at 07:40 PM.
 
Old 04-09-2004, 03:24 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
http://home.earthlink.net/~gnashley/ispsetup/ispsetup
Try this script.
It's a version of pppsetup that I hacked for using dynamic DNS. it only works for pap though.
But you could make dynamic DNS work with pppsetup also.
just add the line
usepeerdns
to /etc/ppp/options.
then
rm /etc/resolv.conf
ln -s /etc/ppp/resolv.conf
then uncomment the ping section in /etc/ppp/ip-up
Study the parts of the script where it writes /etc/ppp/options, /etc/ppp/ip-up, /etc/ppp/ip-down to see how it works different from pppsetup
 
Old 04-10-2004, 01:56 PM   #11
friendly_guy
Member
 
Registered: Oct 2003
Location: England
Distribution: Lubuntu, Bodhi, Puppy,
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks for all your effort. I can't use your script at the mo because my ISP uses chap but I have downloaded it for future reference; Shell scripting is something else I need to get up to speed on.
 
  


Reply



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
Mozilla Browser Works -- Firefox Doesn't intels_ss Linux - General 6 07-29-2005 08:42 AM
Can't load one specific website using any browser Ilisdur Fedora 4 09-14-2004 04:59 PM
how cache works in w web-browser gajaykrishnan Linux - Networking 4 08-13-2004 12:48 PM
Browser only works on root account MONA Slackware 8 04-30-2003 11:03 AM
IntelHamModem,pppd not always works beep_beep Linux - Hardware 0 08-24-2002 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:09 AM.

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
Open Source Consulting | Domain Registration