netbase: add BUG 2.0 support
authorMarcin Juszkiewicz <marcin@buglabs.net>
Mon, 15 Mar 2010 15:32:46 +0000 (16:32 +0100)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Mon, 15 Mar 2010 15:37:42 +0000 (16:37 +0100)
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
recipes/netbase/netbase/bug20/hosts [new file with mode: 0644]
recipes/netbase/netbase/bug20/interfaces [new file with mode: 0644]
recipes/netbase/netbase_4.21.bb

diff --git a/recipes/netbase/netbase/bug20/hosts b/recipes/netbase/netbase/bug20/hosts
new file mode 100644 (file)
index 0000000..789d660
--- /dev/null
@@ -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 (file)
index 0000000..6e5f74e
--- /dev/null
@@ -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
index c8b4d19..04d9623 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r40"
+PR = "r41"
 
 inherit update-rc.d