You are not logged in.

#1 2012-01-18 08:27:55

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

[Solved]Lengthy network init during boot

While I wait for an answer to a more important question, I thought that I'd just pose this one.

The thing is that I've installed Arch on and SSD (why you ask? because I could wink ) and that's all well and good, but the 30 second halt during boot, for the purpose of setting up the networks (or whatever it does), I could certainly be without, thus I ask you all what, if anything, I can do about it.


Best regards

Last edited by zacariaz (2012-01-18 08:54:39)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#2 2012-01-18 08:35:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Lengthy network init during boot

You can background the daemons in rc.conf by prefixing it with '@':

DAEMONS=(... @network ...)

Offline

#3 2012-01-18 08:38:50

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]Lengthy network init during boot

karol wrote:

You can background the daemons in rc.conf by prefixing it with '@':

DAEMONS=(... @network ...)

That is very cool, not least Because it's easy to remember.

But is it save to do? Might I experience problems or will the result be exactly the same?

Can this be done with any other deamon without trouble?


Best regards.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#4 2012-01-18 08:41:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Lengthy network init during boot

It's a standard way of speeding up your boot, I have been doing it for years w/o any problems.
Just don't expect the network to be up as soon as your computer finishes booting, it may take a couple seconds more for the network to "catch up".


Edit: Sure, you can do it with other daemons, I have

DAEMONS=(syslog-ng dbus @acpid @gpm @network @crond @alsa @atd @vnstat)

I'm not backgrounding the first two, because I want to have things logged (syslog-ng) and dbus is needed for the other stuff to work, so I want to make sure it gets loaded first.

Last edited by karol (2012-01-18 08:45:01)

Offline

#5 2012-01-18 08:46:58

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]Lengthy network init during boot

karol wrote:

It's a standard way of speeding up your boot, I have been doing it for years w/o any problems.
Just don't expect the network to be up as soon as your computer finishes booting, it may take a couple seconds more for the network to "catch up".

Well, before the xserver is up and running and such, it will probably be over with.

Anyway, just to make sure...

DAEMONS=(@syslog-ng @network @crond @dbus)

Would be completely safe? How about changing the order?


Well, I guess it's fine for now, but an instant boot is all noob geeks dream wink


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#6 2012-01-18 08:51:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Lengthy network init during boot

I think dbus should be in the front.
I've never actually checked what's the difference between backgrounded and straight syslog but if I'm correct, if something goes wrong, it might not get logged and you will be in the dark wrt to what exactly went wrong.

Offline

#7 2012-01-18 08:53:01

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved]Lengthy network init during boot

Ok, that settles it. Thanks a lot.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

Board footer

Powered by FluxBB