You are not logged in.

#1 2009-02-01 05:25:14

viga
Member
Registered: 2007-06-12
Posts: 112

Starting Network takes for ever [SOLVED]

When I boot arch most of the process is very fast until it gets to Starting Network   (busy).

The booting process stops and takes 15 to 25 seconds to proceed.

Is there a way to speed the starting network process?  I use a wireless card.  My wireless is connecting on eth1  I am using the default /etc/rc.config

Thank you

Thank you Diaz   I placed @ in front of network in rc.conf DAEMONS.  It worked!  My boot time went from 45 seconds to 20.

This is a great tip

Last edited by viga (2009-02-01 15:01:13)

Offline

#2 2009-02-01 06:21:56

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: Starting Network takes for ever [SOLVED]

you can background your network daemon, just put an "@" before the one you want to background in DAEMONS array in rc.conf.

Offline

#3 2009-02-01 10:01:59

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Starting Network takes for ever [SOLVED]

You can also assign yourself a fixed IP on your LAN, make sure it is outside the DHCP address range of your router, e.g. my router assigns IP addresses 10.0.0.4 to 10.0.0.20 so my laptop wireless is fixed at 10.0.0.21. I don't know why DHCP takes a noticeable time on my router (5-10 seconds).

Offline

#4 2009-02-01 13:29:29

Maos
Member
Registered: 2006-11-09
Posts: 46

Re: Starting Network takes for ever [SOLVED]

I had a similar situation when I got my laptop because I use "net-profiles" in daemons to get the wlan configured and "network" for the lan (this can probably be fixed in some good way but just haven't bothered with it).

However I rarely use lan but still thought it would be nice to have the possibility without doing it manually but that stalled the startup for a long time as it must timeout before continuing.
At least before I realized that it must be possible to background it (which was a "doh!-moment") as Diaz wrote.
(So in reality I had the lan disbled for a really long time).

Offline

#5 2009-02-01 14:59:49

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Starting Network takes for ever [SOLVED]

Yeah, background the network daemon and don't tell it to configure connections you don't use. Ex.: you have two network cards but you just use one, if you tell it to configure both by dhcp it will take ages to configure the one that isn't connected.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB