aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2010-03-22 01:03:09 +0000
committerMarcin Juszkiewicz <marcin@buglabs.net>2010-03-23 10:46:53 +0100
commitd822763b94a4c239e6f2fb2c24c552e4e5d7db3b (patch)
treea6af317a0ed57fd85535145207147b1fa2b730df
parent1542658c68a149a61cf26e5ebfdd0e5e4bea5614 (diff)
downloadopenembedded-d822763b94a4c239e6f2fb2c24c552e4e5d7db3b.zip
openembedded-d822763b94a4c239e6f2fb2c24c552e4e5d7db3b.tar.gz
openembedded-d822763b94a4c239e6f2fb2c24c552e4e5d7db3b.tar.bz2
netbase: add BUG 2.0 support
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Philip Balister <philip@balister.org>
-rw-r--r--recipes/netbase/netbase/bug20/hosts3
-rw-r--r--recipes/netbase/netbase/bug20/interfaces29
-rw-r--r--recipes/netbase/netbase_4.21.bb2
3 files changed, 33 insertions, 1 deletions
diff --git a/recipes/netbase/netbase/bug20/hosts b/recipes/netbase/netbase/bug20/hosts
new file mode 100644
index 0000000..789d660
--- /dev/null
+++ b/recipes/netbase/netbase/bug20/hosts
@@ -0,0 +1,3 @@
+127.0.0.1 localhost.localdomain localhost bug
+10.10.10.1 bughost
+
diff --git a/recipes/netbase/netbase/bug20/interfaces b/recipes/netbase/netbase/bug20/interfaces
new file mode 100644
index 0000000..6e5f74e
--- /dev/null
+++ b/recipes/netbase/netbase/bug20/interfaces
@@ -0,0 +1,29 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet/RNDIS gadget (g_ether)
+# usbnet and static hwaddr for mac users
+auto usb0
+iface usb0 inet static
+ hwaddress ether A2:80:F4:8A:3C:91
+ address 10.10.10.10
+ netmask 255.255.255.0
+ gateway 10.10.10.1
+
+# Wired interface
+# BUGbase Ethernet which is built into kernel
+# It is on USB but we rename it by udev rule
+auto eth0
+iface eth0 inet dhcp
+
+#
+# wireless interface
+auto eth1
+iface eth1 inet dhcp
+ wireless_mode managed
+ wireless_essid any
+ wpa-driver wext
+ wpa-conf /etc/wpa_supplicant.conf
diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb
index 71259d3..df9b03e 100644
--- a/recipes/netbase/netbase_4.21.bb
+++ b/recipes/netbase/netbase_4.21.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
infrastructure for basic TCP/IP based networking."
SECTION = "base"
LICENSE = "GPL"
-PR = "r37"
+PR = "r41"
inherit update-rc.d