I need to start
eth0 network interface during boot, but only if cable is plugged in. I have following in my
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
The problem is, when the cable is not plugged in, the computer still tries to reach the
dhcp server and it takes long time to time out and eventually boot.
Is there some way to skip the
eth0 configuration if link is not detected?
I am using Debian Wheezy