Omar wrote:
> Hi, all:
> The eth0 fails to start when I start up the LFS7.1 system. It prompts that 
>> Bringing up the eth0 interface... interface eth0 doesn't exist [FAIL]
>> I think it maybe correlative to the failure of chapter 7.2.1. It
>> gave the following information and failed to generate
>> /etc/udev/rules.d/70-persistent-net.rules file.

>> root:/# for NIC in /sys/class/net/* ; do
>>>     INTERFACE=${NIC##*/} udevadm test --action=add $NIC
>>> done

You are probably missing the correct ethernet driver in the kernel 
configuration.  What does the following give you?

   echo /sys/class/net/*

It should give something like:

   /sys/class/net/eth0 /sys/class/net/lo /sys/class/net/sit0

If you don't have eth0, then you need a different driver.

You can also check dmesg.  You should get something like:

[    3.362235] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 
00:25:64:38:ec:dd
[    3.362678] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network 
Connection
[    3.362957] e1000e 0000:00:19.0: eth0: MAC: 8, PHY: 8, PBA No: 2021FF-0FF

You can also try 'lspci' in your host system.  I have:

00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network 
Connection (rev 02)

   -- Bruce
-- 
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