Le 20/03/2013 07:41, xinglp a écrit :
> 2013/3/20 Rubin Saifi<rubinsa...@live.com>:
>> /run/var/bootlog : no such file or directory
>> /etc/sysconfig/ifconfig.eth0 ->  well configured
>> /etc/sysconfig/network ->  well configured
>> ifup eth0 ->  no device eth0
>>
>>
>> i am done with the LFS book and the LFSBox is up and running but before the
>> root login it shows that no interface eth0 , no such device etc,...... what
>> should be done to get eth0 up and working
> What's in /sys/class/net ?
Also, you can try 'ip link list'. It should give you the name of the 
network interface (together with some other information). Modern udev 
tends to rename network interface to names like enpXsY where X and Y are 
numbers.
It is also possible that you did not enable your specific network card 
in the kernel configuration.
If you find some enpXsY either by doing ip link list or by listing 
/sys/class/net, try replacing the line 'IFACE=eth0' by IFACE='enpXsY' in 
/etc/sysconfig/ifconfig.eth0 (renaming the file is not mandatory, 
although it is cleaner IMHO).

Regards
Pierre

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