I have a Raspberry Pi 2 here that's running the latest Minibian image, plus a few needed items - vsftpd
, wpasupplicant
, firmware for the Edimax Wi-Fi Adapter, mono-runtime
, and a few others. However, I've noticed that during boot, it tries to configure the network interface to get onto the network. I'm alright with that, however it seems to block up the boot process, not letting anything else go while it sits there and gets a DHCPOFFER
from the router.
Is there any way I could have the network configuration occur in the background while the rest of the system boots?
EDIT after @goldilocks helped pinpoint -
Seems like ifup
is calling for dhclient
to start. ifup -v
confirmed it. Is there any way I can have ifup
pass -nw
to dhclient
?
dhclient
will fork after it gets a lease, but it can be instantiated to fork immediately with-nw
. You have to figure out which service is startingdhclient
and how to configure it to do that... – goldilocks Mar 20 '15 at 13:03htop
so I can see the process tree. I see onedhclient -v -pf
running directly offinit
. – sctjkc01 Mar 20 '15 at 13:07/etc/init.d/networking
I find it callsifup
when booting up, which is what seems to be callingdhclient
... and oneifup -v
just confirmed it for me. – sctjkc01 Mar 20 '15 at 13:37