Set DHCP timeout in Gentoo

by
on
November 4, 2008

The default DHCP timeout is nearly 30 seconds on most Gentoo Linux systems. This can be a frustrating on startup if you already have wireless connected but are forced to wait on an unused ethernet interface. On most networks the DHCP timeout can be safely lowered without problems.

DHCP can be provided by many different modules, but I am assuming that you have the dhcpcd client installed for this example.

To change the timeout you need to add the following line to the networking configuration file located at /etc/conf.d/net.

dhcpcd_eth0="-t 3"

This line will set the DHCP timeout to 3 seconds for the ‘eth0‘ interface.

No Comments
gentoo
, , , ,

Related posts:

  1. Upgrade Gentoo Linux Kernel
  2. Setup NFS server on Gentoo
  3. Install Java browser plugin in Gentoo
  4. Run a command at boot with Gentoo
  5. Update your entire Gentoo Linux system

Comments (0)

No comments yet

Trackbacks (0)

No trackbacks yet

Leave a Comment

(displayed with your post)
(will not be published)
(optional)

Copyright 2008-2010 WiredRevolution.com. All rights reserved.