Linux - DistributionsThis 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
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.
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.
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.
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.
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.
#/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)
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:
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.
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?
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
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
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.