systemd waiting too long for network at Debian 8.0 Jessie's boot
The solution is fairly easy, just replace auto
to allow-hotplug
. So I ended up with this:
allow-hotplug lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.150.1
netmask 255.255.255.0
allow-hotplug eth1
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
allow-hotplug eth2
iface eth2 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
allow-hotplug eth0
iface eth0 inet dhcp
post-up brctl addbr br0
post-up brctl addif br0 eth1 eth2
post-up ifconfig br0 192.168.10.1
pre-down ifconfig br0 0.0.0.0
pre-down brctl delif br0 eth1 eth2
pre-down ifconfig br0 down
pre-down brctl delbr br0
Now system boots really fast.