Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) |
| 2 | |
| 3 | # The loopback interface |
| 4 | auto lo |
| 5 | iface lo inet loopback |
| 6 | |
| 7 | # Wireless interfaces |
| 8 | iface wlan0 inet dhcp |
| 9 | wireless_mode managed |
| 10 | wireless_essid any |
| 11 | wpa-driver wext |
| 12 | wpa-conf /etc/wpa_supplicant.conf |
| 13 | |
| 14 | iface atml0 inet dhcp |
| 15 | |
| 16 | # Wired or wireless interfaces |
| 17 | auto eth0 |
| 18 | iface eth0 inet dhcp |
| 19 | iface eth1 inet dhcp |
| 20 | |
| 21 | # Ethernet/RNDIS gadget (g_ether) |
| 22 | # ... or on host side, usbnet and random hwaddr |
| 23 | iface 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 |
| 30 | iface bnep0 inet dhcp |
| 31 | |