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 |
Was the system was assigned an IP via DHCP. If not, could the patch cord (network cable) be faulty?
|
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.)
|
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 |
can you post the output of
dmesg|grep eth and ifconfig -a |
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... |
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 ;).
|
All times are GMT -5. The time now is 09:26 PM. |