diff --git a/wpa_supplicant/.footprint b/wpa_supplicant/.footprint new file mode 100644 index 000000000..42ae6622f --- /dev/null +++ b/wpa_supplicant/.footprint @@ -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 diff --git a/wpa_supplicant/.md5sum b/wpa_supplicant/.md5sum new file mode 100644 index 000000000..181486363 --- /dev/null +++ b/wpa_supplicant/.md5sum @@ -0,0 +1 @@ +765d6c70d75e88cd4dc010fa6b52c45f wpa_supplicant-0.4.8.tar.gz diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile new file mode 100644 index 000000000..a78b34a31 --- /dev/null +++ b/wpa_supplicant/Pkgfile @@ -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 +} diff --git a/wpa_supplicant/README b/wpa_supplicant/README new file mode 100644 index 000000000..03aabfd00 --- /dev/null +++ b/wpa_supplicant/README @@ -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 >> /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 +