summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <zimmermann@vdm-design.de>2009-10-23 08:13:24 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-07 13:03:05 +0100
commit9842ab0293d253d5ba59075fcc484618ddd895e2 (patch)
tree2dda083358cd51437b4a8c1c626691cd0365705f
parent758da30df2ca3abbdad24c972f590eaa40e70930 (diff)
netbase: update config files for om-gta*
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
-rw-r--r--recipes/netbase/netbase/om-gta01/interfaces5
-rw-r--r--recipes/netbase/netbase/om-gta02/interfaces7
-rw-r--r--recipes/netbase/netbase_4.21.bb2
3 files changed, 8 insertions, 6 deletions
diff --git a/recipes/netbase/netbase/om-gta01/interfaces b/recipes/netbase/netbase/om-gta01/interfaces
index 56c485ef75..e595239758 100644
--- a/recipes/netbase/netbase/om-gta01/interfaces
+++ b/recipes/netbase/netbase/om-gta01/interfaces
@@ -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
diff --git a/recipes/netbase/netbase/om-gta02/interfaces b/recipes/netbase/netbase/om-gta02/interfaces
index ceedfc59c2..08bd3bb074 100644
--- a/recipes/netbase/netbase/om-gta02/interfaces
+++ b/recipes/netbase/netbase/om-gta02/interfaces
@@ -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
diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb
index 0ce40ba93e..c8b4d19869 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 = "r39"
+PR = "r40"
inherit update-rc.d