mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
This avoids manual configuration for those machines that do not override the default /etc/network/interfaces file. Fixes [YOCTO #875] (From OE-Core rev: 20b39d52cd183301bbf58a8e8da96d64f57e0b31) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
615 B
615 B
/etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
The loopback interface
auto lo iface lo inet loopback
Wireless interfaces
iface wlan0 inet dhcp wireless_mode managed wireless_essid any wpa-driver wext wpa-conf /etc/wpa_supplicant.conf
iface atml0 inet dhcp
Wired or wireless interfaces
auto eth0 iface eth0 inet dhcp iface eth1 inet dhcp
Ethernet/RNDIS gadget (g_ether)
... or on host side, usbnet and random hwaddr
iface usb0 inet static address 192.168.7.2 netmask 255.255.255.0 network 192.168.7.0 gateway 192.168.7.1
Bluetooth networking
iface bnep0 inet dhcp