Difference between revisions of "WPA Supplicant"
Chipster19 (talk | contribs) |
(→Configuration Information) |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | |||
+ | {{Package-Introduction|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. | http://hostap.epitest.fi/wpa_supplicant/}} | ||
+ | |||
+ | {{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 == | == Dependencies == | ||
− | === | + | === Recommended === |
* [[D-BUS]] | * [[D-BUS]] | ||
=== Optional Drivers === | === Optional Drivers === | ||
Line 20: | Line 22: | ||
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. | 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 && | cp defconfig .config && | ||
cat >> .config << "EOF" | cat >> .config << "EOF" | ||
Line 35: | Line 38: | ||
Install the package | Install the package | ||
− | cp wpa_cli wpa_supplicant wpa_passphrase /usr/ | + | 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 == | == Multilib == | ||
Line 50: | Line 58: | ||
=== 64Bit === | === 64Bit === | ||
− | + | CC="gcc ${BUILD64}" make && | |
+ | cp wpa_cli wpa_supplicant wpa_passphrase /usr/sbin | ||
+ | |||
+ | [[Category:Network Utilities]] |
Latest revision as of 13:44, 21 February 2010
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/
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