LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems with internet on slackware 10.0 (https://www.linuxquestions.org/questions/slackware-14/problems-with-internet-on-slackware-10-0-a-310799/)

tomj88 04-07-2005 01:45 PM

Problems with internet on slackware 10.0
 
I have recently swapped from Mandrake 10.1 to Slackware 10.0, and on Slackware I have no internet access - my network settings are all configured exactly the same as they were on Mandrake. I had a similar problem when I first installed Mandrake, to fix that I disabled IPv6 (echo "alias net-pf-10 off" >> /etc/modprobe.conf"). I tried doing that on Slackware but it did no good. The problem that I'm getting is when I type a URL into an address bar and press enter, I get a message telling me that it could not find the host name or the host name is unknown. The message comes up instantly, so its seems like it is not even trying to make a connection to the internet. Thanks

keefaz 04-07-2005 01:48 PM

' /sbin/ifconfig -a ' shows your interfaces right ?
Did you run ' netconfig ' as root ?

username17 04-07-2005 02:20 PM

Yah, if ifconfig doesn't show the interface (eth0, etc) then the correct module may not be loaded for the NIC.
Instead of using the browser as a test, try ping.
Try pinging your gateway (router most likely) and then try pinging google.com.
Pinging google.com will test network connectivity and your DNS settings (since it has to resolve the hostname).

netconfig will set your hostname and DHCP or Static IP, etc.

GL

tomj88 04-12-2005 02:42 PM

ifconfig displays eth0 and loopback, exactly the same on my mandrake box. I haven't tried pinging yet, but I can view my routers config page (http://192.168.1.1/). I have a go at pinging asap.

tomj88 04-15-2005 01:36 PM

nope nothing, any suggestions?

Golradir 04-15-2005 02:12 PM

Is /etc/resolv.conf configured correctly? It should look like this:
nameserver 123.123.123.123 (primary DNS)
nameserver 123.123.123.123 (secondary DNS)

MurphyB2005 04-15-2005 02:31 PM

I am having the same problem....

ifconfig lists both my eth0 and my loopback.

This is what it says in my /etc/resolv.conf -- "search csc.edu"

cooldave 04-15-2005 02:54 PM

What I do is go to my routers status page and make a note of the DNS server addresses. (I have a Linksys router) These will be the 'nameserver' entries mentioned previously for /etc/resolv.conf

Make sure your router address is in the gateway entry in /etc/rc.d/rc.inet1.conf (if you are not using dhcp).

-CD-

simon_w 04-22-2005 08:52 AM

Re: Problems with internet on slackware 10.0
 
Quote:

Originally posted by tomj88
I have recently swapped from Mandrake 10.1 to Slackware 10.0, and on Slackware I have no internet access - my network settings are all configured exactly the same as they were on Mandrake. I had a similar problem when I first installed Mandrake, to fix that I disabled IPv6 (echo "alias net-pf-10 off" >> /etc/modprobe.conf"). I tried doing that on Slackware but it did no good. The problem that I'm getting is when I type a URL into an address bar and press enter, I get a message telling me that it could not find the host name or the host name is unknown. The message comes up instantly, so its seems like it is not even trying to make a connection to the internet. Thanks
I've got exactly the same problem. In Slackware almost everything seems to default to using IPv6. Programs such as ping and traceroute work fine as I assume they use IPv4. After some googling I also found the "alias net-pf-10 off" line and tried that, but it didn't work for me either...

The only way I've managed to get a few select programs (Firefox, Thunderbird, gFTP, etc) to work is by disabling IPv6 in their config. For Firefox, type "about:config" in the address bar and search for networking.dns.

Does anyone know how to completely disable IPv6 in Slackware (2.6)

simon_w 04-23-2005 05:15 AM

Bump.

gbonvehi 04-23-2005 05:27 AM

If i'm not wrong Slackware doesn't have ipv6 support by default the kernel, and a solution is to not compile ipv6 support in the kernel :)


All times are GMT -5. The time now is 11:10 PM.