Environment:
Mandrake 7.1 (CD-ROM)
Linksys Router (which does DHCP)
Linksys NIC
CableModem
During the installation of I selected dhcpd/bootpd and left the IP address
blank. When I finished the installation and rebooted for the first time it
brought up eth0 ok [ PASSED ], but when it went to grap an IP from the DHCP
server (the router) it failed. The two windows machine handle the DHCP fine
so I know, I assume, that the DHCP server is working...
After I logged in I used DrakX to try to reluctantly specify an IP address:
192.168.1.103
(the other two (Windows) machines are .101 and .102 via DHCP).
Thought DrakX didn't complain or show an error this didn't worked. So I
tried adding a gateway:
192.168.1.1
No error, but didn't work either.
Then I went to the command line and typed ifconfig all I get back is
something like:
[root@tux /root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
I didn't see eth0 and I didn't see the loop back address 127.0.0.1, only
127.0.0.0 - i'm at a loss here.
When I typed route all I saw was something like:
[root@tux /root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
127.0.0.0 * 255.255.255.0 U 0 0 0 lo
Then when I tried for fun to add a gateway by hand:
route add -net default gw 192.168.1.1 dev eth0
it says something like SIOADDRNORT or something...
I've read 3 or 4 HOWTO about setting up the ethernet stuff, and none of it
has helped me.
Any suggestion on how to trouble shoot this. How can I determine for sure
that the OS is seeing my NIC?