1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) 2 3# The loopback interface 4auto lo 5iface lo inet loopback 6 7# Wireless interfaces 8iface wlan0 inet dhcp 9 wireless_mode managed 10 wireless_essid any 11 wpa-driver wext 12 wpa-conf /etc/wpa_supplicant.conf 13 14iface atml0 inet dhcp 15 16# Wired or wireless interfaces 17auto eth0 18iface eth0 inet dhcp 19iface eth1 inet dhcp 20 21# Ethernet/RNDIS gadget (g_ether) 22# ... or on host side, usbnet and random hwaddr 23iface usb0 inet static 24 address 192.168.7.2 25 netmask 255.255.255.0 26 network 192.168.7.0 27 gateway 192.168.7.1 28 29# Bluetooth networking 30iface bnep0 inet dhcp 31 32