Gentoo Archives: gentoo-laptop

From: Pavel Riha <Pavel.Riha@××××××××.cz>
To: gentoo-laptop@l.g.o
Subject: Re: [gentoo-laptop] Abort network startup when cable not connected
Date: Wed, 18 May 2005 06:53:13
In Reply to: [gentoo-laptop] Abort network startup when cable not connected by Zander Z365
On Tue, May 17, 2005 at 06:12:09PM -0400, Zander Z365 wrote:
> Hi, > > This is probably an easy one. > My laptop has two network connections: hardwired (default) and > wireless(starts manually). Both are working fine. However, when I > boot up my laptop without the NIC cable connected it takes a very long > time to boot. This is because the net.eth0 script keeps trying to > start networking.
You can change the default timeout for DHCP: /etc/conf.d/net: dhcpcd_eth0="-t 3" for example
> I have an older laptop with SuSe 9.2 and it does > not have this problem. > > How can I configure the startup script so that networking will not be > started if the cable is not connected?
-- Pavel Riha ====================================================================== Vede-li tì skuhrající havran, dojde¹ k mr¹inì. -- arabské pøísloví -- gentoo-laptop@g.o mailing list