Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-27-2008, 04:06 AM
|
#1
|
LQ Newbie
Registered: May 2008
Posts: 4
Rep:
|
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.
|
|
|
05-27-2008, 05:42 AM
|
#2
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
Did you complete section 7.13 of the book?
|
|
|
05-27-2008, 08:42 AM
|
#3
|
LQ Newbie
Registered: May 2008
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
05-27-2008, 08:58 AM
|
#4
|
LQ Newbie
Registered: May 2008
Posts: 4
Original Poster
Rep:
|
In the middle of compiling of LFS,I have changed my VMWare from v5 to v6.
Maybe that is the reason.
|
|
|
05-28-2008, 11:50 PM
|
#5
|
Member
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153
Rep:
|
Quote:
Originally Posted by riondavid
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
Last edited by Vitalie Ciubotaru; 01-23-2009 at 01:18 AM.
|
|
|
05-29-2008, 06:20 AM
|
#6
|
LQ Newbie
Registered: May 2008
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
05-30-2008, 06:53 AM
|
#7
|
Member
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153
Rep:
|
Quote:
Originally Posted by riondavid
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.
Last edited by Vitalie Ciubotaru; 01-23-2009 at 01:17 AM.
|
|
|
12-05-2009, 08:59 PM
|
#8
|
LQ Newbie
Registered: Aug 2003
Distribution: primarily Red Hat
Posts: 13
Rep:
|
/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
|
|
|
02-07-2010, 11:38 AM
|
#9
|
Member
Registered: Mar 2008
Distribution: slackware
Posts: 175
Rep:
|
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.
Last edited by fancylad; 04-02-2010 at 06:56 PM.
|
|
|
All times are GMT -5. The time now is 08:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|