LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 05-27-2008, 03:06 AM   #1
riondavid
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
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.
 
Old 05-27-2008, 04:42 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you complete section 7.13 of the book?
 
Old 05-27-2008, 07:42 AM   #3
riondavid
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 05-27-2008, 07:58 AM   #4
riondavid
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
In the middle of compiling of LFS,I have changed my VMWare from v5 to v6.
Maybe that is the reason.
 
Old 05-28-2008, 10:50 PM   #5
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
Quote:
Originally Posted by riondavid View Post
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 12:18 AM.
 
Old 05-29-2008, 05:20 AM   #6
riondavid
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 05-30-2008, 05:53 AM   #7
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
Quote:
Originally Posted by riondavid View Post
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 12:17 AM.
 
Old 12-05-2009, 07:59 PM   #8
moravia
LQ Newbie
 
Registered: Aug 2003
Distribution: primarily Red Hat
Posts: 13

Rep: Reputation: 0
/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
 
Old 02-07-2010, 10:38 AM   #9
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Rep: Reputation: 19
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 05:56 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Interface eth0 doesn't exist. [ WARN ]" on boot-up aleksanteri Linux From Scratch 10 11-07-2007 12:40 PM
"Interface eth0 does not exist" Whitesocks Linux - Networking 2 09-05-2005 04:19 AM
Virtual PC 2004 and VWware Workstation - "interface eth0 [failed]" abijahboaz Linux - Newbie 8 10-16-2004 07:53 PM
rh8.0 boot up stuck on "bringing up interface eth0" tnf Linux - Wireless Networking 7 03-22-2004 07:41 AM
RHL7.3 stops loading at "Bringing interface of eth0" rvijay17 Linux - General 1 10-10-2002 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration