Em 18-02-2014 13:55, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Em 18-02-2014 12:49, Pierre Labastie escreveu:
>>> Le 18/02/2014 16:26, Oshadha Gunawardena a écrit :
>>>> Hi again all,
>>>>
>>>> I have completed my LFS build. And I wanted to install dhcpcd. So as
>>>> in the BLFS I have followed every step and it seems everything went well
>>>>
>>>> *make install-service-dhcpcd*
>>>> install -d -m 755 /lib/services
>>>> install -m 754 blfs/services/dhcpcd  /lib/services
>>>>
>>>> *cat /etc/sysconfig/ifconfig.eth0 *
>>>>
>>>> ONBOOT="yes"
>>>> IFACE="eth0"
>>>> SERVICE="dhcpcd"
>>>> DHCP_START="-b -q"
>>>> DHCP_STOP="-k"
>>>>
>>>> Once I boot in to the system it does not starting up automatically. I
>>>> always has to run the "dhcpcd" to get it up. So I'm wondering what
>>>> maybe the issue.
>>>>
>>> Just guessing here.
>>> Do you have any other file beginning with ifconfig in /etc/sysconfig?
>>> If there is one, does it have ONBOOT=no?
>>> Now coming to dhcpcd. Does it start when running:
>>> ---
>>> ifup eth0
>>> ---
>>> instead of dhcpcd?
>>
>> Good point.
>>
>> My previous LFS-7.4, had the interface named enp2s1:
>>
>> /etc/sysconfig/ifconfig.enp2s1
>>
>> My new LFS-7.5-rc1: eno16777736
>>
>> /etc/sysconfig/ifconfig.eno16777736
> 
> 
> You need to change IFACE="eno16777736"

Thanks. I did it yesterday. I wrote all that trying to help Oshadha, He
replied that there is no other file starting with ifconfig and probably
it shouldn't, even mor sure, after reading what you wrote further below.
He needs to search another place:

ls /sys/class/net/

> Or create a rule like:
> 
> $ cat /etc/udev/rules.d/70-persistent-net.rules
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single
> # line, and change only the value of the NAME= key.
> 
> # net device e1000e
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="00:25:64:38:ec:dd", ATTR{dev_id}=="0x0", 
> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
> 
> Note 1: Change the address as appropriate.  You may also need to change 
> KERNEL to "en*".

Thanks.

> 
> Note 2: The extension on the ifconfig file is irrelevant for the 
> scripts.  It only needs to be relevant to you.

I always forget this part. Thanks.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to