mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-07 11:59:49 +00:00
netbase: automatically bring up usb0 on BeagleBoard xM
Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
# /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 LAN9514 on BeagleBoard xM
|
||||||
|
auto usb0
|
||||||
|
iface usb0 inet dhcp
|
||||||
|
|
||||||
|
# Bluetooth networking
|
||||||
|
iface bnep0 inet dhcp
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||||
|
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
|
||||||
|
|
||||||
Reference in New Issue
Block a user