LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 04-07-2005, 01:45 PM   #1
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
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
 
Old 04-07-2005, 01:48 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
' /sbin/ifconfig -a ' shows your interfaces right ?
Did you run ' netconfig ' as root ?
 
Old 04-07-2005, 02:20 PM   #3
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
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
 
Old 04-12-2005, 02:42 PM   #4
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Original Poster
Rep: Reputation: 30
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.
 
Old 04-15-2005, 01:36 PM   #5
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Original Poster
Rep: Reputation: 30
nope nothing, any suggestions?
 
Old 04-15-2005, 02:12 PM   #6
Golradir
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Rep: Reputation: 15
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)
 
Old 04-15-2005, 02:31 PM   #7
MurphyB2005
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.1
Posts: 9

Rep: Reputation: 0
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"
 
Old 04-15-2005, 02:54 PM   #8
cooldave
LQ Newbie
 
Registered: Oct 2004
Location: Colorado
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
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-
 
Old 04-22-2005, 08:52 AM   #9
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Rep: Reputation: 15
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)
 
Old 04-23-2005, 05:15 AM   #10
simon_w
Member
 
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71

Rep: Reputation: 15
Bump.
 
Old 04-23-2005, 05:27 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.2 Problems: Display Server/SAMBA/Lisa/Finding the internet Steven_Shelton Slackware 7 11-22-2005 01:13 AM
No Internet In Slackware duffmckagan Slackware 22 06-19-2005 12:22 PM
HELP!!! PPPSetup and other Internet Problems - Slackware 10 mmarkvillanueva Linux - Networking 1 06-02-2005 04:03 AM
Problems connecting to internet using Slackware Dead_Linux_User Linux - Networking 11 09-14-2004 06:22 PM
Slackware 10.0 / Internet surf problems Clue-less1 Slackware 15 07-05-2004 07:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration