From 9842ab0293d253d5ba59075fcc484618ddd895e2 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Fri, 23 Oct 2009 08:13:24 +0000 Subject: netbase: update config files for om-gta* Signed-off-by: Klaus Kurzmann --- recipes/netbase/netbase/om-gta01/interfaces | 5 +++-- recipes/netbase/netbase/om-gta02/interfaces | 7 ++++--- recipes/netbase/netbase_4.21.bb | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'recipes/netbase') 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 -- cgit 1.2.3-korg