Nelson, David (ED, PAR&D) wrote:
-----Original Message-----
From: Mihamina Rakotomandimby
[mailto:[EMAIL PROTECTED]
Sent: 03 January 2007 10:04
To: Gentoo mailing list
Subject: [gentoo-user] net.eth0 device initiated services


Hi,
I have /etc/init.d/net.eth0.
I dont want it to be launch at boot, but I dont want to delete it either
because it eases some things when I want to bring eth0 up.

My problem is although i "del" it from the boot process with rc-update,
net.eth0 is attempted to be brought up by some other tool.

When no cable is plugged, it slows as hell the boot process.

The message is "device initiated services: net.eth0".
Then bringing up attempt comes.
who the hell is trying to bring it up?

The answer is here:
http://www.linuxquestions.org/questions/showthread.php?p=2520311

        /etc/conf.d/rc

- RC_PLUG_SERVICES="" + RC_PLUG_SERVICES="!net.*"

--
[email protected] mailing list



I tend to set the eth0 dhcpcd timeout at ~5 seconds. The DHCP server I
usually use (the gentoo based server under my desk!) always responds
within 5 seconds. When I'm out and about and using/"borrowing" a
wireless connection it means that it only slows the boot process by 5
seconds and doesnt require me to manually enable or disable eth0.

David

Note: These views are my own, advice is provided with no guarantee of
success. I do not represent anyone else in any emails I send to this
list.

it might be a nice idea to look into how knoppix backgrounds the dhcp process and implement that into Gentoo's init, i think i did get annoyed with the dhcp process taking ages a few years back and just put a '&' at the end of the dhcp line, i cant remember if this worked or not tho.

--
[email protected] mailing list

Reply via email to