diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
commit | 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch) | |
tree | bf879bea7ef8517ba8c3d1286ef300401d3d484c /netbase | |
parent | 101e2f1623def0a355d20aacb8bd93810703e834 (diff) |
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded
2004/12/09 03:39:39-06:00 kergoth.com!kergoth
Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit.
BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'netbase')
-rw-r--r-- | netbase/netbase/beagle/interfaces | 18 | ||||
-rw-r--r-- | netbase/netbase/busybox.patch | 13 | ||||
-rw-r--r-- | netbase/netbase/epia/interfaces | 10 | ||||
-rw-r--r-- | netbase/netbase/hosts | 2 | ||||
-rw-r--r-- | netbase/netbase/init | 102 | ||||
-rw-r--r-- | netbase/netbase/interfaces | 18 | ||||
-rw-r--r-- | netbase/netbase/mtx-1/interfaces | 29 | ||||
-rw-r--r-- | netbase/netbase/options | 3 | ||||
-rw-r--r-- | netbase/netbase/tosa/interfaces | 24 | ||||
-rw-r--r-- | netbase/netbase/xxs1500/interfaces | 15 | ||||
-rw-r--r-- | netbase/netbase_4.19.bb | 0 |
11 files changed, 0 insertions, 234 deletions
diff --git a/netbase/netbase/beagle/interfaces b/netbase/netbase/beagle/interfaces deleted file mode 100644 index 73a109088b..0000000000 --- a/netbase/netbase/beagle/interfaces +++ /dev/null @@ -1,18 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo usbf -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp -wireless_mode managed -iface atml0 inet dhcp - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Zaurus usbnet -iface usbf inet dhcp - diff --git a/netbase/netbase/busybox.patch b/netbase/netbase/busybox.patch deleted file mode 100644 index 845bb421ed..0000000000 --- a/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/netbase/netbase/epia/interfaces b/netbase/netbase/epia/interfaces deleted file mode 100644 index 673618f636..0000000000 --- a/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/netbase/netbase/hosts b/netbase/netbase/hosts deleted file mode 100644 index 2f332451b5..0000000000 --- a/netbase/netbase/hosts +++ /dev/null @@ -1,2 +0,0 @@ -127.0.0.1 localhost.localdomain localhost - diff --git a/netbase/netbase/init b/netbase/netbase/init deleted file mode 100644 index 8d6b9aa426..0000000000 --- a/netbase/netbase/init +++ /dev/null @@ -1,102 +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) - doopt spoofprotect yes - doopt syncookies no - doopt ip_forward no - - 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/netbase/netbase/interfaces b/netbase/netbase/interfaces deleted file mode 100644 index 908d074061..0000000000 --- a/netbase/netbase/interfaces +++ /dev/null @@ -1,18 +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 -iface atml0 inet dhcp - -# Wired or wireless interfaces -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Zaurus usbnet -iface usbd0 inet dhcp - diff --git a/netbase/netbase/mtx-1/interfaces b/netbase/netbase/mtx-1/interfaces deleted file mode 100644 index a7c6da5752..0000000000 --- a/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/netbase/netbase/options b/netbase/netbase/options deleted file mode 100644 index 2000189d19..0000000000 --- a/netbase/netbase/options +++ /dev/null @@ -1,3 +0,0 @@ -ip_forward=no -spoofprotect=yes -syncookies=no diff --git a/netbase/netbase/tosa/interfaces b/netbase/netbase/tosa/interfaces deleted file mode 100644 index 92b022475c..0000000000 --- a/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/netbase/netbase/xxs1500/interfaces b/netbase/netbase/xxs1500/interfaces deleted file mode 100644 index 23ccccd2dd..0000000000 --- a/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/netbase/netbase_4.19.bb b/netbase/netbase_4.19.bb deleted file mode 100644 index e69de29bb2..0000000000 --- a/netbase/netbase_4.19.bb +++ /dev/null |