diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-05 19:40:08 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-05 19:40:08 +0000 |
commit | b112c1a8bc7dbb4d87c4d0c0a9dc305733fd3533 (patch) | |
tree | 5cbd4def504e8c4621ef53622a654dc75321f7e8 /packages/netbase | |
parent | 7c45869b0e91e9fe7da13619d197d164dad61ae3 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/01/05 19:36:45+00:00 nexus.co.uk!pb
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into stealth.nexus.co.uk:/home/pb/oe/oe
2005/01/05 19:36:34+00:00 nexus.co.uk!pb
update gdb to 6.3
2005/01/05 20:09:24+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2005/01/05 20:08:55+01:00 uni-frankfurt.de!mickeyl
switch dropbear 0.44 back to using /dev/urandom. It's less secure, but faster
2005/01/05 10:54:32-08:00 (none)!ggilbert
netbase_4.19.bb:
netbase: Bump pr for interfaces file change
interfaces:
netbase: Addess essid=any to interfaces file.
Wireless Access points should now auto associate
when using hostap
BKrev: 41dc4298tJ4DowLLlgompjeJuNGu0Q
Diffstat (limited to 'packages/netbase')
-rw-r--r-- | packages/netbase/netbase/interfaces | 19 | ||||
-rw-r--r-- | packages/netbase/netbase_4.19.bb | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/packages/netbase/netbase/interfaces b/packages/netbase/netbase/interfaces index e69de29bb2..7768ea298a 100644 --- a/packages/netbase/netbase/interfaces +++ b/packages/netbase/netbase/interfaces @@ -0,0 +1,19 @@ +# /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 + +# Zaurus usbnet +iface usbd0 inet dhcp + diff --git a/packages/netbase/netbase_4.19.bb b/packages/netbase/netbase_4.19.bb index e69de29bb2..3e59ab5c55 100644 --- a/packages/netbase/netbase_4.19.bb +++ b/packages/netbase/netbase_4.19.bb @@ -0,0 +1,37 @@ +SECTION = "base" +DESCRIPTION = "This package provides the necessary \ +infrastructure for basic TCP/IP based networking." +LICENSE = "GPL" +PR = "r3" + +inherit update-rc.d + +INITSCRIPT_NAME = "networking" +INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." + +SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ + file://options \ + file://init \ + file://hosts \ + file://interfaces" + +do_install () { + install -d ${D}/${sysconfdir}/init.d \ + ${D}/${sbindir} \ + ${D}/${mandir}/man8 \ + ${D}/${sysconfdir}/network/if-pre-up.d \ + ${D}/${sysconfdir}/network/if-up.d \ + ${D}/${sysconfdir}/network/if-down.d \ + ${D}/${sysconfdir}/network/if-post-down.d + 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}_nylon = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces" |