diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces')
-rw-r--r-- | bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces b/bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces new file mode 100644 index 00000000..ac9a7da8 --- /dev/null +++ b/bsp/meta-boundary/recipes-core/init-ifupdown/boundary/interfaces @@ -0,0 +1,27 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Wired or wireless interfaces +auto eth0 +iface eth0 inet dhcp + hostname `/bin/hostname` + +# Ethernet/RNDIS gadget (g_ether) +# ... or on host side, usbnet and random hwaddr +auto usb0 +iface usb0 inet static + pre-up modprobe g_ether + address 10.0.0.2 + netmask 255.255.255.0 + network 10.0.0.0 + +# Wireless interfaces +auto wlan0 +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver nl80211 + wpa-conf /etc/wpa_supplicant.conf |