summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/netbase/netbase
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-11-18 12:02:03 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-22 10:25:33 (GMT)
commita2ede09151032b5f5df584d085d599ed6bffb3e0 (patch)
tree2d14fb6e1037126e638d2d617d9553f0faba5b1b /meta/recipes-core/netbase/netbase
parentd80c854c702be10c5f76e5647872bd8188506d22 (diff)
downloadpoky-a2ede09151032b5f5df584d085d599ed6bffb3e0.tar.gz
netbase: Upgrade to version 4.43
Fixed its metadata Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/netbase/netbase')
-rw-r--r--meta/recipes-core/netbase/netbase/colinux/interfaces8
-rw-r--r--meta/recipes-core/netbase/netbase/epia/interfaces10
-rw-r--r--meta/recipes-core/netbase/netbase/hosts2
-rw-r--r--meta/recipes-core/netbase/netbase/init52
-rw-r--r--meta/recipes-core/netbase/netbase/interfaces30
-rw-r--r--meta/recipes-core/netbase/netbase/mtx-1/interfaces29
-rw-r--r--meta/recipes-core/netbase/netbase/nfsroot39
-rw-r--r--meta/recipes-core/netbase/netbase/nokia800/interfaces5
-rw-r--r--meta/recipes-core/netbase/netbase/openmn/hosts2
-rw-r--r--meta/recipes-core/netbase/netbase/openmn/interfaces10
-rw-r--r--meta/recipes-core/netbase/netbase/qemuarm/interfaces5
-rw-r--r--meta/recipes-core/netbase/netbase/qemuarmv6/interfaces5
-rw-r--r--meta/recipes-core/netbase/netbase/qemuarmv7/interfaces5
-rw-r--r--meta/recipes-core/netbase/netbase/qemux86-64/interfaces8
-rw-r--r--meta/recipes-core/netbase/netbase/qemux86/interfaces8
-rw-r--r--meta/recipes-core/netbase/netbase/tosa/interfaces24
-rw-r--r--meta/recipes-core/netbase/netbase/wrt54/interfaces23
-rw-r--r--meta/recipes-core/netbase/netbase/xxs1500/interfaces15
18 files changed, 0 insertions, 280 deletions
diff --git a/meta/recipes-core/netbase/netbase/colinux/interfaces b/meta/recipes-core/netbase/netbase/colinux/interfaces
deleted file mode 100644
index 0e495e1..0000000
--- a/meta/recipes-core/netbase/netbase/colinux/interfaces
+++ /dev/null
@@ -1,8 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wired or wireless interfaces
8iface eth0 inet dhcp
diff --git a/meta/recipes-core/netbase/netbase/epia/interfaces b/meta/recipes-core/netbase/netbase/epia/interfaces
deleted file mode 100644
index 673618f..0000000
--- a/meta/recipes-core/netbase/netbase/epia/interfaces
+++ /dev/null
@@ -1,10 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Ethernet
8auto eth0
9iface eth0 inet dhcp
10
diff --git a/meta/recipes-core/netbase/netbase/hosts b/meta/recipes-core/netbase/netbase/hosts
deleted file mode 100644
index 2f33245..0000000
--- a/meta/recipes-core/netbase/netbase/hosts
+++ /dev/null
@@ -1,2 +0,0 @@
1127.0.0.1 localhost.localdomain localhost
2
diff --git a/meta/recipes-core/netbase/netbase/init b/meta/recipes-core/netbase/netbase/init
deleted file mode 100644
index 8a67e1c..0000000
--- a/meta/recipes-core/netbase/netbase/init
+++ /dev/null
@@ -1,52 +0,0 @@
1#!/bin/sh
2#
3### BEGIN INIT INFO
4# Provides: networking
5# Required-Start: $local_fs mountvirtfs
6# Required-Stop: $local_fs
7# Default-Start: S
8# Default-Stop: 0 6
9# Short-Description: Raise network interfaces and configure them
10### END INIT INFO
11
12PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
13
14if ! [ -x /sbin/ifup ]; then
15 exit 0
16fi
17
18case "$1" in
19 start)
20 echo -n "Configuring network interfaces... "
21 ifup -a
22 echo "done."
23 ;;
24 stop)
25 if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |
26 grep -q "^/ nfs$"; then
27 echo "NOT deconfiguring network interfaces: / is an NFS mount"
28 elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |
29 grep -q "^/ smbfs$"; then
30 echo "NOT deconfiguring network interfaces: / is an SMB mount"
31 elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts |
32 grep -qE '^(nfs|smbfs|ncp|coda)$'; then
33 echo "NOT deconfiguring network interfaces: network shares still mounted."
34 else
35 echo -n "Deconfiguring network interfaces... "
36 ifdown -a
37 echo "done."
38 fi
39 ;;
40 force-reload|restart)
41 echo -n "Reconfiguring network interfaces... "
42 ifdown -a
43 ifup -a
44 echo "done."
45 ;;
46 *)
47 echo "Usage: /etc/init.d/networking {start|stop|restart|force-reload}"
48 exit 1
49 ;;
50esac
51
52exit 0
diff --git a/meta/recipes-core/netbase/netbase/interfaces b/meta/recipes-core/netbase/netbase/interfaces
deleted file mode 100644
index b06924f..0000000
--- a/meta/recipes-core/netbase/netbase/interfaces
+++ /dev/null
@@ -1,30 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_mode managed
10 wireless_essid any
11 wpa-driver wext
12 wpa-conf /etc/wpa_supplicant.conf
13
14iface atml0 inet dhcp
15
16# Wired or wireless interfaces
17iface eth0 inet dhcp
18iface eth1 inet dhcp
19
20# Ethernet/RNDIS gadget (g_ether)
21# ... or on host side, usbnet and random hwaddr
22iface usb0 inet static
23 address 192.168.7.2
24 netmask 255.255.255.0
25 network 192.168.7.0
26 gateway 192.168.7.1
27
28# Bluetooth networking
29iface bnep0 inet dhcp
30
diff --git a/meta/recipes-core/netbase/netbase/mtx-1/interfaces b/meta/recipes-core/netbase/netbase/mtx-1/interfaces
deleted file mode 100644
index a7c6da5..0000000
--- a/meta/recipes-core/netbase/netbase/mtx-1/interfaces
+++ /dev/null
@@ -1,29 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Ethernet
8auto eth0
9iface eth0 inet dhcp
10
11# wlan interface 1 for clients
12auto wlan0
13iface wlan0 inet static
14 address 10.0.0.1
15 netmask 255.0.0.0
16 wireless_mode master
17 wireless_essid cube-ap
18 wireless_channel 1
19
20# wlan interface 2 for mesh
21auto wlan1
22iface wlan1 inet static
23 address 172.16.0.1
24 netmask 255.240.0.0
25 broadcast 172.31.255.255
26 wireless_mode ad-hoc
27 wireless_essid cube-mesh
28 wireless_channel 11
29 wireless_rts 250
diff --git a/meta/recipes-core/netbase/netbase/nfsroot b/meta/recipes-core/netbase/netbase/nfsroot
deleted file mode 100644
index fc384a8..0000000
--- a/meta/recipes-core/netbase/netbase/nfsroot
+++ /dev/null
@@ -1,39 +0,0 @@
1#! /bin/sh
2
3# In case the interface is used as nfsroot, avoid ifup, otherwise
4# nfsroot may lose response
5
6nfsroot=0
7
8if test "x$IFACE" = xlo ; then
9 exit 0
10fi
11
12exec 9<&0 < /proc/mounts
13while read dev mtpt fstype rest; do
14 if test $mtpt = "/" ; then
15 case $fstype in
16 nfs | nfs4)
17 nfsroot=1
18 nfs_addr=`echo $rest | sed -e 's/^.*addr=\([0-9.]*\).*$/\1/'`
19 break
20 ;;
21 *)
22 ;;
23 esac
24 fi
25done
26exec 0<&9 9<&-
27
28test $nfsroot -eq 0 && exit 0
29
30if test -x /sbin/ip ; then
31 nfs_iface=`ip route get $nfs_addr | grep dev | sed -e 's/^.*dev \([-a-z0-9.]*\).*$/\1/'`
32fi
33
34if test "x$IFACE" = "x$nfs_iface" ; then
35 echo "ifup skipped for nfsroot interface $nfs_iface"
36 exit 1
37fi
38
39exit 0
diff --git a/meta/recipes-core/netbase/netbase/nokia800/interfaces b/meta/recipes-core/netbase/netbase/nokia800/interfaces
deleted file mode 100644
index 1696776..0000000
--- a/meta/recipes-core/netbase/netbase/nokia800/interfaces
+++ /dev/null
@@ -1,5 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
diff --git a/meta/recipes-core/netbase/netbase/openmn/hosts b/meta/recipes-core/netbase/netbase/openmn/hosts
deleted file mode 100644
index 0205b98..0000000
--- a/meta/recipes-core/netbase/netbase/openmn/hosts
+++ /dev/null
@@ -1,2 +0,0 @@
1127.0.0.1 localhost.localdomain localhost
2192.168.233.1 www.mn-solutions.de
diff --git a/meta/recipes-core/netbase/netbase/openmn/interfaces b/meta/recipes-core/netbase/netbase/openmn/interfaces
deleted file mode 100644
index 9ebe9b8..0000000
--- a/meta/recipes-core/netbase/netbase/openmn/interfaces
+++ /dev/null
@@ -1,10 +0,0 @@
1auto lo
2auto eth1
3
4iface lo inet loopback
5
6iface eth0 inet dhcp
7
8iface eth1 inet dhcp
9 wireless_mode managed
10 wireless_essid any
diff --git a/meta/recipes-core/netbase/netbase/qemuarm/interfaces b/meta/recipes-core/netbase/netbase/qemuarm/interfaces
deleted file mode 100644
index 1696776..0000000
--- a/meta/recipes-core/netbase/netbase/qemuarm/interfaces
+++ /dev/null
@@ -1,5 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
diff --git a/meta/recipes-core/netbase/netbase/qemuarmv6/interfaces b/meta/recipes-core/netbase/netbase/qemuarmv6/interfaces
deleted file mode 100644
index 1696776..0000000
--- a/meta/recipes-core/netbase/netbase/qemuarmv6/interfaces
+++ /dev/null
@@ -1,5 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
diff --git a/meta/recipes-core/netbase/netbase/qemuarmv7/interfaces b/meta/recipes-core/netbase/netbase/qemuarmv7/interfaces
deleted file mode 100644
index 1696776..0000000
--- a/meta/recipes-core/netbase/netbase/qemuarmv7/interfaces
+++ /dev/null
@@ -1,5 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
diff --git a/meta/recipes-core/netbase/netbase/qemux86-64/interfaces b/meta/recipes-core/netbase/netbase/qemux86-64/interfaces
deleted file mode 100644
index f62b9a8..0000000
--- a/meta/recipes-core/netbase/netbase/qemux86-64/interfaces
+++ /dev/null
@@ -1,8 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7
8
diff --git a/meta/recipes-core/netbase/netbase/qemux86/interfaces b/meta/recipes-core/netbase/netbase/qemux86/interfaces
deleted file mode 100644
index f62b9a8..0000000
--- a/meta/recipes-core/netbase/netbase/qemux86/interfaces
+++ /dev/null
@@ -1,8 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7
8
diff --git a/meta/recipes-core/netbase/netbase/tosa/interfaces b/meta/recipes-core/netbase/netbase/tosa/interfaces
deleted file mode 100644
index 0da7168..0000000
--- a/meta/recipes-core/netbase/netbase/tosa/interfaces
+++ /dev/null
@@ -1,24 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_type wlan-ng
10 wireless_mode Managed
11 pre-up modprobe prism2_usb
12# pre-up /sbin/usbctl on 1
13# post-down /sbin/usbctl off 1
14 post-down rmmod prism2_usb
15
16# Wired or wireless interfaces
17iface eth0 inet dhcp
18iface eth1 inet dhcp
19
20# Zaurus usbnet
21iface usbd0 inet dhcp
22
23# usbnet from the other side
24iface usb0 inet dhcp
diff --git a/meta/recipes-core/netbase/netbase/wrt54/interfaces b/meta/recipes-core/netbase/netbase/wrt54/interfaces
deleted file mode 100644
index 8b2852a..0000000
--- a/meta/recipes-core/netbase/netbase/wrt54/interfaces
+++ /dev/null
@@ -1,23 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# loopback interface
4auto lo
5iface lo inet loopback
6
7# the 4 LAN ports
8auto vlan0
9iface vlan0 inet static
10 address 192.168.1.1
11 netmask 255.255.255.0
12
13# WAN port
14auto vlan1
15iface vlan1 inet dhcp
16
17# wireless interface
18auto eth1
19iface eth1 inet static
20 wireless_mode master
21 wireless_essid wrt
22 address 10.0.0.1
23 netmask 255.255.255.0
diff --git a/meta/recipes-core/netbase/netbase/xxs1500/interfaces b/meta/recipes-core/netbase/netbase/xxs1500/interfaces
deleted file mode 100644
index 23ccccd..0000000
--- a/meta/recipes-core/netbase/netbase/xxs1500/interfaces
+++ /dev/null
@@ -1,15 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Ethernet
8auto eth0 eth1
9iface eth0 inet static
10 address 192.168.127.1
11 netmask 255.255.255.0
12
13iface eth1 inet static
14 address 192.168.128.1
15 netmask 255.255.255.0