LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo dhcpcd bootime lockup (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-dhcpcd-bootime-lockup-341550/)

mconroy 07-09-2005 05:57 AM

Gentoo dhcpcd bootime lockup
 
Hello, I am running Gentoo kernel 2.6 and I have dhcpcd installed. My problem is that if I disconnect the cat 5 from the back the system wont boot it just attempts to acquire an IP indefinitely! I tried to add the line :
fallback_eth0( "apipa" )
to /etc/conf.d/net, but this didn't solve the problem. Does anyone know how to assign a
169.XXX.XXX.XXX IP upon dhcpcd failing? or at least how it will just fail and get over it and move on with life. Anyway thanks in advance to all who reply.

mike

gbhil 07-09-2005 11:49 PM

in /etc/conf.d/net:
iface_eth0="dhcp"
dhcpcd_eth0="<your options> -t 20"

the -t <integer> option is the timeout setting in seconds. If you require a "fake" net connection while running unplugged, use your loopback device or 127.0.0.1


All times are GMT -5. The time now is 08:13 AM.