diff options
author | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-04-23 15:08:23 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@buglabs.net> | 2009-04-23 20:11:59 +0200 |
commit | d9b64f479be887dc1026c747536e1fa76d28f08b (patch) | |
tree | 91c578f8d6b0d5b6339f945464e3fb94866454e8 | |
parent | 7ea3026aa3c216f9943711771e9245b2b6ff7c84 (diff) |
netbase: added BUG support
We use other network range for usb0 then OE default and this will not
change soon. Also support for onboard Ethernet, Wifi module and
USB-Ethernet adapters is present.
-rw-r--r-- | recipes/netbase/netbase/bug/hosts | 3 | ||||
-rw-r--r-- | recipes/netbase/netbase/bug/interfaces | 39 | ||||
-rw-r--r-- | recipes/netbase/netbase_4.21.bb | 2 |
3 files changed, 43 insertions, 1 deletions
diff --git a/recipes/netbase/netbase/bug/hosts b/recipes/netbase/netbase/bug/hosts new file mode 100644 index 0000000000..789d660fa7 --- /dev/null +++ b/recipes/netbase/netbase/bug/hosts @@ -0,0 +1,3 @@ +127.0.0.1 localhost.localdomain localhost bug +10.10.10.1 bughost + diff --git a/recipes/netbase/netbase/bug/interfaces b/recipes/netbase/netbase/bug/interfaces new file mode 100644 index 0000000000..c4104840b5 --- /dev/null +++ b/recipes/netbase/netbase/bug/interfaces @@ -0,0 +1,39 @@ +# /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 + +# Wireless interfaces +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf + +# Wired or wireless interfaces +# Handylink Ethernet or Wifi bugmodule or USB Ethernet +auto eth0 +iface eth0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf +# +# Wired or wireless interfaces +# Wifi bugmodule or USB Ethernet +auto eth1 +iface eth1 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb index 04533d89b9..4dfc18223a 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 = "r34" +PR = "r35" inherit update-rc.d |