/*********************************************************************** * The Apware Project: http://nms.lcs.mit.edu/projects/apware * Contact: Allen Miu (aklmiu (at) mit.edu) Godfrey Tan (godfreyt (at) mit.edu) ***********************************************************************/ 1) Install each module in the same directory tar -zxvf apware-libpcap-0.8.3.tar.gz tar -zxvf apware-tcpdump-3.8.3.tar.gz tar -zxvf apware-madwifi-0.7.3.1b.tar.gz (or a later version) tar -zxvf apware-airo-0.6.tar.gz tar -zxvf apware-1.tar.gz 2) Create a link to libpcap dir ln -s libpcap-0.8.3 libpcap 3) Compile each module. The module can be compiled in any order with the exception that libpcap's compilation precedes tcpdump's. Read README_APWARE in each module directory. In theory the following set of intructions will do the trick: cd libpcap-0.8.3 autoconf autoheader ./configure --enable-apware cd .. cd tcpdump-3.8.3 autoconf autoheader ./configure --enable-apware cd .. cd madwifi-0.7.3.1b make make install cd .. cd airo-0.6 make pci make install 4) Load the driver For both airo and madwifi airo/bin/restart_airo (or) madwifi/bin/restart_ath 5) Set the driver into the monitor mode. This IS NECESSARY. For airo airo/bin/sniff_airo For madwifi airo/bin/sniff_ath 6) Run tcpdump to see cd tcpdump-3.8.3 ./tcpdump -n -s 300 -v -e -i (see README_APWARE for more details) Currently, when APWARE sniffing is enabled and monitor mode is set, each packet received will be prepended with an additonal 200 bytes of data containing driver/firmware specific information.