LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2004, 04:47 AM   #1
spectrescape
LQ Newbie
 
Registered: Jul 2004
Location: Chicago USA
Distribution: Slackware 10.0
Posts: 6

Rep: Reputation: 0
Slackware 10.0 ethernet (newbie)


i'm pretty much a Linux newb, so please bear with me - i just installed Slackware 10.0 on a box that's basically a bunch of parts cannibalized from elsewhere, so i can't really give hugely detailed specs. but i can detail the problem: in a nutshell, ethernet is not working. i don't even care about getting to the internet, i just want to be on my local network so my other boxes can see it. here's the details:

my router is 192.168.1.1

in initial setup, I set a static IP of 192.168.1.104, netmask 255.255.255.0

when i initially ran "ifconfig eth0," it showed the device as up, with an IP of 192.168.1.104 and broacast of 192.168.1.255

ran "ping 192.168.1.1" - got a "network is unreachable" error

then ran netconfig, and told it to use DHCP - then rebooted

tried to ping the router again, as well as another box on the network - still same "unreachable" result

here's the results of "route" (after having changed back to static IP) -

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

hopefully that's enough info, let me know if you need more. and thanks in advance - i've been trying to figure it out on my own, and am obviously missing something.

-chris
 
Old 07-06-2004, 05:14 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Was the system was assigned an IP via DHCP. If not, could the patch cord (network cable) be faulty?
 
Old 07-06-2004, 03:32 PM   #3
MikeZila
Member
 
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377

Rep: Reputation: 30
If your network has you set up with a static IP, why did you choose DHCP in netconfig? Try running "netconfig" as root again and choosing "Static IP", then entering all of you information. (It will ask for your IP, Gateway, and Netmask, if memory serves.)
 
Old 07-07-2004, 01:16 AM   #4
spectrescape
LQ Newbie
 
Registered: Jul 2004
Location: Chicago USA
Distribution: Slackware 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
ppuru:

no, the system was not assigned an IP by DHCP. Tried swapping the cable for a known good one - still no dice.



MikeZila:

i tried DHCP to see if i could get assigned an IP by my router (it's a Linksys that handles DHCP for my home network). the way the network's set up, the desktops have static IPs that are below the range that's assigned as DHCP (desktops are all 100-110, DHCP starts at 111). DHCP is used for laptops and such that plug and unplug from the network frequently.

but i tried "netconfig" again, picked "Static IP" and entered all my info - still nothing.


could it have something to do with a driver? i know nothing about drivers in Linux, but the ethernet is built into the motherboard if that makes any difference.

thanks for the responses guys

-chris
 
Old 07-07-2004, 03:05 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
can you post the output of

dmesg|grep eth

and

ifconfig -a
 
Old 07-08-2004, 01:31 AM   #6
spectrescape
LQ Newbie
 
Registered: Jul 2004
Location: Chicago USA
Distribution: Slackware 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
results of dmesg|grep eth

eth0: VIA 6103 PHY transciever found at address 1.
eth0: Using transciever found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 3, 00:07:95:32:df:e2.
eth0: Media Link On 100mbps full-duplex



results of ifconfig -a

eth0 Link encap:ethernet HWaddr 00:07:95:32:DF:E2
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
EtherTalk Phase 2 addr:65280/230
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1544 droppped:0 overruns:0 frame:1554
TX packets:31 errors:0 droppped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:1657 (1.6 kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
EtherTalk Phase 2 addr:0/0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 droppped:0 overruns:0 frame:0
TX packets:0 errors:0 droppped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0kb)


hope that helps - that "errors:1554" part seems a little iffy...

Last edited by spectrescape; 07-08-2004 at 05:37 PM.
 
Old 07-09-2004, 03:35 AM   #7
spectrescape
LQ Newbie
 
Registered: Jul 2004
Location: Chicago USA
Distribution: Slackware 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
well, i knew this was going to happen - just for fun, i bypassed the switch i had it connected to, and connected the box straight to the router. bingo - everything works. DNS even works. i totally wish i'd checked this like a week ago - sorry for wasting everyone's time, but thank you to those who tried to help this moron .
 
  


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
newbie;I am a linux newbie who has installed slackware and have run into a few proble MollyJolly Slackware - Installation 6 06-01-2004 11:21 AM
Nvidia ethernet-newbie needs help AhYup Linux - Hardware 4 04-01-2004 12:56 PM
Real newbie ethernet question Jdurr Linux - Networking 18 09-26-2003 12:09 AM
How To Update To Slackware-Current For a Newbie, By a Newbie :) windsok Slackware 1 09-18-2003 08:53 PM
newbie ethernet baffler simonjboyle Linux - Newbie 11 01-28-2003 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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