diff options
| -rw-r--r-- | meta-xilinx-vendor/recipes-core/init-ifupdown/files/interfaces | 32 | ||||
| -rw-r--r-- | meta-xilinx-vendor/recipes-core/init-ifupdown/init-ifupdown_%.bbappend | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-xilinx-vendor/recipes-core/init-ifupdown/files/interfaces b/meta-xilinx-vendor/recipes-core/init-ifupdown/files/interfaces new file mode 100644 index 00000000..8daba016 --- /dev/null +++ b/meta-xilinx-vendor/recipes-core/init-ifupdown/files/interfaces | |||
| @@ -0,0 +1,32 @@ | |||
| 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 | auto wlan0 | ||
| 9 | iface wlan0 inet dhcp | ||
| 10 | wireless_mode managed | ||
| 11 | wireless_essid any | ||
| 12 | wpa-driver wext | ||
| 13 | wpa-conf /etc/wpa_supplicant.conf | ||
| 14 | |||
| 15 | iface atml0 inet dhcp | ||
| 16 | |||
| 17 | # Wired or wireless interfaces | ||
| 18 | auto eth0 | ||
| 19 | iface eth0 inet dhcp | ||
| 20 | iface eth1 inet dhcp | ||
| 21 | |||
| 22 | # Ethernet/RNDIS gadget (g_ether) | ||
| 23 | # ... or on host side, usbnet and random hwaddr | ||
| 24 | iface usb0 inet static | ||
| 25 | address 192.168.7.2 | ||
| 26 | netmask 255.255.255.0 | ||
| 27 | network 192.168.7.0 | ||
| 28 | gateway 192.168.7.1 | ||
| 29 | |||
| 30 | # Bluetooth networking | ||
| 31 | iface bnep0 inet dhcp | ||
| 32 | |||
diff --git a/meta-xilinx-vendor/recipes-core/init-ifupdown/init-ifupdown_%.bbappend b/meta-xilinx-vendor/recipes-core/init-ifupdown/init-ifupdown_%.bbappend new file mode 100644 index 00000000..2638026c --- /dev/null +++ b/meta-xilinx-vendor/recipes-core/init-ifupdown/init-ifupdown_%.bbappend | |||
| @@ -0,0 +1 @@ | |||
| FILESEXTRAPATHS:prepend:ultra96 := "${THISDIR}/files:" | |||
