I've solved the running twice issues, thanks. I'm kinda dense about the kernel support. I think I've turned on the correct options, but there quite a few sub-options. Iptables still complains loudly. I'm reluctant to turn everything on.
Which items/subitems in Networking ⇒ Networking Options ⇒ Network Packet Filtering ⇒ Core Netfilter Configuration (and) IP: Netfilter Configuration Are actually required to be ON ? Regards, Darcy Roberts > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Dan Nicholson > Sent: Wednesday, February 07, 2007 6:03 PM > To: LFS Support List > Subject: Re: Dhcpcd and iptables problems (BLFS 6.1) > > > These are BLFS questions, so you should probably ask on the > blfs-support list. However... > > On 2/7/07, Darcy Roberts <[EMAIL PROTECTED]> wrote: > > I've tried to get DCHPCD running. (BLFS 6.1) > > I would encourage you to try out the BLFS-6.2.0 release > candidate if you're using LFS-6.2. > > http://www.linuxfromscratch.org/blfs/view/6.2.0-rc2/ > > > After installing DHCPCD, I modified > > /etc/sysconfig/network-devices/ifconfig.eth0/ipv4 as follows: > > > > ONBOOT=yes > > SERVICE=dhcpcd > > #IP= > > #GATEWAY= > > #PREFIX= > > #BROADCAST= > > > > /etc/ntp.conf, resolv.conf and yp.conf appear to be > properly changed > > by dhcpcd at boot time. > > > > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd is > exactly like > > the book. > > The name of the file doesn't matter. The network script will > just try to process all files it finds in that directory that > have ONBOOT=yes. Since you have SERVICE=dhcpcd in both files, > it tries to run the dhcpcd service twice. You should probably > put the ipv4 file back to how it was before with > SERVICE=ipv4-static and change ONBOOT to no. > > > FATAL: Module ip_tables not found. > > Iptables v1.3.3: can't initialize iptables table `filter': iptables > > who? (do you need to insmod?) Perhaps insmod or your kernel > needs to > > be upgraded. > > > > - Where in the kernel is the iptables option? > > It says in the "Kernel Configuration" section of the iptables page. > > http://www.linuxfromscratch.org/blfs/view/6.2.0-rc2/postlfs/ip tables.html > FAILURE: > You should not be reading this error message. > > It means that an unforeseen error took place in > /etc/rc.d/rc3.d/S20network, which exited with a return value of 2. I might be wrong, but I think this is because the dhcpcd service doesn't exit gracefully if it's already running. But, if you fix the configuration to only run it once, everything should probably be fine. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
