system tries to connect eth0 during init
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?
|
/etc/rc.d/rc.inet1.conf hope that helps. or
Quote:
|
Quote:
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. Markus |
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 If you then need to start that nic you just need to do this: Code:
/etc/init.d/net.eth0 start Code:
/etc/init.d/net.eth0 stop |
i92guboj:
Code:
andromeda ~ # rc-update del net.eth0 thanks for your time guys |
Do you have something in your /etc/conf.d/local* script(s)?
In any case, what version of baselayout are you using? |
In addition to removing it from the default runlevel, if you are on a stable system check out /etc/conf.d/rc;
Code:
RC_PLUG_SERVICES="!net.eth0" Code:
rc_hotplug="!net.eth0" |
Quote:
baselayout version.. how can I check? the default one, baselayout-1 I guess? |
Quote:
Code:
andrew@asus ~ $ equery list baselayout Code:
rc-update show |
equery list baselayout
Code:
[ Searching for package 'baselayout' in all categories among: ] |
All times are GMT -5. The time now is 03:33 AM. |