LinuxQuestions.org
Help answer threads with 0 replies.
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 11-16-2010, 07:24 AM   #1
guodah
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Rep: Reputation: 0
Interface eth0 doesn't exist. LFS 6.5 on VirtualBox


I have built LFS 6.5 on VirtualBox.

The system can boot while getting an warning: "Interface eth0 doesn't exist.". After reading some posts on these forums, I suspect that I did not select the correct network device driver. But do not know what to do next.

Any idea?

Thanks a lot!
 
Old 11-16-2010, 07:34 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
You need a kernel module (built in or loaded) to match the virtual hardware. The default "PCnet-FAST III" requires the pcnet32 module.
 
Old 11-17-2010, 08:54 PM   #3
guodah
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Original Poster
Rep: Reputation: 0
catkin, Thanks!

How could I install the pcnet32 module? I did some search online. It seems pcnet32 is a VMWare tool/driver.

I tried "modprobe pcnet32" and it shows

Code:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module pcnet32 not found.
Any suggestions are greatly appreciated!
 
Old 11-17-2010, 09:10 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
pcnet32 is the module name in Slackware64 which is Linux-standard in most respects so that will probably be the name in LFS too. That being the case you could build the pcnet32 module. Alternatively you could change the virtual NIC's hardware to one that is already supported by your kernel modules if any.
 
Old 11-18-2010, 09:23 PM   #5
guodah
LQ Newbie
 
Registered: Sep 2010
Posts: 23

Original Poster
Rep: Reputation: 0
catkin: thanks for your pointer!

I followed the instruction at http://ckozler.net/?p=184 and eth0 interface can be found now!
 
Old 11-18-2010, 09:39 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Glad you solved it. The thread can be marked SOLVED using the Thread Tools menu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs. riondavid Linux From Scratch 8 02-07-2010 10:38 AM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 12:23 PM
Getting problem while booting LFS-6.3: Interface eth0 doesn't exist [WARN] saurabh.jain162 Linux - Newbie 6 11-09-2008 11:34 PM
After I complete the compiling of LFS,"Interface eth0 doesn't exist" occurs. weiguixm Linux From Scratch 1 10-10-2008 11:17 PM
Interface eth0 doesn't exist garbo73 Linux From Scratch 5 02-02-2006 07:45 AM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration