After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs.
After I complete the compiling of LFS(6.3) on VMWARE 6.0 and reboot the virtual machine, system shows "Interface eth0 doesn't exist".
In the "make config" step,I have already choosen ------------------------------------------------ "Device Drivers ---> Network device support ---> Ethernet (10 or 100Mbit) ---><*> AMD PCnet32 PCI support ". ---------------------------------------------------- This should be the driver of VMWare's network card. But "Interface eth0 doesn't exist" still occurs after reboot. Someone help me. Thanks a log. |
Did you complete section 7.13 of the book?
|
Of course,I've finished all the sections.
When I finished all the compiling of LFS,I found that I can connect with the host PC,and I even transfered one file from host to the LFS in VMWare. After that I restart the LFS using "shutdown -r now",and everyting gone well. But when I shutdown the LFS using "poweroff" and started it again,the message "Interface eth0 doesn't exist" occured. It's very strange. |
In the middle of compiling of LFS,I have changed my VMWare from v5 to v6.
Maybe that is the reason. |
Quote:
It's not clear if " AMD PCnet32 PCI support" was built into the kernel or compiled as module. If it is a module, check if is is loaded. Alternatively, check if the /dev/eth* file is actually created. hope this helps (c) druuna |
I'm sure I have build the network module into the kernel.
I can't find the file /dev/eth0,but it doesn't look like a problem. Now the network of LFS on my PC works well. (I finished the compiling on that PC.) But when I copied the VMWare files to my laptop, the message "Interface eth0 doesn't exist" occurs. I have recompiled the kernel on my laptop for several times,but the error still occured. I doubt that some thing in Chapter 6 should be redo as the hard environment has changed. This issue became more and more strange and makes me boring. :( The version of VMWare on my PC is 5.5.1,and the one on my laptop is 6.0.1. |
Quote:
Read the output of dmesg | less and the boot logs to see why exactly the device is not created. Review your configuration files (e.g. in /etc/sysconfig/network-devices). Finally, try to create the device manually. |
/dev/eth*
I know this thread is old, but Google directed me here on a search for a similar problem. Note: my network is working from the LFS LiveCD, but it has no /dev/eth* devices. I think that is a red herring. (I suspect my problem is that I did not compile support for my network card, but when I saw this thread, I felt I should append.)
P.S. I'm using VirtualBox rather than VMWare. LFS LiveCD is using pcnet32 and dmesg shows PCnet/FAST III 79C973 |
I've never seen a linux distribution with any /dev/eth* device files. As far as I understand network interfaces don't follow the regular "everything is a file in unix" rule.
|
All times are GMT -5. The time now is 02:23 PM. |