WPA Supplicant

From LFScript

This software is included in BLFS and therefore 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