[meta-ti] [master][PATCH v3] netbase: Update interfaces files

fcooperjr27 at gmail.com fcooperjr27 at gmail.com
Fri Aug 31 14:54:21 PDT 2012


From: Franklin S Cooper Jr <fcooper at ti.com>

* Update interfaces files based on changes made to the interfaces file
  in arago

Signed-off-by: Franklin S Cooper Jr <fcooper at ti.com>
---
 recipes-core/netbase/netbase-5.0/omap3/interfaces  |   12 +++++++-----
 .../netbase/netbase-5.0/omapl138/interfaces        |   12 +++++++-----
 recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   12 +++++++-----
 3 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/recipes-core/netbase/netbase-5.0/omap3/interfaces b/recipes-core/netbase/netbase-5.0/omap3/interfaces
index 0acf4cf..15bc31c 100644
--- a/recipes-core/netbase/netbase-5.0/omap3/interfaces
+++ b/recipes-core/netbase/netbase-5.0/omap3/interfaces
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
diff --git a/recipes-core/netbase/netbase-5.0/omapl138/interfaces b/recipes-core/netbase/netbase-5.0/omapl138/interfaces
index 0acf4cf..15bc31c 100644
--- a/recipes-core/netbase/netbase-5.0/omapl138/interfaces
+++ b/recipes-core/netbase/netbase-5.0/omapl138/interfaces
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
diff --git a/recipes-core/netbase/netbase-5.0/ti33x/interfaces b/recipes-core/netbase/netbase-5.0/ti33x/interfaces
index 0acf4cf..15bc31c 100644
--- a/recipes-core/netbase/netbase-5.0/ti33x/interfaces
+++ b/recipes-core/netbase/netbase-5.0/ti33x/interfaces
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
-- 
1.7.0.4




More information about the meta-ti mailing list