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 | |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 16 | # Wired or wireless interfaces including predictable names |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 17 | auto eth0 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | iface eth0 inet dhcp |
| 19 | iface eth1 inet dhcp |
| 20 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 21 | # Busybox ifupdown won't process /en* correctly |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 22 | auto /en*=eth |
| 23 | iface eth inet dhcp |
| 24 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | # Ethernet/RNDIS gadget (g_ether) |
| 26 | # ... or on host side, usbnet and random hwaddr |
| 27 | iface usb0 inet static |
| 28 | address 192.168.7.2 |
| 29 | netmask 255.255.255.0 |
| 30 | network 192.168.7.0 |
| 31 | gateway 192.168.7.1 |
| 32 | |
| 33 | # Bluetooth networking |
| 34 | iface bnep0 inet dhcp |
| 35 | |