Gentoo Archives: gentoo-user

From: Adam Carter <Adam.Carter@×××××××××.au>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Gentoo not starting with eth0, router not giving IP
Date: Thu, 25 Jan 2007 03:35:53
Message-Id: F59BD51F59033B4A88AE75CC7AB27DAF02D51094@shqw2ke001.optus.com.au
1 Recently after rebooting from Windows to Gentoo, I noticed I had
2 no internet access.
3 My router, which is set to give my mac address the same IP
4 (192.168.0.104), seems to
5 have decided NOT to do this anymore. Nothing has changed in my
6 settings on either my computer
7 or the router. I get the same thing for every OS (Gentoo LiveCD,
8 Gentoo installed, SuSE installed)
9 besides windows. I'm totally stumped. Sometimes eth0 gets
10 enabled at startup but gets no IP (SuSE),
11 other times (Gentoo & Gentoo LiveCD) it doesn't and I have to
12 run ifconfig eth0 up.
13
14 Running "route add eth0 192.168.0.1" returns "eth0: Host name
15 lookup failure"
16
17 Does the system have link? Depending on the driver, you may have to use
18 "mii-daig eth0" or "ethtool eth0" to show that. If you dont have link
19 you either have a dead cable, dead port on the router or dead NIC.
20
21 The route is of no use until you can get your DHCP stuff sorted out.
22 BTW, the format of the command you've shown is incorrect;
23
24 I use "route add default gw <ip address of gateway>", but until you can
25 ping the gateway there's no point in adding the route.
26
27 HTH,
28 Adam