LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-17-2005, 03:51 PM   #16
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58

It happened to me also, the module, I use via_rhine was loading too late so when I added it to /etc/modules.autoload.d/kernel-2.6 (use lsmod to make sure of the module) it fixed that. On my router-server I had two cards and it got reversed eth0 became eth1, that took me a while to figure out. Another thing to watch is etc-update.
 
Old 08-18-2005, 01:02 PM   #17
gruven
Member
 
Registered: Feb 2003
Location: Arkansas
Distribution: Debian
Posts: 87
Blog Entries: 3

Rep: Reputation: 15
A couple days ago they released an update to "baselayout", so if you did an update to your world, you would have gotten the package.

You must run etc-update if you have files that need to be updated. It will notify you after each emerge. This will keep your system running stable. It should fix the problem.
 
Old 08-24-2005, 04:47 PM   #18
cyber-worx
Member
 
Registered: May 2004
Location: England / Switzerland
Distribution: Gentoo, Ubuntu, Debian, Slackware
Posts: 138

Rep: Reputation: 15
I can only show you the door, It is you who must walk through it...

The reason that you guys are getting this problem after updating through emerge is because there is a new base layout now 2005.1 which changes a lot of the networking config.

Im working my way around the problem now. but this is WHY it is happening.

Hope this helps.

-Rob
 
Old 08-24-2005, 04:58 PM   #19
cyber-worx
Member
 
Registered: May 2004
Location: England / Switzerland
Distribution: Gentoo, Ubuntu, Debian, Slackware
Posts: 138

Rep: Reputation: 15
Solution:

If you have not done so allready,

Code:
cp /etc/conf.d/net.examp /etc/conf.d/net
Edit it with your favourite editor, the important bit to fix the module error is line 44:

Code:
#modules_eth0=( "udhcpc" )
uncomment it and change it to your favourite dhcpcd client, i use dhcpcd typically.

Thats it should all be fixed, to check, restart the interface:

Code:
/etc/init.d/net.eth0 restart
Hope this helps guys

-Rob
 
Old 09-02-2005, 07:37 AM   #20
SeaSharp
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
I also have the same problem after a

#emerge -u world

#/etc/init.d/net.eth0 start
/etc/init.d/net.eth0: line 683: interface_variable: command not found
/etc/init.d/net.eth0: line 466: interface_variable: command not found
grep: /proc/net/wireless: No such file or directory
* Bringing up eth0
* dhcp
* No loaded modules provide "dhcp" (dhcp_start)

#dmesg |grep eth0
eth0: Broadcom 4400 10/100BaseT Ethernet 00:c0:9f:6d:f3:f3


I also have some problems with loopback:

* Starting lo
* Bringing up lo...
/etc/init.d/net.lo: line 664 interface_loopback_create: command not found
 
Old 09-06-2005, 11:54 AM   #21
valleyman05
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Gentoo DHCP Article

Check out the section under DHCP on this page http://www.gentoo.org/doc/en/handboo...?part=4&chap=3
 
Old 09-12-2005, 09:28 AM   #22
valleyman05
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
It's Working!

Here is what I had to do to get it to work:

1. Edit my /etc/portage/package.keywords to include the following entry, which unmasks a newer version of dhcpcd:
=net-misc/dhcpcd-1.3.22_p4-r12 ~x86

2. Edit my /etc/conf.d/net file and comment out the lines for iface_eth0="dhcp" and iface_eth1="dhcp" (These lines are no longer needed after doing an emerge -u world because Gentoo does dhcp by default on all interfaces unless you configure it not to do so).

3. The new commands, if you want to configure dhcp with other options, are as follows:

config_eth0=( "dhcp" )
dhcpcd_eth0="-t 5" ****Or any other options that you want to include*****
dhcpcd_eth0="release"

You can do this for other interfaces as well. If you have more than one dhcp module installed on your system, you have to set the one you want to use in the /etc/conf.d/net file like this:

modules=( "dhcpcd" )
 
Old 09-22-2005, 05:27 PM   #23
superstuntguy
LQ Newbie
 
Registered: Feb 2005
Location: Somewhere...
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Livecd works, not after restarted

I believe the problem is something to do with the fact that the livecd version can use the drivers, but the installed version can't (if this was not said already)

I for one, use a via chipset and have problems on gentoo after rebooting, apparently eth0 does not exist (sigh)

an edit will come with the details once i get to my gentoo computer

[edit] Apparently, the drivers are not installed for the card, so its off to find a driver.

Last edited by superstuntguy; 09-22-2005 at 07:37 PM.
 
Old 10-01-2005, 06:02 PM   #24
lowebb
Member
 
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
Hi,

I'm getting this same error "eth0 does not exist"

I've tried the various solutions which have been posted on this thread and it is very irritating, paricularly because when using the livecd the "net-setup eth0" script gets the network connection up and running great but from some reason upon reboot without the livecd I cannot get the connection up and running.

Surely if it can be done on the livecd so easily there should be no issue at all in doing it from the hard drive install?

Any help would be great
 
Old 10-01-2005, 06:28 PM   #25
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
First as root ifconfig eth0 If eth0 is there dhcpcd if it is not there you will need to load the module for your card
 
Old 10-01-2005, 06:52 PM   #26
lowebb
Member
 
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
Hi,

Thanks for responding. the eth0 is not there, that seems to be the problem. This is probably a dumb question but where do I get the module for my card. The livecd (net-setup etho) seemed to pick it up easily enough but I'm not sure how to do it manually

Your help is most appreciated
 
Old 10-01-2005, 07:01 PM   #27
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Did you install your own kernel or genkernel? To see the modules name boot the live cd and do a lsmod and to find your card dmesg | grep eth0 The | is on my keyboard between + and backspace w/ shift
 
Old 10-01-2005, 07:24 PM   #28
lowebb
Member
 
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
I done a manual install. I'm gonna to a recompile of the kernel after enabling most of the ethernet card drivers for 3COM (make of my card) and see if that will solve the problem. If it doesnt I'm gonna be back on here in the morning begging for more help

Do you think this will work?
 
Old 10-01-2005, 07:31 PM   #29
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Yes it will work. My suggestion is to build them as "m" modules. I have done it before without compiling the whole kernel
Code:
cd /usr/src/linux
make menuconfig
select your card under networking eternet etc
make
make modules_install
modprobe the module
ifconfig eth0 (see if it shows up)
dhcpcd eth0

Last edited by comprookie2000; 10-01-2005 at 07:33 PM.
 
Old 10-02-2005, 09:24 AM   #30
lowebb
Member
 
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
Yeah that worked great, hanks for your help. I followed the gentoo handbook to the word but it didnt mention anything about this which is an error. I've been reading a few forums and I'm not the first to make this (basic) error. If there was a gentoo sub-forum here it might be a good idea to make a sticky thread with this

cheers
 
  


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
eth0 doesn't exist in Gentoo Continuum Linux - Networking 8 05-10-2006 08:36 AM
Networking: eth0 does not exist (gentoo) symmet Linux - Networking 19 10-07-2005 10:54 AM
eth0 does not exist question Dahshouin Linux - Newbie 1 09-12-2005 12:48 AM
Eth0 does'nt exist???? matthewa Linux From Scratch 1 06-08-2005 02:54 PM
eth0 and eth1 can't co-exist satimis Linux - Hardware 1 11-12-2003 08:09 AM

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

All times are GMT -5. The time now is 12:49 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