Difference between revisions of "WPA Supplicant"

From CBLFS
Jump to navigationJump to search
(64Bit)
(Configuration Information)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
{{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. }}
 
{{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 ==
=== Optional ===
+
=== Recommended ===
 
* [[D-BUS]]
 
* [[D-BUS]]
 
=== Optional Drivers ===
 
=== Optional Drivers ===
Line 22: 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 37: Line 38:
 
Install the package
 
Install the package
  
  cp -v wpa_cli wpa_supplicant wpa_passphrase /usr/sbin
+
  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]]:
 
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.conf /etc/dbus-1/system.d/ &&
  cp -v dbus-wpa_supplicant.service /usr/share/dbus-1/services/
+
  cp -v dbus-wpa_supplicant.service /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
  
 
== Multilib ==
 
== Multilib ==
Line 57: Line 58:
 
=== 64Bit ===
 
=== 64Bit ===
  
CC="gcc ${BUILD64}" make &&
+
CC="gcc ${BUILD64}" make &&
cp wpa_cli wpa_supplicant wpa_passphrase /usr/sbin
+
cp wpa_cli wpa_supplicant wpa_passphrase /usr/sbin
  
 
[[Category:Network Utilities]]
 
[[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


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