wpa_supplicant: initial release
This commit is contained in:
parent
54cf82a5c6
commit
20643427e7
7
wpa_supplicant/.footprint
Normal file
7
wpa_supplicant/.footprint
Normal file
@ -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
|
1
wpa_supplicant/.md5sum
Normal file
1
wpa_supplicant/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
765d6c70d75e88cd4dc010fa6b52c45f wpa_supplicant-0.4.8.tar.gz
|
20
wpa_supplicant/Pkgfile
Normal file
20
wpa_supplicant/Pkgfile
Normal file
@ -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
|
||||
}
|
39
wpa_supplicant/README
Normal file
39
wpa_supplicant/README
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user