Howto remove delay on booting because of networking

Elleni

Active Member
Jul 6, 2020
181
11
38
51
I have a laptop which has ethernet via usb-to-eth Adapter, another one via eth via Docking station and finally a wireless network.

Everything works in principle only it takes long time till boot is finished - I guess as it waits for some device to come up which is not in use right now.

Furthermore the laptop has a wireless network card, which is not configured in the /etc/networking/interface file, as that way if I read the documentation correctly Networkmanager (installed by the debian part of the installation - Proxmox was intstalled on top) takes care of it. The idea is that either the host can use the wireless card or it is passed through to one vm so it can access it directly.

Everything works in principle although I still have to test if we can use just one bridge for both eth options - normally just one of the two is plugged in, either docking station or eth adapter. I'll also check what happens if both are attached.

However - despite everything working, there is one annoying thing, and its the boot time which takes like minutes because of the networking configuration delaying the boot to finish. Following the networking config. How can this be solved?

Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto enx14cb19002129
Allow-hotplug enx14cb19002129
iface enx14cb19002129 inet manual

auto enx5882a88dbef6
Allow-hotplug enx5882a88dbef6
iface enx5882a88dbef6 inet manual

auto vmbr0
iface vmbr0 inet dhcp
bridge-ports enx14cb19002129 enx5882a88dbef6
bridge-stp off
bridge-fd 0

post-up echo 8 > /sys/class/net/vmbr0/bridge/group_fwd_mask

#auto vmbr1
#iface vmbr1 inet dhcp
#bridge-ports enx5882a88dbef6
#bridge-stp off
#bridge-fd 0

#post-up echo 8 > /sys/class/net/vmbr1/bridge/group_fwd_mask