View previous topic :: View next topic |
Author |
Message |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Sat Oct 05, 2002 10:28 pm Post subject: DHCPCD times out waiting for a response. |
|
|
I just installed Gentoo 1.4 rc1 with the 2.5.40 kernel. For some reason whenever it tries to get an address from the DHCP server the connection times out. My first thought was that it had my two NICs mixed up, or that I had the wrong drivers for the one I was tyring to use, but the same thing occurs with both NICs. They'll both work on my LAN with a static IP, but not on the cable modem with DHCP. I also tried recompiling the kernel with a few more options installed, but nothing that I could think has fixed it.
When running under RedHat 8, it works just fine. All I can think of is that it must be a problem with the way DHCP is configured under Gentoo, but I don't know enough about it to just start mucking around. Can anyone help me out? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
obsidian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jul 2002 Posts: 12 Location: Germany
|
Posted: Sun Oct 06, 2002 2:35 pm Post subject: Kernel 2.5.. |
|
|
Hi,
could just as well be that your kernel does the broadcasting or whatever different from the way dhcpd expects. The unstable 2.5 series is definitely interesting, but I'd recommend trying 2.4. Maybe that fixes your problem.
Cheers,
Kevin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Sun Oct 06, 2002 8:15 pm Post subject: |
|
|
The problem with using the 2.4 kernel is that, for some reason, I can't get it to compile with USB HID support, and my motherboard is a no-legacy ABIT AT7. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Sun Oct 06, 2002 8:26 pm Post subject: |
|
|
How is your /etc/conf.d/net file configured? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Sun Oct 06, 2002 8:34 pm Post subject: |
|
|
It's basically just: As far as I know there's no options that need to be passed. When booting off the install cd I just do "dhcpcd eth0" and it works. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Mon Oct 07, 2002 12:01 am Post subject: |
|
|
Is dhcpd is running? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Mon Oct 07, 2002 1:45 am Post subject: |
|
|
Nope, dhcpd is not running.
I also installed pump, and that doesn't work either. I tried recompiling the kernel again with less extraneous options and made sure that I have everything that I can think of that would possibly be related to making DHCP work, and I'm still having the same problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Mon Oct 07, 2002 2:11 am Post subject: |
|
|
You can increase timeout with -t option
I had similar problems when using dhcp under WinXP and then booting under Gentoo. RH 7.3 worked well. It uses -d as an option for pump .
nonhuman wrote: | Nope, dhcpd is not running.
I also installed pump, and that doesn't work either. I tried recompiling the kernel again with less extraneous options and made sure that I have everything that I can think of that would possibly be related to making DHCP work, and I'm still having the same problem. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Mon Oct 07, 2002 2:41 am Post subject: |
|
|
I gave dhcpcd a timeout of 120, and now it works! Thanks!
Just to make sure, if I want to have it use a timeout of 120 at startup I add to the /etc/conf.d/net: Code: | dhcpcd_eth1="-t 120" | right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Mon Oct 07, 2002 2:51 am Post subject: |
|
|
It seems the DHCP problem was just indicitive of a broader problem. For some reason all networking under Gentoo is incredibly slow. It will sometimes take long enough to resolve a hostname that the connection will time out. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Mon Oct 07, 2002 3:36 am Post subject: |
|
|
If you are using eth1, correct.
Take a look at you resolv.conf before and after getting the IP.
Verify also if you don t have resource conflicts (like IRQs).
nonhuman wrote: | I gave dhcpcd a timeout of 120, and now it works! Thanks!
Just to make sure, if I want to have it use a timeout of 120 at startup I add to the /etc/conf.d/net: Code: | dhcpcd_eth1="-t 120" | right? |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Thu Nov 07, 2002 8:10 am Post subject: |
|
|
After a long hiatus in RedHat world, I've finally got the time to work on getting Gentoo up and running again. In my tinkerings tonight I've discovered that for some reason, Gentoo doesn't seem to like eth0 (the integrated NIC on my mobo) at all, while eth1, a tulip family card, works (compared to eth0). I still have the problem that the internet is so slow (nearly 1 min pings on everything) that connections tend to time out before anything can actually happen. I can't really think of what the problem might be, and I'm not really experienced enough with this sort of thing to start trouble shooting on my own. Does anyone have any ideas?
Oh, and I'm now using the 2.5.46 kernel (the 2.4s still won't compile with the options I need). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nonhuman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Fri Nov 08, 2002 9:46 pm Post subject: |
|
|
Has anyone else had this problem? I'm really running out of things to try here. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomkamphuys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Cars/6.gif)
Joined: 21 Jun 2002 Posts: 74 Location: The Netherlands, Den Ham (Ov.)
|
Posted: Sun Nov 10, 2002 5:21 pm Post subject: |
|
|
I've no idea about the slow connection, but the onboard nic problem sounds familiar. I had to add 'noapic' to the line in menu.lst containing kernel and root.
An other guy mentioned he had to disable USB, because there was something wrong with the irq's _________________ tap = hijskraan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|