netbase: add nokia900 support
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sun, 19 Sep 2010 17:23:28 +0000 (19:23 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 27 Oct 2010 21:12:18 +0000 (23:12 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/netbase/netbase/nokia900/interfaces [new file with mode: 0644]
recipes/netbase/netbase_4.21.bb

diff --git a/recipes/netbase/netbase/nokia900/interfaces b/recipes/netbase/netbase/nokia900/interfaces
new file mode 100644 (file)
index 0000000..a75f259
--- /dev/null
@@ -0,0 +1,17 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+auto usb0
+iface usb0 inet static
+       address 192.168.0.202
+       netmask 255.255.255.0
+       network 192.168.0.0
+       up route add default gw 192.168.0.200 metric 8
+       up echo nameserver 208.67.222.222 > /etc/resolv.conf
+       up echo nameserver 208.67.220.220 >> /etc/resolv.conf
+       down route del default gw 192.168.0.200 metric 8
index ed5bcdd..68b8637 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPLv2"
-PR = "r48"
+PR = "r49"
 
 inherit update-rc.d