blob: 3d0f0c676879fe559ea715f3fbc50f1e87232ede [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# /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
Patrick Williams56b44a92024-01-19 08:49:29 -060016# Wired or wireless interfaces including predictable names
Patrick Williams44b3caf2024-04-12 16:51:14 -050017auto eth0
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018iface eth0 inet dhcp
19iface eth1 inet dhcp
20
Patrick Williams44b3caf2024-04-12 16:51:14 -050021# Busybox ifupdown won't process /en* correctly
Patrick Williams56b44a92024-01-19 08:49:29 -060022auto /en*=eth
23iface eth inet dhcp
24
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025# Ethernet/RNDIS gadget (g_ether)
26# ... or on host side, usbnet and random hwaddr
27iface 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
34iface bnep0 inet dhcp
35