Linmao Song wrote:
> Hi,
>
> I followed the instructions to build, and install dhcpcd-5.6.1. Not
> sure what went wrong, but upon reboot, the following error shows up:
>
>     Bring up the eth0 interface...
>     Unable to process /etc/sysconfig/ifconfig.eth0. Either the SERVICE 
> 'dhcpcd'
> ***not present or cannot be executed.
>
> Did some diagnose and this seems to be output by '/sbin/ifup'. And
> this script seems to be looking for dhcpd under directory
> /lib/services/dhcpcd, which wasn't present in my installation.
>
> It appears adding a symbolic link fixes the problem:
> cd /lib/services
> ln -s /sbin/dhcpcd dhcpcd
>
> However, I suspect the root cause was I missed someting. But going
> through the instruction page, I don't seem to find any steps I missed.
>
> Any ideas?

Sure.  Follow the instructions in the dhcpcd page.  Specifically:

To configure dhcpcd, you need to first install the network service 
script, /lib/services/dhcpcd included in the blfs-bootscripts-20120702 
package (as user root):

make install-service-dhcpcd

That symlink you made is wrong.

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

Reply via email to