LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-13-2005, 03:43 PM   #1
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
networking not working, nic is loaded, can ping router


I just switched from debian to slackware 10.1 after missing the pre-debian slackware 10 setup and for some reason, I cannot get my computer on the internet. The output of dmesg and lspci shows that my NIC is loaded. I can ping my router. I have tried using netconfig a few times to no avail after attempting both dhcp and static connections, although I would like to avoid using dhcp if possible. I have tried editing /etc/rc.d/rc.inet1.conf manually, switching from dhcp to manual config. I also thought that because everything seemed fine on the desktop, I would try to connect to the router (which it did easily) with mozilla and look around at the configuration and that seemed normal. Anybody have any suggestions, other files to look at, anything?
 
Old 02-13-2005, 03:49 PM   #2
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
if you can ping your router, you should just need:

ifconfig {your IP address} eth0
route add default gw {gw/router IP address} eth0

and add the following line to your /etc/resolv.conf
nameserver {gw/router IP address}
 
Old 02-13-2005, 04:03 PM   #3
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
ifconfig displays my requested ip properly so i skipped your first command.

did
route add default gw 192.168.0.1 eth0

/etc/resolv.conf is also correct

Still cannot connect to the outside world
 
Old 02-15-2005, 02:28 AM   #4
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
The thing that I don't understand is that I haven't changed the setup of any hardware or wiring. All of a sudden, a standard wired network cannot be automatically configured by linux. I tried 2 different debian releases, 2 different Slackware releases as well as a mepis live cd and an ubuntu live cd. Something tells me that the problem isn't the configuration on my box. I tried switching the wire to the other connections on my router to no avail. My router is a DI-614+. If anybody has had any weird problems with this router, I would definately be interested in hearing about it. It still doesn't seem as though it could be my router though because I am using the wireless connection right now and my roomate doesn't have any problem connecting to it with her Microsoft ME laptop (wired).

I am so lost with this. I don't even know what to google anymore... It seems I have checked everything.

Last edited by dns21; 02-15-2005 at 02:31 AM.
 
Old 02-15-2005, 04:08 AM   #5
jorasmi
Member
 
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111

Rep: Reputation: 15
just a guess. perhaps the dns ip's are not set properly. try http://216.109.112.135 its the yahoo ip address. try it just so will know
 
Old 02-15-2005, 09:49 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
....or maybe check if your /etc/resolv.conf file is readable for all.

egag
 
Old 02-15-2005, 06:59 PM   #7
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jorasmi
just a guess. perhaps the dns ip's are not set properly. try http://216.109.112.135 its the yahoo ip address. try it just so will know
did you want me to add this in my search path for resolv.conf?

Something new that I have noticed:
dmesg produces the following
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.

Is this just something they are asking as a favor or could this be important?
 
Old 02-15-2005, 06:59 PM   #8
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
my resolv.conf file is readable by all
 
Old 02-15-2005, 07:07 PM   #9
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
I can ping the ip for the yahoo ip address mentioned above...
 
Old 02-15-2005, 07:10 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
...and if you fill-in that ip in your browser, does it connect ?

egag
 
Old 02-15-2005, 07:26 PM   #11
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
didn't get a chance to... it's working now

The last two things I did were to pretty much recreate my resolv.conf file. I added 3 lines of search [ip address] that I found while searching around in my router configuration. I am guessing they are the dns addresses that my router connects to. Also, there was a typo in 'nameserver' that I corrected. reloaded the network, started x, opened my browser and everything began to work.

Although I am still baffled that 6 different linux distributions were not able to set up my network automatically, especially when 5 of them did it in the past.

All is finished. I'm sticking with slackware now. No more wasting time experimenting with other distros.
Slack = ~/
 
Old 02-16-2005, 12:47 AM   #12
jorasmi
Member
 
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111

Rep: Reputation: 15
i went into that problem when i choose to use the static ip setup but it never happen when i use the dhcp option. actually if you're going to setup windows client with static ip you'll also have to canfuge the dns servers, etc..
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
Can't ping second NIC donoss Linux - Networking 8 11-26-2004 11:28 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
2 External Nic, 1 Internal Nic Router Problem trevanda Linux - Networking 0 10-13-2004 01:20 AM
can't ping nic bjojoi Linux - Networking 7 09-03-2003 05:18 AM


All times are GMT -5. The time now is 03:39 AM.

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