WPA Supplicant

From CBLFS
Jump to: navigation, search
Download Source: http://hostap.epitest.fi/releases/wpa_supplicant-0.6.10.tar.gz


Contents

Introduction to WPA Supplicant

WPA Supplicant is a daemon which allows a wireless card to associate with a network using WEP/WPA/WPA2 (IEEE 802.11i / RSN) networks. The actual daemon (wpa_supplicant) parses a config file which declares networks to scan for and keys to use for authentication. The networks scanned can be referenced by MAC or SSID. If nothing is declared it'll associate with the strongest open network.

Project Homepage: http://hostap.epitest.fi/wpa_supplicant/

Caution.png

Note

WPA Supplicant DOES NOT AND WILL NEVER HAVE ANYTHING TO DO WITH IP/GATEWAY/DNS ASSIGNMENT. So don't ask about it. Refer any questions on that subject to dhcpcd and/or ifplugd and co.

Dependencies

Recommended

Optional Drivers

Configuration Information

You need to create a .config file based on defconfig in the top-level of the source directory. The README has a lot of good information regarding creating a config.

cd wpa_supplicant &&
cp defconfig .config &&
cat >> .config << "EOF" 
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I/path/to/madwifi/source
CONFIG_CTRL_IFACE_DBUS=y
EOF

Non-Multilib

Compile the package:

make

Install the package

cp -v wpa_cli wpa_supplicant wpa_passphrase /sbin

If you have D-BUS installed execute the following commands to add the configuration and services files for D-BUS:

cp -v dbus-wpa_supplicant.conf /etc/dbus-1/system.d/ &&
cp -v dbus-wpa_supplicant.service /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Please Contribute this section.

N32

Please Contribute this section.

64Bit

CC="gcc ${BUILD64}" make &&
cp wpa_cli wpa_supplicant wpa_passphrase /usr/sbin
Personal tools