diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/netbase | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/netbase')
34 files changed, 0 insertions, 767 deletions
diff --git a/packages/netbase/netbase/busybox.patch b/packages/netbase/netbase/busybox.patch deleted file mode 100644 index 845bb421ed..0000000000 --- a/packages/netbase/netbase/busybox.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- netbase-3.18.orig/debian/networking.init.d~busybox -+++ netbase-3.18.orig/debian/networking.init.d -@@ -15,8 +15,8 @@ - # spoof protection on all current and future interfaces. - - if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then -- for f in /proc/sys/net/ipv4/conf/*/rp_filter; do -- echo 1 > $f -+ for f in /proc/sys/net/ipv4/conf/*; do -+ echo 1 > $f/rp_filter - done - return 0 - else diff --git a/packages/netbase/netbase/colinux/interfaces b/packages/netbase/netbase/colinux/interfaces deleted file mode 100644 index 0e495e164e..0000000000 --- a/packages/netbase/netbase/colinux/interfaces +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wired or wireless interfaces -iface eth0 inet dhcp diff --git a/packages/netbase/netbase/epia/interfaces b/packages/netbase/netbase/epia/interfaces deleted file mode 100644 index 673618f636..0000000000 --- a/packages/netbase/netbase/epia/interfaces +++ /dev/null @@ -1,10 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 -iface eth0 inet dhcp - diff --git a/packages/netbase/netbase/eten-m800/interfaces b/packages/netbase/netbase/eten-m800/interfaces deleted file mode 100644 index 090c18aa07..0000000000 --- a/packages/netbase/netbase/eten-m800/interfaces +++ /dev/null @@ -1,28 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp -wireless_mode managed -wireless_essid any -iface atml0 inet dhcp - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -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 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/foonas/interfaces b/packages/netbase/netbase/foonas/interfaces deleted file mode 100644 index 314715bba7..0000000000 --- a/packages/netbase/netbase/foonas/interfaces +++ /dev/null @@ -1,13 +0,0 @@ -# /etc/network/interfaces -# configuration file for ifup(8), ifdown(8) -# -# The loopback interface -auto lo -iface lo inet loopback - -# -# The interface used by default during boot -auto eth0 -iface eth0 inet dhcp - address 192.168.1.16 - diff --git a/packages/netbase/netbase/hosts b/packages/netbase/netbase/hosts deleted file mode 100644 index 2f332451b5..0000000000 --- a/packages/netbase/netbase/hosts +++ /dev/null @@ -1,2 +0,0 @@ -127.0.0.1 localhost.localdomain localhost - diff --git a/packages/netbase/netbase/if-down.d/.mtn2git_empty b/packages/netbase/netbase/if-down.d/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/netbase/netbase/if-down.d/.mtn2git_empty +++ /dev/null diff --git a/packages/netbase/netbase/if-post-down.d/.mtn2git_empty b/packages/netbase/netbase/if-post-down.d/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/netbase/netbase/if-post-down.d/.mtn2git_empty +++ /dev/null diff --git a/packages/netbase/netbase/if-pre-up.d/.mtn2git_empty b/packages/netbase/netbase/if-pre-up.d/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/netbase/netbase/if-pre-up.d/.mtn2git_empty +++ /dev/null diff --git a/packages/netbase/netbase/if-up.d/.mtn2git_empty b/packages/netbase/netbase/if-up.d/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/netbase/netbase/if-up.d/.mtn2git_empty +++ /dev/null diff --git a/packages/netbase/netbase/init b/packages/netbase/netbase/init deleted file mode 100644 index acc26cba61..0000000000 --- a/packages/netbase/netbase/init +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh -# -# manage network interfaces and configure some networking options - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -if ! [ -x /sbin/ifup ]; then - exit 0 -fi - -spoofprotect_rp_filter () { - # This is the best method: turn on Source Address Verification and get - # spoof protection on all current and future interfaces. - - if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then - for f in /proc/sys/net/ipv4/conf/*; do - [ -e $f/rp_filter ] && echo 1 > $f/rp_filter - done - return 0 - else - return 1 - fi -} - -spoofprotect () { - echo -n "Setting up IP spoofing protection: " - if spoofprotect_rp_filter; then - echo "rp_filter." - else - echo "FAILED." - fi -} - -ip_forward () { - if [ -e /proc/sys/net/ipv4/ip_forward ]; then - echo -n "Enabling packet forwarding... " - echo 1 > /proc/sys/net/ipv4/ip_forward - echo "done." - fi -} - -syncookies () { - if [ -e /proc/sys/net/ipv4/tcp_syncookies ]; then - echo -n "Enabling TCP/IP SYN cookies... " - echo 1 > /proc/sys/net/ipv4/tcp_syncookies - echo "done." - fi -} - -doopt () { - optname=$1 - default=$2 - opt=`grep "^$optname=" /etc/network/options` - if [ -z "$opt" ]; then - opt="$optname=$default" - fi - optval=${opt#$optname=} - if [ "$optval" = "yes" ]; then - eval $optname - fi -} - -case "$1" in - start) - # /etc/sysctl.conf is preferred - if [ ! -f /etc/sysctl.conf ]; then - doopt spoofprotect yes - doopt syncookies no - doopt ip_forward no - fi - - echo -n "Configuring network interfaces... " - ifup -a - echo "done." - ;; - stop) - if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ nfs$"; then - echo "NOT deconfiguring network interfaces: / is an NFS mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ smbfs$"; then - echo "NOT deconfiguring network interfaces: / is an SMB mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | - grep -qE '^(nfs|smbfs|ncp|coda)$'; then - echo "NOT deconfiguring network interfaces: network shares still mounted." - else - echo -n "Deconfiguring network interfaces... " - ifdown -a - echo "done." - fi - ;; - force-reload|restart) - echo -n "Reconfiguring network interfaces... " - ifdown -a - ifup -a - echo "done." - ;; - *) - echo "Usage: /etc/init.d/networking {start|stop|restart|force-reload}" - exit 1 - ;; -esac - -exit 0 - diff --git a/packages/netbase/netbase/interfaces b/packages/netbase/netbase/interfaces deleted file mode 100644 index c615642e35..0000000000 --- a/packages/netbase/netbase/interfaces +++ /dev/null @@ -1,83 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - -# Wireless interfaces -# -# Example of an unencrypted (no WEP or WPA) wireless connection -# that connects to any available access point: -# -iface wlan0 inet dhcp - wireless_mode managed - wireless_essid any -# -# -# Same as above but locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless_mode managed -# wireless-essid some-essid -# -# A WEP encrypted connection locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless-essid some-essid -# wireless-key s:My-PlainText-Password -# wireless-mode managed -# -# A WPA1 or WPA2 encrypted connection locked to a specific access point. -# This is the best option for non-roaming, single-network usage. -# Note that your card may require a firmware update to use WPA. -# Some distributions install a temporary volatile firmware update on ifup. -# -#iface wlan0 inet dhcp -# wpa-essid some-essid -# wpa-psk My-PlainText-Password -# -# A WPA1 or WPA2 encrypted connection using an external configuration file -# for wpa-supplicant. This is the way to go if you need to configure multiple -# networks with different keys and / or WPA settings and roaming support. -# -# iface wlan0 inet dhcp -# wpa-conf /etc/wpa_supplicant.conf -# wpa-driver hostap - - - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.0.202 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.200 - - -# Zaurus 2.4 Lineo net_fd; obsolete -iface usbd0 inet static - address 192.168.129.201 - netmask 255.255.255.0 - network 192.168.129.0 - gateway 192.168.129.200 - -# iPAQ 2.4 mach-sa1100/usb-eth -# (192.168.0.202 is the iPAQ's IP, 192.168.0.200 is the host's IP) -iface usbf inet static - address 192.168.0.202 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.200 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/mtx-1/interfaces b/packages/netbase/netbase/mtx-1/interfaces deleted file mode 100644 index a7c6da5752..0000000000 --- a/packages/netbase/netbase/mtx-1/interfaces +++ /dev/null @@ -1,29 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 -iface eth0 inet dhcp - -# wlan interface 1 for clients -auto wlan0 -iface wlan0 inet static - address 10.0.0.1 - netmask 255.0.0.0 - wireless_mode master - wireless_essid cube-ap - wireless_channel 1 - -# wlan interface 2 for mesh -auto wlan1 -iface wlan1 inet static - address 172.16.0.1 - netmask 255.240.0.0 - broadcast 172.31.255.255 - wireless_mode ad-hoc - wireless_essid cube-mesh - wireless_channel 11 - wireless_rts 250 diff --git a/packages/netbase/netbase/mtx-2/interfaces b/packages/netbase/netbase/mtx-2/interfaces deleted file mode 100644 index a7c6da5752..0000000000 --- a/packages/netbase/netbase/mtx-2/interfaces +++ /dev/null @@ -1,29 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 -iface eth0 inet dhcp - -# wlan interface 1 for clients -auto wlan0 -iface wlan0 inet static - address 10.0.0.1 - netmask 255.0.0.0 - wireless_mode master - wireless_essid cube-ap - wireless_channel 1 - -# wlan interface 2 for mesh -auto wlan1 -iface wlan1 inet static - address 172.16.0.1 - netmask 255.240.0.0 - broadcast 172.31.255.255 - wireless_mode ad-hoc - wireless_essid cube-mesh - wireless_channel 11 - wireless_rts 250 diff --git a/packages/netbase/netbase/mx31moboard/interfaces b/packages/netbase/netbase/mx31moboard/interfaces deleted file mode 100644 index 17d2b151bc..0000000000 --- a/packages/netbase/netbase/mx31moboard/interfaces +++ /dev/null @@ -1,14 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet/RNDIS gadget (g_ether) -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 - diff --git a/packages/netbase/netbase/om-3d7k/interfaces b/packages/netbase/netbase/om-3d7k/interfaces deleted file mode 100644 index dda0850d71..0000000000 --- a/packages/netbase/netbase/om-3d7k/interfaces +++ /dev/null @@ -1,21 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# No wireless interface - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -allow-hotplug 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 echo nameserver 208.67.220.220 >> /etc/resolv.conf - -# Bluetooth networking -iface bnep0 inet dhcp diff --git a/packages/netbase/netbase/om-gta01/interfaces b/packages/netbase/netbase/om-gta01/interfaces deleted file mode 100644 index 56c485ef75..0000000000 --- a/packages/netbase/netbase/om-gta01/interfaces +++ /dev/null @@ -1,29 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp -wireless_mode managed -wireless_essid any -iface atml0 inet dhcp - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -allow-hotplug 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 echo nameserver 208.67.220.220 >> /etc/resolv.conf - -# Bluetooth networking -iface bnep0 inet dhcp diff --git a/packages/netbase/netbase/om-gta02/interfaces b/packages/netbase/netbase/om-gta02/interfaces deleted file mode 100644 index ceedfc59c2..0000000000 --- a/packages/netbase/netbase/om-gta02/interfaces +++ /dev/null @@ -1,30 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp -wireless_mode managed -wireless_essid any -iface atml0 inet dhcp - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -allow-hotplug 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 echo nameserver 208.67.220.220 >> /etc/resolv.conf - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/openmn/hosts b/packages/netbase/netbase/openmn/hosts deleted file mode 100644 index 0205b98fc2..0000000000 --- a/packages/netbase/netbase/openmn/hosts +++ /dev/null @@ -1,2 +0,0 @@ -127.0.0.1 localhost.localdomain localhost -192.168.233.1 www.mn-solutions.de diff --git a/packages/netbase/netbase/openmn/interfaces b/packages/netbase/netbase/openmn/interfaces deleted file mode 100644 index 9ebe9b8ff1..0000000000 --- a/packages/netbase/netbase/openmn/interfaces +++ /dev/null @@ -1,10 +0,0 @@ -auto lo -auto eth1 - -iface lo inet loopback - -iface eth0 inet dhcp - -iface eth1 inet dhcp - wireless_mode managed - wireless_essid any diff --git a/packages/netbase/netbase/oplinux-uclibc/interfaces b/packages/netbase/netbase/oplinux-uclibc/interfaces deleted file mode 100644 index 673618f636..0000000000 --- a/packages/netbase/netbase/oplinux-uclibc/interfaces +++ /dev/null @@ -1,10 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 -iface eth0 inet dhcp - diff --git a/packages/netbase/netbase/oplinux-uclibc/options b/packages/netbase/netbase/oplinux-uclibc/options deleted file mode 100644 index 14380f4376..0000000000 --- a/packages/netbase/netbase/oplinux-uclibc/options +++ /dev/null @@ -1,3 +0,0 @@ -ip_forward=yes -spoofprotect=yes -syncookies=no diff --git a/packages/netbase/netbase/oplinux/interfaces b/packages/netbase/netbase/oplinux/interfaces deleted file mode 100644 index 673618f636..0000000000 --- a/packages/netbase/netbase/oplinux/interfaces +++ /dev/null @@ -1,10 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 -iface eth0 inet dhcp - diff --git a/packages/netbase/netbase/oplinux/options b/packages/netbase/netbase/oplinux/options deleted file mode 100644 index 14380f4376..0000000000 --- a/packages/netbase/netbase/oplinux/options +++ /dev/null @@ -1,3 +0,0 @@ -ip_forward=yes -spoofprotect=yes -syncookies=no diff --git a/packages/netbase/netbase/options b/packages/netbase/netbase/options deleted file mode 100644 index a1f9d05f75..0000000000 --- a/packages/netbase/netbase/options +++ /dev/null @@ -1,4 +0,0 @@ -# used only when /etc/sysctl.conf does not exist -ip_forward=no -spoofprotect=yes -syncookies=no diff --git a/packages/netbase/netbase/palmt650/interfaces b/packages/netbase/netbase/palmt650/interfaces deleted file mode 100644 index db4c4ca21f..0000000000 --- a/packages/netbase/netbase/palmt650/interfaces +++ /dev/null @@ -1,22 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces - -# Wired or wireless interfaces - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -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 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/ronetix-pm9261/interfaces b/packages/netbase/netbase/ronetix-pm9261/interfaces deleted file mode 100644 index ab20f5b37b..0000000000 --- a/packages/netbase/netbase/ronetix-pm9261/interfaces +++ /dev/null @@ -1,72 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - -# Wireless interfaces -# -# Example of an unencrypted (no WEP or WPA) wireless connection -# that connects to any available access point: -# -iface wlan0 inet dhcp - wireless_mode managed - wireless_essid any -# -# -# Same as above but locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless_mode managed -# wireless-essid some-essid -# -# A WEP encrypted connection locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless-essid some-essid -# wireless-key s:My-PlainText-Password -# wireless-mode managed -# -# A WPA1 or WPA2 encrypted connection locked to a specific access point. -# This is the best option for non-roaming, single-network usage. -# Note that your card may require a firmware update to use WPA. -# Some distributions install a temporary volatile firmware update on ifup. -# -#iface wlan0 inet dhcp -# wpa-essid some-essid -# wpa-psk My-PlainText-Password -# -# A WPA1 or WPA2 encrypted connection using an external configuration file -# for wpa-supplicant. This is the way to go if you need to configure multiple -# networks with different keys and / or WPA settings and roaming support. -# -# iface wlan0 inet dhcp -# wpa-conf /etc/wpa_supplicant.conf -# wpa-driver hostap - - - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet static - address 192.168.0.184 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.1 - -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.0.202 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.200 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/ronetix-pm9263/interfaces b/packages/netbase/netbase/ronetix-pm9263/interfaces deleted file mode 100644 index ab20f5b37b..0000000000 --- a/packages/netbase/netbase/ronetix-pm9263/interfaces +++ /dev/null @@ -1,72 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - -# Wireless interfaces -# -# Example of an unencrypted (no WEP or WPA) wireless connection -# that connects to any available access point: -# -iface wlan0 inet dhcp - wireless_mode managed - wireless_essid any -# -# -# Same as above but locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless_mode managed -# wireless-essid some-essid -# -# A WEP encrypted connection locked to a specific access point: -# -#iface wlan0 inet dhcp -# wireless-essid some-essid -# wireless-key s:My-PlainText-Password -# wireless-mode managed -# -# A WPA1 or WPA2 encrypted connection locked to a specific access point. -# This is the best option for non-roaming, single-network usage. -# Note that your card may require a firmware update to use WPA. -# Some distributions install a temporary volatile firmware update on ifup. -# -#iface wlan0 inet dhcp -# wpa-essid some-essid -# wpa-psk My-PlainText-Password -# -# A WPA1 or WPA2 encrypted connection using an external configuration file -# for wpa-supplicant. This is the way to go if you need to configure multiple -# networks with different keys and / or WPA settings and roaming support. -# -# iface wlan0 inet dhcp -# wpa-conf /etc/wpa_supplicant.conf -# wpa-driver hostap - - - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet static - address 192.168.0.184 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.1 - -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.0.202 - netmask 255.255.255.0 - network 192.168.0.0 - gateway 192.168.0.200 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/packages/netbase/netbase/slugos/if-pre-up.d/test-nfsroot b/packages/netbase/netbase/slugos/if-pre-up.d/test-nfsroot deleted file mode 100644 index bbfd7d9bb3..0000000000 --- a/packages/netbase/netbase/slugos/if-pre-up.d/test-nfsroot +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -if [ X"$IFACE" == "Xeth0" ] ; then - nfsroot=`grep ' / nfs ' /proc/mounts` - if [ -n "$nfsroot" ]; then - echo "WARNING: Refusing to ifup eth0 when booted to a nfs-mounted rootfs." - exit 1 - fi -fi -exit 0 diff --git a/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix b/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix deleted file mode 100644 index 7d2e9705ea..0000000000 --- a/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# This works around a problem where udhcpc times out w/o getting a lease -# due to slow auto-negotiate. - -if test "$IFACE" = "eth0" -a "$METHOD" = "dhcp" -then - echo -n "[sleeping 5s]..." - ifconfig eth0 up - sleep 5 -fi - diff --git a/packages/netbase/netbase/tosa/interfaces b/packages/netbase/netbase/tosa/interfaces deleted file mode 100644 index 0da7168535..0000000000 --- a/packages/netbase/netbase/tosa/interfaces +++ /dev/null @@ -1,24 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp - wireless_type wlan-ng - wireless_mode Managed - pre-up modprobe prism2_usb -# pre-up /sbin/usbctl on 1 -# post-down /sbin/usbctl off 1 - post-down rmmod prism2_usb - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Zaurus usbnet -iface usbd0 inet dhcp - -# usbnet from the other side -iface usb0 inet dhcp diff --git a/packages/netbase/netbase/wrt54/interfaces b/packages/netbase/netbase/wrt54/interfaces deleted file mode 100644 index 8b2852ac51..0000000000 --- a/packages/netbase/netbase/wrt54/interfaces +++ /dev/null @@ -1,23 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# loopback interface -auto lo -iface lo inet loopback - -# the 4 LAN ports -auto vlan0 -iface vlan0 inet static - address 192.168.1.1 - netmask 255.255.255.0 - -# WAN port -auto vlan1 -iface vlan1 inet dhcp - -# wireless interface -auto eth1 -iface eth1 inet static - wireless_mode master - wireless_essid wrt - address 10.0.0.1 - netmask 255.255.255.0 diff --git a/packages/netbase/netbase/xxs1500/interfaces b/packages/netbase/netbase/xxs1500/interfaces deleted file mode 100644 index 23ccccd2dd..0000000000 --- a/packages/netbase/netbase/xxs1500/interfaces +++ /dev/null @@ -1,15 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Ethernet -auto eth0 eth1 -iface eth0 inet static - address 192.168.127.1 - netmask 255.255.255.0 - -iface eth1 inet static - address 192.168.128.1 - netmask 255.255.255.0 diff --git a/packages/netbase/netbase_4.21.bb b/packages/netbase/netbase_4.21.bb deleted file mode 100644 index 1437094b71..0000000000 --- a/packages/netbase/netbase_4.21.bb +++ /dev/null @@ -1,61 +0,0 @@ -DESCRIPTION = "This package provides the necessary \ -infrastructure for basic TCP/IP based networking." -SECTION = "base" -LICENSE = "GPL" -PR = "r33" - -inherit update-rc.d - -SRC_URI_OVERRIDES_PACKAGE_ARCH = "1" - -INITSCRIPT_NAME = "networking" -INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." -# On MNCI etc, start very late so that our own apps come up faster -INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ." -# On SlugOS (NSLU2) delay the stop until after network apps have exited -# Do not stop in single user - there's no way to sulogin! -INITSCRIPT_PARAMS_slugos = "start 42 S 0 6 ." - -SRC_URI = "\ - http://developer.irexnet.com/pub/iOn/Sources/1.0/Third%20party/all/netbase-${PV}.tar.gz \ - file://options \ - file://init \ - file://hosts \ - file://interfaces \ - file://if-pre-up.d \ - file://if-up.d \ - file://if-down.d \ - file://if-post-down.d \ -" - -do_install () { - install -d ${D}${sysconfdir}/init.d - install -d ${D}${sbindir} - install -d ${D}${mandir}/man8 - install -d ${D}${sysconfdir}/network/if-pre-up.d - install -d ${D}${sysconfdir}/network/if-up.d - install -d ${D}${sysconfdir}/network/if-down.d - install -d ${D}${sysconfdir}/network/if-post-down.d - - for dir in if-pre-up.d if-up.d if-down.d if-post-down.d - do - for script in `ls -1 "${WORKDIR}/${dir}"` - do - install -m 0755 "${WORKDIR}/${dir}/${script}" "${D}${sysconfdir}/network/${dir}" - done - done - - install -m 0644 ${WORKDIR}/options ${D}${sysconfdir}/network/options - install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking - install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts - install -m 0644 etc-rpc ${D}${sysconfdir}/rpc - install -m 0644 etc-protocols ${D}${sysconfdir}/protocols - install -m 0644 etc-services ${D}${sysconfdir}/services - install -m 0755 update-inetd ${D}${sbindir}/ - install -m 0644 update-inetd.8 ${D}${mandir}/man8/ - install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces -} - -CONFFILES_${PN} = "${sysconfdir}/network/options ${sysconfdir}/hosts \ - ${sysconfdir}/network/interfaces ${sysconfdir}/rpc \ - ${sysconfdir}/protocols ${sysconfdir}/services" |