WPA Supplicant: Difference between revisions

From LFScript
Created page with "<scriptname>wpa-supplicant</scriptname> == Sources == * <sourcecode>http://hostap.epitest.fi/releases/wpa_supplicant-0.7.3.tar.gz</sourcecode> <md5>f516f191384a9a546e3f5145c..."
 
mNo edit summary
Line 1: Line 1:
'''This package has been added to BLFS and therefore is no longer maintained here.'''
<scriptname>wpa-supplicant</scriptname>
<scriptname>wpa-supplicant</scriptname>



Revision as of 13:15, 14 June 2014

This package has been added to BLFS and therefore is no longer maintained here.

LFScript can find this software under the name wpa-supplicant.

Sources


MD5 Checksums:

f516f191384a9a546e3f5145c08addda  wpa_supplicant-0.7.3.tar.gz

Dependencies

  • openssl
  • pkgconfig
  • dbus
  • libnl

Installation

The following patches the source code to make it link against libnl-3.2.x:

sed 's/-lnl/-lnl-3/g' -i src/drivers/drivers.mak
sed 's/-lnl-3-genl/-lnl-genl-3/g' -i src/drivers/drivers.mak
pushd wpa_supplicant

Configure the build:

cp -v defconfig .config
cat >> .config << "EOF"
# Allow linking against LIBNL-3.2.x
CONFIG_LIBNL20=y
CFLAGS += -I/usr/include/libnl3

# Configure with DBUS and NL80211 driver support (required for NetworkManager)
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_DRIVER_NL80211=y
EOF
make

As the root user:

cp -v wpa_cli wpa_passphrase wpa_supplicant /sbin

As the root user:

pushd dbus
cp -v dbus-wpa_supplicant.conf /etc/dbus-1/system.d/
cp -v *.service /usr/share/dbus-1/system-services/
popd
popd