Skip to content
This repository
Kai Hendry
file 28 lines (22 sloc) 0.715 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# The loopback network interface
auto lo
iface lo inet loopback

allow-hotplug eth0 eth1 usb0

iface eth0 inet dhcp
pre-up iptables-restore < /etc/iptables.conf
ethernet-wol g

# USB tethering & dongle support
iface usb0 inet dhcp
pre-up iptables-restore < /etc/iptables.conf

# Can be either fixed or wireless
# TODO: There is a bug here where dhclient isn't as persistent as eth0, and something it can fail to connect to the internet
# Need to debug hotplug possibly here
iface eth1 inet dhcp
pre-up iptables-restore < /etc/iptables.conf
wpa-driver wext
wireless config

# The wireless network interface
iface wlan0 inet dhcp
pre-up iptables-restore < /etc/iptables.conf
wpa-driver wext
wireless config
Something went wrong with that request. Please try again.