View previous topic :: View next topic |
Author |
Message |
subterfuge n00b
Joined: 15 Aug 2003 Posts: 60
|
Posted: Sun Aug 31, 2003 6:59 pm Post subject: odd problem with NIC...please help! |
|
|
It seems that I've read every thread on the forums about NIC problems. After having tried everything, it still doesn't work.
I'm on a cable connection using a netgear router as the gateway. Its IP is 192.168.0.1. The computer's IP is 192.168.0.3. The connection worked fine during install but now doesn't work.
lsmod shows:
route -n shows:
Code: | Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo |
I know this is incorrect but when I do:
Code: | route add default gw 192.168.0.1 |
I get:
Code: | STOCADDRT: Network is unreachable |
My resolv.conf file has the correct nameservers (they are the same as when I do ipconfig /all on the win machine on the network).
The conf.d/net file has the lines iface_eth0="dhcp" and gateway="eth0/192.168.0.1" uncommented.
I hope I've given enough info your you guys to help me out I've been trying forever but no other thread has helped. Thanks in advance. |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Aug 31, 2003 7:04 pm Post subject: |
|
|
please tell us what NIC you have in that computer?
because the problem is not the way your network! it's your NIC!
post the output of "lspci" or "cat /proc/pci"
cheers
SteveB |
|
Back to top |
|
|
jaska Bodhisattva
Joined: 06 Jun 2003 Posts: 725 Location: Finland
|
Posted: Sun Aug 31, 2003 7:07 pm Post subject: |
|
|
You dont need the gateway="*" part uncommented, that might be the problem. You also shouldnt have to change the settings by hand since DHCP will set those because you have a router. |
|
Back to top |
|
|
subterfuge n00b
Joined: 15 Aug 2003 Posts: 60
|
Posted: Sun Aug 31, 2003 7:23 pm Post subject: |
|
|
I have a 3com 3c905c (the tornado one). Like I said, it worked during the livecd install. I put the cd in to see if I could find the differences in the config files, but now I get the same problems as when I boot from the hard drive. |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Aug 31, 2003 8:08 pm Post subject: |
|
|
subterfuge wrote: | I have a 3com 3c905c (the tornado one). Like I said, it worked during the livecd install. I put the cd in to see if I could find the differences in the config files, but now I get the same problems as when I boot from the hard drive. |
try: Code: | rmmod 3c59x
ifconfig eth0 down
/etc/init.d/net.eth0 {stop,zap}
/etc/init.d/modules restart
/etc/init.d/net.eth0 start |
if this does not work, then try it the manual way and tell us if this works? Code: | ifconfig eth0 192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add default gw 192.168.0.1 dev eth0 |
cheers
SteveB |
|
Back to top |
|
|
subterfuge n00b
Joined: 15 Aug 2003 Posts: 60
|
Posted: Sun Aug 31, 2003 9:35 pm Post subject: |
|
|
ok, here's what happened:
Code: | rmmod 3c59x
ifconfig eth0 down
eth0: unknown interface: No such device |
So I try again in a sligthly different order and do
Code: | /etc/init.d/net.eth0 start
* Bringing eth0 up...
* Failed to bring eth0 up |
I tried the manual version. Didn't work the first time (192.168.0.1: Unknown host). I tried again and got no errors. So I tried www.google.com from konqueror and instead of getting "unknown host" right away it waits a little while then comes up.
Any other ideas? |
|
Back to top |
|
|
|