I built an LFS 7.0 system and wanted to add DHCP per the BLFS book.  I
found a few problems with the installation instructions and wanted to
bring them to someone's attention.

First of all, the current BLFS book has instructions for DHCP 3.0.6, so
this is what I used.  It compiled just fine in the same chroot
environment I used to build LFS.  But the BLFS boot script for the DHCP
client and the instructions in chapter 13 of the BLFS book led to files
being put where they wouldn't work with the LFS boot scripts.

There were two files:

/etc/sysconfig/network-devices/ifconfig.eth0/dhclient
/etc/sysconfig/network-devices/services/dhclient

In order to work with the /sbin/ifup script from LFS, I had to move the
first file to /etc/sysconfig/ifconfig.eth0 and the second
to /lib/services/dhclient.  And I had to add a line to the first file,
defining IFACE to be eth0.  After making these changes (and a change to
one of the files in the LFS boot scripts package), I got the DHCP client
to run at boot.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to