How can I disable 'eth' at boot time?

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

How can I disable 'eth' at boot time?

Postby eduardhc » Fri Jun 29, 2007 10:38

Hi,
Does anybody know where is configured that 'eth0' should have be activated at boot time (other than using 'rc-update add net.eth0 default' - yet checked - it's not there ;) )?

I just upgraded my system basic packages (using "emerge -puvD system") and for some unknown reason the system now tries to activate 'eth0' at boot time using DHCP. I don't use eth0 but a wifi adaptor (wlan0) which I have configured manually through "/etc/conf.d/net", and which is started using /etc/init.d/net.wlan0 (through rc-update).

The problem is that it causes a delay at boot time while waiting for the (non-existent) DHCP server to respond.

Cheers
Eduard
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)

Postby sharke » Sun Jul 08, 2007 12:07

Have a look in the bios you may be able to disable it .
Regards
Sharke
sharke
Baby Hen
 
Posts: 8
Joined: Wed Jan 17, 2007 11:04
Location: Brisbane Australia

Postby dawn`chorus » Fri Jul 13, 2007 1:45

You could also try unmerging dhcpcd. Perhaps after you updated you did merged all the new etc configurations, instead of inspecting them one by one?

Section 8b of the Gentoo Handbook will probably help you as well. http://www.gentoo.org/doc/en/handbook/h ... #doc_chap2
dawn`chorus
Baby Hen
 
Posts: 12
Joined: Wed Jul 11, 2007 8:21

Postby eduardhc » Fri Jul 13, 2007 7:24

Sorry for completely forgotten the topic, but I got what I wanted exactly by doing this:

In /etc/conf.d/rc:
Code: Select all
RC_PLUG_SERVICES="!net.*"
RC_NET_STRICT_CHECKING="lo"


This way nor net.eth0 nor net.wlan0 try to get automatically initialized and, more importantly, 'netmount' doesn't fail because there are no network interfaces ready.

Previously this was causing all services depending on 'net' (specially MySQL and so MythTV backend) to fail to initialise if the computer powered on automatically at night while my wifi router was down.

Best regards, and thanks for the tips.
Eduard
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest