View previous topic :: View next topic |
Author |
Message |
paulzeromi n00b
Joined: 06 Mar 2006 Posts: 10
|
Posted: Sun May 27, 2007 6:47 pm Post subject: dhcpcd timeout for eth0 |
|
|
I just finished installing Gentoo 2007.0 on my desktop with no problems. I used genkernel with one extra SATA option enabled. I have a wired network at home and was able to connect just fine during install. Afterwords, on my first boot, dhcpcd continuously times out. I have tried using a 60 second timeout instead of the default 20, but i still get nothing. |
|
Back to top |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Sun May 27, 2007 7:27 pm Post subject: |
|
|
What happens when you statically assign an IP to the NIC ? Have you tried pinging a host
on your network after doing that ? You could also check your media with "mii-tool"
It's from "sys-apps/net-tools"
If possible check the logs on your DHCP server, it should give you a little more
information on why it's not assigning IP addresses...
-m _________________ choff. |
|
Back to top |
|
|
paulzeromi n00b
Joined: 06 Mar 2006 Posts: 10
|
Posted: Sun May 27, 2007 8:04 pm Post subject: |
|
|
I'm not too up-to-snuff on assigning static IP addresses in Linux, but I gave it an IP of 192.168.0.35, a netmask of 255.255.255.0, and had the route set up through the router (192.168.0.1) I couldn't ping other computers on the network from the linux PC or vice versa. |
|
Back to top |
|
|
ecks n00b
Joined: 27 Feb 2007 Posts: 64
|
Posted: Sun May 27, 2007 9:45 pm Post subject: |
|
|
can u ping the router or yourself? is the router your own personal one or is it an ISP router that you have no control over? also, if it works on the original live CD, you probably can check in /etc/conf.d/net and for the generic dhcp options copy what they have. |
|
Back to top |
|
|
paulzeromi n00b
Joined: 06 Mar 2006 Posts: 10
|
Posted: Mon May 28, 2007 12:44 am Post subject: |
|
|
I can't ping my router with the static IP. On the Live CD, i didn't run any configuration at all, it just worked out of the box. |
|
Back to top |
|
|
ecks n00b
Joined: 27 Feb 2007 Posts: 64
|
Posted: Mon May 28, 2007 1:56 am Post subject: |
|
|
Can u ping the ip address 127.0.0.1? And when u type ifconfig (u must do it as root), do u see an ip address associated with eth0, and is it UP or DOWN? What I meant when starting your liveCD is, if it worked out-of-the-box (u didnt have to configure it), you can just look at the /etc/conf.d/net config file, look for the option with dhcp_eth0 and check to see what options are included, and copy those options to the configuration that you have when you remove the liveCD and boot normally into your newly configured OS, in the same place, only on your harddrive rather than a CD. |
|
Back to top |
|
|
paulzeromi n00b
Joined: 06 Mar 2006 Posts: 10
|
Posted: Mon May 28, 2007 5:20 pm Post subject: |
|
|
Guess who's an idiot? I had originally used genkernel, but decided to rerun the installation with a manually configured kernel. Genkernel didn't compile with the proper network drivers (I have a gigabit NIC, it only gave me 100 Mbps) and now its working fine and I'm installing Gnome.
Thank you for all of the help anyway. |
|
Back to top |
|
|
|