netbase: update config files for om-gta*
authorThomas Zimmermann <zimmermann@vdm-design.de>
Fri, 23 Oct 2009 08:13:24 +0000 (08:13 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 7 Jan 2010 12:03:05 +0000 (13:03 +0100)
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
recipes/netbase/netbase/om-gta01/interfaces
recipes/netbase/netbase/om-gta02/interfaces
recipes/netbase/netbase_4.21.bb

index 56c485e..e595239 100644 (file)
@@ -16,14 +16,15 @@ iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-allow-hotplug usb0
+auto usb0
 iface usb0 inet static
        address 192.168.0.202
        netmask 255.255.255.0
        network 192.168.0.0
-       gateway 192.168.0.200
+       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
 
 # Bluetooth networking
 iface bnep0 inet dhcp
index ceedfc5..08bd3bb 100644 (file)
@@ -16,14 +16,15 @@ iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-allow-hotplug usb0
+auto usb0
 iface usb0 inet static
        address 192.168.0.202
        netmask 255.255.255.0
        network 192.168.0.0
-       gateway 192.168.0.200
-       up echo nameserver 208.67.222.222 >> /etc/resolv.conf
+       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
 
 # Bluetooth networking
 iface bnep0 inet dhcp
index 0ce40ba..c8b4d19 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r39"
+PR = "r40"
 
 inherit update-rc.d