# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping hotplug script grep # map eth0 # The primary network interface auto eth0 iface eth0 inet dhcp pre-up /usr/sbin/ethtool -t "${IFACE:-eth0}" online | egrep -iq '^link test.+[^0-9]0$'