I am using devuan linux for my laptop after leaving debian back due to the first's better sequrity and its simplicity compared to debian.
I am really happy with it but I have the next problem:
When the OS starts, if my ethernet cable is not plunged in or even if there is a problem with my connection, it waits for about 20 seconds waiting while:
Configuring internet interfaces
... and after that it says:
ifup already configured. done
or something similar, even if it really configured the interfaces (that is really rare if the cable was not really attached from the beginning s supposed to be attached -I am possibly have a problem with the cable because it is too long or may be because the port has a problem-) even if the interface is not really configured and I will not be able to access internet.
What I want is:
1) A way to save the configuration and not need to wait for these 20 seconds for ifup to be reconfigured at every boot, but the ability to use
service networking restart
if my Internet is not really configure during the boot.
PS: 20 seconds are really many to wait at every boot and many times I just want to work offline without a cable plunged in.
/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# This is an autoconfigured IPv6 interface
iface eth0 inet6 auto