r1264 - in crux-2.2/ports/opt: . wpa_supplicant
Author: jue Date: 2006-04-17 14:56:12 +0200 (Mon, 17 Apr 2006) New Revision: 1264 Added: crux-2.2/ports/opt/wpa_supplicant/ crux-2.2/ports/opt/wpa_supplicant/.footprint crux-2.2/ports/opt/wpa_supplicant/.md5sum crux-2.2/ports/opt/wpa_supplicant/Pkgfile crux-2.2/ports/opt/wpa_supplicant/README Log: wpa_supplicant: initial release Added: crux-2.2/ports/opt/wpa_supplicant/.footprint =================================================================== --- crux-2.2/ports/opt/wpa_supplicant/.footprint (rev 0) +++ crux-2.2/ports/opt/wpa_supplicant/.footprint 2006-04-17 12:56:12 UTC (rev 1264) @@ -0,0 +1,7 @@ +drwxr-xr-x root/root etc/ +-rw------- root/root etc/wpa.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/wpa_cli +-rwxr-xr-x root/root usr/sbin/wpa_passphrase +-rwxr-xr-x root/root usr/sbin/wpa_supplicant Added: crux-2.2/ports/opt/wpa_supplicant/.md5sum =================================================================== --- crux-2.2/ports/opt/wpa_supplicant/.md5sum (rev 0) +++ crux-2.2/ports/opt/wpa_supplicant/.md5sum 2006-04-17 12:56:12 UTC (rev 1264) @@ -0,0 +1 @@ +765d6c70d75e88cd4dc010fa6b52c45f wpa_supplicant-0.4.8.tar.gz Added: crux-2.2/ports/opt/wpa_supplicant/Pkgfile =================================================================== --- crux-2.2/ports/opt/wpa_supplicant/Pkgfile (rev 0) +++ crux-2.2/ports/opt/wpa_supplicant/Pkgfile 2006-04-17 12:56:12 UTC (rev 1264) @@ -0,0 +1,20 @@ +# Description: User space IEEE 802.1X/WPA supplicant (wireless client) +# URL: http://hostap.epitest.fi/wpa_supplicant/ +# Maintainer: J�rgen Daubert, juergen dot daubert at t-online dot de +# Depends on: openssl + +name=wpa_supplicant +version=0.4.8 +release=3 +source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz) + +build () { + cd $name-$version + cp defconfig .config + echo "CONFIG_READLINE=y" >> .config + make + install -d $PKG/{usr/sbin,etc} + install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin + echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf + chmod 0600 $PKG/etc/wpa.conf +} Added: crux-2.2/ports/opt/wpa_supplicant/README =================================================================== --- crux-2.2/ports/opt/wpa_supplicant/README (rev 0) +++ crux-2.2/ports/opt/wpa_supplicant/README 2006-04-17 12:56:12 UTC (rev 1264) @@ -0,0 +1,39 @@ +README for wpa_supplicant + + +REQUIREMENTS + +Kernel driver for your wireless card, e.g. ndiswrapper or ipw2100. +See the wpa_supplicant homepage for supported drivers. + + +PRE-INSTALL + + +POST-INSTALL + +1. Create a network setup for wpa_supplicant: + + wpa_passphrase <ssid> <your_secret> >> /etc/wpa.conf + + See the sample configuration file wpa_supplicant.conf in the + sources for a complete description of the available options + for wpa_supplicant. + +2. Change your wlan start script to use wpa_supplicant. + + Following an example for the centrino ipw2100 driver, no need + to do anything with iwconfig: + + /sbin/modprobe ipw2100 + /sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx + /sbin/route add default gw xxx.xxx.xxx.xxx + /usr/sbin/wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa.conf + + Note: the above configuration makes use of the generic wext + wpa_supplicant driver (Linux wireless extensions), + which is the preferred nowadays. Use this driver for + ndiswrapper as well. + +PRECAUTION +
participants (1)
-
crux@crux.nu