# # Now Configure the WPA Options # ----------------------------- # # http://www.Linux-Wireless.org/Install-HOWTO/Drivers/WPA/wpa_supplicant.Install-HOWTO.txt # # # http://www.mattfoster.clara.co.uk/madwifi-4.htm madWifi FAQ #4.15 # # # 21-Jun-04 amo Date-of-Birth # # # # First, do some Sanity Checking # ------------------------------- # - Configure your wireless network first # - Turn on and off your WEP keys # # # # Get xsupplicant # ----------------- # http://hostap.epitest.fi/wpa_supplicant/ # http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/*checkout*/hostap/wpa_supplicant/wpa_supplicant.conf # # cd /usr/local/src/ # wget http://hostap.epitest.fi/releases/wpa_supplicant-0.2.3.tar.gz wget http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/*checkout*/hostap/wpa_supplicant/wpa_supplicant.conf # # tar zxpvf wpa_supplicant-0.2.3.tar.gz # # cd wpa_supplicant-0.2.3 # # # make a .config file for wpa # ---------------------------- # # # # minimum entries # # # CONFIG_DRIVER_MADWIFI=y # CONFIG_WIRELESS_EXTENSION=y # vi .config ============ # # # Fix the path for madwifi/wpa # ---------------------------- # # my setup is: # /usr/local/src/madwifi-20040621.wpa # /usr/local/src/wpa_supplicant-0.2.3 # vi Makefile ============ # CFLAGS += -I../madwifi-20040621.wpa <<--- change this # OBJS += driver_madwifi.o # # vi /etc/wpa_supplicant.conf ========================= # # # # minimum entries for /etc/wpa_supplicant.conf # # # network={ # scan_ssid=0 # proto=WPA # key_mgmt=WPA-PSK # pairwise=CCMP TKIP # group=CCMP TKIP WEP104 WEP40 # } # # # # end of wpa_supplicant.conf # # make # # # -------------------------------------------------- # manually install the WPA binaries and config files # -------------------------------------------------- # cp -p wpa_cli wpa_passphrase wpa_supplicant /usr/local/sbin # cp -p wpa_supplicant.conf /etc chmod 640 /etc/wpa_supplicant.conf # # wpa_passphrase "essid-of-the-ap" "the secret passphrase" # # wpa_supplicant -Bw [ -d ] -c/etc/wpa_supplicant.conf -iath0 # -d is debug # # # =============================== README =============================== # Optional libraries for layer2 packet processing: - libpcap (tested with 0.7.2, most relatively recent versions assumed to work, this is likely to be available with most distributions, http://tcpdump.org/) - libdnet (tested with v1.4, most versions assumed to work, http://libdnet.sourceforge.net/) These libraries are _not_ used in the default build. Instead, internal Linux specific implementation is used. libpcap/libdnet are more portable and they can be used by modifying Makefile (define USE_DNET_PCAP and link with these libraries). Optional libraries for EAP-TLS, EAP-PEAP, and EAP-TTLS: - openssl (tested with 0.9.7c, assumed to work with most relatively recent versions; this is likely to be available with most distributions, http://www.openssl.org/) # # # End of file