LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs. (https://www.linuxquestions.org/questions/linux-from-scratch-13/after-i-complete-the-compiling-of-lfs-interface-eth0-doesnt-exist-occurs-675592/)

weiguixm 10-10-2008 08:57 PM

After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs.
 
The situation is a little complicated.
Firstly,I've finished the compiling of LFS 6.3 on my workstation. The version of VMWare is 5.5.1. And NO problem occured.
And then I copied the "lfs.vmdk" file of LFS to my laptop, and run it in the VMWare 6.0.1 on my laptop. "Interface eth0 doesn't exist" occurs.
I can't find /dev/eth0.
But the LFS on my workstation also don't has /dev/eth0.

smbell100 10-10-2008 11:17 PM

/dev/eth0 doesn't exist on any of my machines. I have entries under /dev/net.

Try lspci to see what hardware is listed and ip link show to see how the interfaces are set up.

A problem I have using two different machines with one portable hard drive is that, although the machines are identical, interface eth0 on machine 1 becomes interface eth1 on machine 2, probably owing to different MAC addresses. Never bothered investigating as it all works. Perhaps lfs.vmdk needs adjusting to work on different hardware.

Hope this helps


All times are GMT -5. The time now is 09:52 PM.