Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 08-27-2005, 06:25 AM   #1
Registered: Sep 2004
Location: JiangsuChina
Distribution: LOVEHuiKai
Posts: 38

Rep: Reputation: 15
Reboot LFS6.1:Interface eth0 doesn't exist!

cat /etc/hosts
# Begin /etc/hosts (no network card version) LoveHuikai localhost
cat h/etc/sysconfig/network-devices/ifconfig.eth0/ipv4
cat h/etc/resolv.conf
# Begin /etc/resolv.conf
Old 08-27-2005, 08:04 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Old 08-29-2005, 04:21 AM   #3
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Are you trying to setup a ethernet connection?

If so, it has a-lot to do with the drivers you loaded before the initialization script started.

If not, you don't need to worry about it.
Old 08-31-2005, 11:57 AM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Support for Ethernet cards is often provided by a loadable driver-module, of which there seem to be many dozen in a typical "distro." If your (original) system is up, you can figure out which one is actually used via lsmod. There's a very good chance that it's a single driver called tulip.

What you need to do, then, is to include that driver in your kernel. I prefer to have all device-drivers that are actually needed by my system, right in my kernel, and to omit all of the rest so that loadable kernel-modules are needed for any step of routine system operation .. certainly not for startup.

Failing that, you'll need to make sure that the proper module is loaded, perhaps by surfing the dmesg command-output. That mechanism has changed considerably from 2.4 to 2.6. (And perhaps that's the biggest reason why I chose to avoid it entirely.)

Yeah, it might take a little bit of recompiling ... maybe a lot (not too likely) ... but hey, that's why you're here and not over there, eh?

Last edited by sundialsvcs; 08-31-2005 at 12:01 PM.
Old 09-07-2005, 06:04 AM   #5
Registered: Sep 2005
Posts: 30

Rep: Reputation: 15
Install lspci. It will give you a list of what hardware you have and give you a clue of what driver you need to get the network card to work. Remember the name it lists for your card, then go to your kernel sources, run make menuconfig and check the list for any driver that might fit that name.

Then you compile the kernel with support for the driver, install the new kernel and problem will be solved. Hopefully. =)


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
"Interface eth0 does not exist" Whitesocks Linux - Networking 2 09-05-2005 04:19 AM
tun interface does not exist in slackware 10.1 with kernel antken Linux - Networking 1 05-29-2005 09:10 PM
Bringing up interface eth0 Delaying eth0 initialization. [ FA bansal_ashok Linux - Networking 4 05-27-2005 10:09 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM
eth0 interface intialization fails during reboot from windows to linux dhanakom Linux - Networking 6 07-20-2003 07:10 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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