%general-entities; ]> hostapd-&hostapd-version; hostapd <para>Hostapd is a daemon required for setting up a wireless access point, it supports WEP, WPA and WPA2 encryption and can optionally use EAP for authentification, but since this feature requires OpenSSL only basic WEP/WPA/WPA2 encryption will be compiled here. </para> </sect2> <sect2 role="installation"> <title>Installation of hostapd By default only a very basic hostapd is made, but hostapd supports a lot of other options as well. Write a basic config file for hostap: cd hostapd; cat > .config << EOF # Support for nl80211 driver CONFIG_DRIVER_NL80211=y # Use v2.0 of the netlink appi CFLAGS += -DCONFIG_LIBNL20 LDFLAGS += -lnl-genl CONFIG_RSN_PREAUTH=y # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) CONFIG_PEERKEY=y # Support draft ieee 802.11n CONFIG_IEEE80211N=y # Remove debugging code that is printing out debug messages to stdout. # This can be used to reduce the size of the hostapd considerably if debugging # code is not needed. CONFIG_NO_STDOUT_DEBUG=y EOF Compile the package: make CC=${CC} CFLAGS="-g -Os -Wall" Install the package: cp hostapd hostapd_cli ${CLFS}/usr/sbin Install the bootscripts from the clfs-bootscripts package: make install-hostapd DESTDIR=${CLFS} Contents of hostapd Installed programs To be Written