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-645019/)

riondavid 05-27-2008 03:06 AM

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.

weibullguy 05-27-2008 04:42 AM

Did you complete section 7.13 of the book?

riondavid 05-27-2008 07:42 AM

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.

riondavid 05-27-2008 07:58 AM

In the middle of compiling of LFS,I have changed my VMWare from v5 to v6.
Maybe that is the reason.

Vitalie Ciubotaru 05-28-2008 10:50 PM

Quote:

Originally Posted by riondavid (Post 3165889)
In the middle of compiling of LFS,I have changed my VMWare from v5 to v6.
Maybe that is the reason.

No, this is not the reason (you are able to boot into your LFS box, right?).
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

riondavid 05-29-2008 05:20 AM

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.

Vitalie Ciubotaru 05-30-2008 05:53 AM

Quote:

Originally Posted by riondavid (Post 3167957)
I can't find the file /dev/eth0, but it doesn't look like a problem.

So you are confortable having no working network device? Maybe you do not understand, but you need to have a /dev/eth* file to communicate with your network card.
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.

moravia 12-05-2009 07:59 PM

/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

fancylad 02-07-2010 10:38 AM

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.