GentooThis forum is for the discussion of Gentoo Linux.
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.
everytime I boot up I have to wait until the dhcp request sent on eth0 times out - where is this configured, how can i tell gentoo not to try connecting via eth0 as part of init?
No, this will not work since Gentoo does not have a /etc/rc.d directory and no rc.inet1.conf file.
I've emerged ifplugd, this works for me (at least with Gentoo). I use this on my laptop since I normally use a wireless network and no cable is connected.
If you need to connect your computer in different networks, I'd recommend to look at netcfg, this allows for profiles for different networks. There are many excellent articles in the Gentoowiki.
The network configuration is done via /etc/conf.d/net, that's the place to look at. You will probably have a line for that interface (eth0) describing how to get an ip, which is via dhcp in this case.
You can do many things, but I'd suggest either to give it a fixed ip OR just do this and remove eth0 from all the runlevels:
Code:
rc-update del net.eth0
Which is even easier.
If you then need to start that nic you just need to do this:
andromeda ~ # rc-update del net.eth0
* 'net.eth0' not found in any of the specified runlevels
markush: emerging ifplugd did indeed work, but I'm not really satisified by magical fixes, so I'd still like to know why net.eth0 was being init'ed despite not showing up under rc-update show
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.