You are not logged in.

#1 2011-11-27 12:19:03

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

netfs causing slow boot, waiting for wifi?

Since adding netfs to the daemons in rc.conf my laptop takes about 30-40secs longer to startup. I realise netfs must be waiting for the network (WiFi) to connect but I have nfsd running as background (@) so I don't know how to fix this.

Actually I don't need the mounted NFS drive from boot so maybe I can run some script from rc.local to start nfs later and mount the drives?

My computer has a static IP setup in network client, could I fix the problem above by "hardwiring" the net config from rc.conf, making the WiFi connect faster?

Last edited by dabbi2000 (2011-11-27 14:10:56)

Offline

#2 2011-11-27 13:01:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: netfs causing slow boot, waiting for wifi?

nfsd is the nfs server - are you sure you need that running on your laptop?

You didn't say which network utility you're using, but afaik all of them have some do-this-after-connecting facility e.g. netcfg has PRE_UP/POST_UP/PRE_DOWN/POST_DOWN - I use that to make sure my nfs shares are mounted/unmounted after/before the network comes up/down.

Offline

#3 2011-11-27 14:03:10

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: netfs causing slow boot, waiting for wifi?

Really sorry, I meant NETFS not NFSD! (have corrected in first post)

Last edited by dabbi2000 (2011-11-27 14:11:39)

Offline

Board footer

Powered by FluxBB