Click to See Complete Forum and Search --> : Problem with Mandrake 7.2 and networking


LukeM
12-15-2000, 05:23 PM
I have Mandrake 7.2 installed on a AMD K6-450 and I am running a 2.4.0test12 kernel. Until today I just had ppp configured for networking and I was dailing into my ISP, logging on and the internet was working fine. Today however I decided to go into linuxconf and set my IP address for my ethernet card so I could setup Samba, etc... on my network. That worked fine and I could ping the other addresses on my network. However, when I did that I stopped being "able" to access the internet. I can still log into my ISP, etc.. but I can't actually go to any internet sites. I am guessing the problem is without routing by for my ppp connection I have it set to go through the "default gateway" and thats how I've always had it set. Also, I don't think I changed any gateway options when I was configuring Linux to work on my LAN. Does anyone have any idea how I could fix this problem?

Luke

SlCKB0Y
12-15-2000, 07:03 PM
Try connecting to the net, and then opening a browser and going to a IP adress like
http://203.38.34.38

If this works then you have a dns problem. So you will need to edit /etc/resolv.conf from the command line

If that doesnt work then i dont really know. But i hear that linuxconf is a truly evil program and so i tend to avoid it

http://www.linuxnewbie.org/ubb/smile.gif

nutile
12-20-2000, 05:13 AM
DNS sounds possible also after you dial in try this command a the console
type ifconfig
route add -net default gw IP SEEN ABOVE ppp0
or leave out the IP and just ppp0
If this works then it should be done more automatically by KPPP (it also has places for ip-up ip-down where you can pass these commands, or put it in the fiels found in /etc/ppp) if that is what you are using. It also has a choice for the DNS and which to use when the connection is made. I have been reading the Linux Networing book by O'Reilly and it mentions these things but I have not used ppp much since we have cable.
But it does talk about this problem and ppp. DNS and route are the 2 main concerns.


Originally posted by LukeM:
I have Mandrake 7.2 installed on a AMD K6-450 and I am running a 2.4.0test12 kernel. Until today I just had ppp configured for networking and I was dailing into my ISP, logging on and the internet was working fine. Today however I decided to go into linuxconf and set my IP address for my ethernet card so I could setup Samba, etc... on my network. That worked fine and I could ping the other addresses on my network. However, when I did that I stopped being "able" to access the internet. I can still log into my ISP, etc.. but I can't actually go to any internet sites. I am guessing the problem is without routing by for my ppp connection I have it set to go through the "default gateway" and thats how I've always had it set. Also, I don't think I changed any gateway options when I was configuring Linux to work on my LAN. Does anyone have any idea how I could fix this problem?

Luke