Charles Steinkuehler's LEAF/LRP Website

Home ] Up ] Contents ] Links ] Search ] Contribute ] Mirrors ] c0wz mirrror ] Support ]

bind-8 ] [ dhclient ] dhcpd ] dnscache ] Extended Scripts ] Hard Disk Addon ] ifconfig ] IPSec 1.91 ] LaBrea ] LCDProc ] LRP-CD ] mawk ] nmap ] RAID ] ramdisk ] sniffit ] thttpd ] Utilities ] webalizer ] weblet/sh-httpd ]



The Internet Software Consortium DHCP Client, dhclient, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol, BOOTP protocol, or if these protocols fail, by statically assigning an address. For more info, see http://www.isc.org/.


ISC dhclient 2.0pl5
File Protocol Speed Site
dhclient.lrp http Fast

LEAF Sourceforge site

dhclient.lrp http Slow Local download

Example network.conf file

File Protocol Speed Site
network.conf http Fast

LEAF Sourceforge site

network.conf http Slow Local download


  1. Configuration of the dhclient package is done in network.conf
  2. Using the network.conf above as an example, merge in the chages required for dhcp support
  3. As an alternative, you can use the provided network.conf and modify it as required for your use.  If you are configuring your external interface (eth 0) with dhclient, you probably don't have to make any chaneges to the provided network.conf, unless you want to change the internal network addressing (defaults to net, router IP
  4. Make sure you remove the interface to be configured by dhclient from the IF_AUTO list, or the Materhorn and dhclient scripts can interfere with each other.
  5. Backup etc to save changes to network.conf
  6. Reboot



  1. If you are using this dhclient package with an exiting Materhorn disk image, be very careful when merging the changes required for network.conf.  In addition to the obvious statements between the 'Added for DHCP support' and 'end of changed made by Charles Steinkuehler for DHCP support', you also need to remove the interface you want dhclient to config from the IF_AUTO list.  This avoids interaction problems when both the Materhorn startup scripts and the dhclient scripts are trying to configure the interface.  I highly suggest you start with the network.conf file above and change it if necessary to match your setup
  2. June 27, 2000 - Updated to version 2.0.1 to fix a security bug.  DNSCache (if present) is also restarted if the assigned IP address changes (previous versions only reloaded the firewall rules).
  3. Sept 10, 2000 - Version 2.0pl5:  I made changes to the dhclient-script file because some folks were having problems with the interface being downed and not being brought back up.  This was an oversight initially, as the ifconfig does an implicit 'up' command when assigning the address.  In addition, the dhclinet.exclude.list file was added to prevent leases from being backed up as part of root.lrp.


10/05/00  13:17          44,773  dhclient.lrp

-rwx--x--x root/root       309 Oct 05 07:00 2000 etc/dhclient-enter-hooks
-rwxr-xr-x root/root      1453 Oct 05 07:39 2000 etc/dhclient-exit-hooks
-rwxr-xr-x root/root      9704 Oct 05 08:16 2000 etc/dhclient-script
-rw------- root/root      1388 Jan 27 13:37 2000 etc/dhclient.conf
-rwxr-xr-x root/root      1294 Feb 15 10:11 2000 etc/init.d/dhclient
-rwxr-xr-x root/root     84900 Oct 05 05:28 2000 usr/sbin/dhclient
-rw-r--r-- root/root       288 Jan 27 13:12 2000 var/lib/lrpkg/dhclient.conf
-rw------- root/root        25 Oct 05 05:22 2000 var/lib/lrpkg/dhclient.exclude.list
-rw-r--r-- root/root      2234 Jun 27 15:22 2000 var/lib/lrpkg/dhclient.help
-rw-r--r-- root/root        77 Feb 15 10:19 2000 var/lib/lrpkg/dhclient.list
-rw-r--r-- root/root         7 Oct 05 05:23 2000 var/lib/lrpkg/dhclient.version



Local Web Statistics
Send feedback about this web site.
Last modified: December 04, 2001