[lfs-support] eth0 issue NO SUCH DEVICE
bruce.dubbs at gmail.com
Wed Mar 20 09:37:54 PDT 2013
Pierre Labastie wrote:
> Le 20/03/2013 07:41, xinglp a écrit :
>> 2013/3/20 Rubin Saifi<rubinsaifi at live.com>:
>>> /run/var/bootlog : no such file or directory
That's specifically deleted at the end of the boot process. Try
/var/log/boot.log which is a copy after the disk becomes writable.
>>> /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
> 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).
Another issue is the hw environment. If working in a virtual
environment, eth0 may not exist and the interface will be something like
enp1s3. Normally this is renamed by udev, but it is purposely skipped
in a virtual environment.
More information about the lfs-support