interfaces (508B)
1 # interfaces(5) file used by ifup(8) and ifdown(8) 2 3 # Please note that this file is written to be used with dhcpcd 4 # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' 5 6 # Include files from /etc/network/interfaces.d: 7 # source-directory /etc/network/interfaces.d 8 9 auto lo 10 iface lo inet loopback 11 12 allow-hotplug usb0 13 iface usb0 inet static 14 address 192.168.2.15 15 netmask 255.255.255.0 16 gateway 192.168.2.14 17 18 allow-hotplug wlan0 19 iface wlan0 inet dhcp 20 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf