[notify] wpa_supplicant: added support for nl80211 configuration interface, new dependency libnl
See http://linuxwireless.org/ for documentation
This commit is contained in:
parent
3c364e8857
commit
0bfb20cb3a
@ -3,12 +3,12 @@ drwxr-xr-x root/root etc/
|
|||||||
drwxr-xr-x root/root usr/
|
drwxr-xr-x root/root usr/
|
||||||
drwxr-xr-x root/root usr/man/
|
drwxr-xr-x root/root usr/man/
|
||||||
drwxr-xr-x root/root usr/man/man5/
|
drwxr-xr-x root/root usr/man/man5/
|
||||||
-rwxr-xr-x root/root usr/man/man5/wpa_supplicant.conf.5.gz
|
-rw-r--r-- root/root usr/man/man5/wpa_supplicant.conf.5.gz
|
||||||
drwxr-xr-x root/root usr/man/man8/
|
drwxr-xr-x root/root usr/man/man8/
|
||||||
-rwxr-xr-x root/root usr/man/man8/wpa_background.8.gz
|
-rw-r--r-- root/root usr/man/man8/wpa_background.8.gz
|
||||||
-rwxr-xr-x root/root usr/man/man8/wpa_cli.8.gz
|
-rw-r--r-- root/root usr/man/man8/wpa_cli.8.gz
|
||||||
-rwxr-xr-x root/root usr/man/man8/wpa_passphrase.8.gz
|
-rw-r--r-- root/root usr/man/man8/wpa_passphrase.8.gz
|
||||||
-rwxr-xr-x root/root usr/man/man8/wpa_supplicant.8.gz
|
-rw-r--r-- root/root usr/man/man8/wpa_supplicant.8.gz
|
||||||
drwxr-xr-x root/root usr/sbin/
|
drwxr-xr-x root/root usr/sbin/
|
||||||
-rwxr-xr-x root/root usr/sbin/wpa_cli
|
-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_passphrase
|
||||||
|
@ -1,22 +1,27 @@
|
|||||||
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
|
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
|
||||||
# URL: http://hostap.epitest.fi/wpa_supplicant/
|
# URL: http://hostap.epitest.fi/wpa_supplicant/
|
||||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||||
# Depends on: openssl ncurses readline
|
# Depends on: openssl ncurses readline libnl
|
||||||
|
|
||||||
name=wpa_supplicant
|
name=wpa_supplicant
|
||||||
version=0.7.3
|
version=0.7.3
|
||||||
release=1
|
release=2
|
||||||
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
|
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version/$name
|
cd $name-$version/$name
|
||||||
|
|
||||||
cp defconfig .config
|
cp defconfig .config
|
||||||
|
echo "CONFIG_DRIVER_NL80211=y" >> .config
|
||||||
echo "CONFIG_READLINE=y" >> .config
|
echo "CONFIG_READLINE=y" >> .config
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
|
install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
|
||||||
install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
|
install -m 0755 wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
|
||||||
install doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
|
install -m 0644 doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
|
||||||
install doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
|
install -m 0644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
|
||||||
|
|
||||||
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
|
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
|
||||||
chmod 0600 $PKG/etc/wpa.conf
|
chmod 0600 $PKG/etc/wpa.conf
|
||||||
}
|
}
|
||||||
|
@ -28,13 +28,11 @@ POST-INSTALL
|
|||||||
/sbin/modprobe ipw2100
|
/sbin/modprobe ipw2100
|
||||||
/sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx
|
/sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx
|
||||||
/sbin/route add default gw xxx.xxx.xxx.xxx
|
/sbin/route add default gw xxx.xxx.xxx.xxx
|
||||||
/usr/sbin/wpa_supplicant -B -Dwext -ieth1 -c/etc/wpa.conf
|
/usr/sbin/wpa_supplicant -B -Dnl80211 -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.
|
|
||||||
|
|
||||||
|
Note: the above configuration makes use of the generic nl80211
|
||||||
|
wpa_supplicant driver, which is the preferred nowadays
|
||||||
|
and supersedes the wext (wireless extensions) driver.
|
||||||
|
|
||||||
PRECAUTION
|
PRECAUTION
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user