diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-10 11:01:38 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-12 15:10:59 +0200 |
commit | 469a66423d0e14476e9691572aa1783eb2c81502 (patch) | |
tree | 9d0e50f823618b61904f0dfc9640cb8ce40d2246 | |
parent | 6f7d4e00b70172846d856c46cae493c11bafa4c8 (diff) | |
download | meta-boot2qt-469a66423d0e14476e9691572aa1783eb2c81502.tar.gz |
nitrogen6x: supply custom version of /etc/network/interfaces
Nitrogen6X/6_Max/6_Lite all use the nl80211 driver for wpa_supplicant
and none of them have an eth1 device.
Change-Id: I17a316d79a1d787229fd9acb758d993921e85dfb
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rw-r--r-- | recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces new file mode 100644 index 0000000..93ba671 --- /dev/null +++ b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces | |||
@@ -0,0 +1,31 @@ | |||
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 | iface wlan0 inet dhcp | ||
9 | wireless_mode managed | ||
10 | wireless_essid any | ||
11 | wpa-driver nl80211 | ||
12 | wpa-conf /etc/wpa_supplicant.conf | ||
13 | |||
14 | iface atml0 inet dhcp | ||
15 | |||
16 | # Wired or wireless interfaces | ||
17 | auto eth0 | ||
18 | iface eth0 inet dhcp | ||
19 | hostname `/bin/hostname` | ||
20 | |||
21 | # Ethernet/RNDIS gadget (g_ether) | ||
22 | # ... or on host side, usbnet and random hwaddr | ||
23 | iface usb0 inet static | ||
24 | address 192.168.7.2 | ||
25 | netmask 255.255.255.0 | ||
26 | network 192.168.7.0 | ||
27 | gateway 192.168.7.1 | ||
28 | |||
29 | # Bluetooth networking | ||
30 | iface bnep0 inet dhcp | ||
31 | |||