LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2005, 03:54 PM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
waiting too long for DHCP to get an address


Whenever I go somewhere that doesn't have wireless, booting up takes too long when it has to wait for an IP address. Is there a way to set-up a timeout so that the boot process won't take so long? I don't want to have to disable eth1 booting up with the machine.
 
Old 11-20-2005, 09:56 AM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
In gentoo it's possible to change the timeout for this:

* Edit the init script for wireless LAN (should be /etc/init.d/wireless);
* In the function "start()", find the line where the DHCP client (dhcpcd) is started;
* Between "dhcpcd" and the name of the interface, add "-t 10" for a 10 sec. timeout, or whatever timeout you'd like. The default is 60 secs.

Maybe another DHCP client is used in your setup (dhclient, pump), in that case I suggest you check the man pages for those client to see if they also have a timeout option. I only know about dhcpcd myself.
 
  


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
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
Mandrake 10.1 - long waiting before login Belegdol Mandriva 15 11-17-2004 07:27 AM
xmule long waiting download status...... chunlee Linux - Software 3 08-24-2004 01:08 PM
Linux times out waiting for a valid dhcp response enigma Z Linux - Networking 11 10-29-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:35 AM.

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
Open Source Consulting | Domain Registration