On Mon, Nov 27, 2006 at 08:36:17PM +0100, Nicolas FRANCOIS wrote: > But I don't know how > to fit the doc tips to the book : it says that I should configure > an /etc/network/interfaces file for the eth0 port, and add something > like : > > # configuration eth0 for DHCP via Freebox > auto iface eth0 > iface eth0 inet dhcp > > How should this be translated to the BLFS system ? > I'm neither a Freebox user nor French, but I do use dhclient from the dhcp package. The instructions appear to be telling debian to use dhcp on eth0. On my workstations I have the following in /etc/sysconfig/network-devices/ifconfig.eth0/dhclient
ONBOOT=yes SERVICE="dhclient" DHCP_START="-1 eth0" DHCP_STOP="-r" Specifying eth0 in DHCP_START is probably unnecessary if there is only one interface. I omit the -q flag used in blfs (it means 'quiet', I guess - it's in the man page for dhclient - I prefer a 'noisy' boot). Basically, follow chapter 14 of the svn book for your preferred client, assuming you are building on a recent LFS system. The bootscripts and the content of the sysconfig dhclient (or dhcpcd) script will probably not all be correct for very old systems, e.g. my firewall is running an LFS-3.3 system , and has a somewhat different content and location for the variables. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
