LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2005, 06:57 AM   #1
mconroy
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
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
 
Old 07-10-2005, 12:49 AM   #2
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpcd problem in Gentoo youngtaek.oh Linux - Networking 18 08-16-2005 10:15 AM
using dhcpcd on gentoo slows down application startup in KDE drowstar Linux - Networking 1 07-29-2005 01:59 PM
dhcpcd in Gentoo cj10111 Linux - Networking 5 02-22-2005 12:30 AM
ndiswrapper at bootime donbellioni Linux - Software 1 08-20-2004 02:37 PM
Filesystem check at bootime firestomper41 Mandriva 5 03-20-2004 12:07 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration