install_aircrack_old
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | install_aircrack_old [2018/04/30 22:09] (current) – Moved all legacy stuff from install_aircrack-ng here mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing Legacy Aircrack-ng from Source ====== | ||
+ | ===== Requirements ===== | ||
+ | |||
+ | * openssl | ||
+ | * make | ||
+ | * gcc | ||
+ | |||
+ | ===== Compiling and installing ===== | ||
+ | |||
+ | ==== Legacy ==== | ||
+ | |||
+ | wget http:// | ||
+ | tar -zxvf aircrack-ng-0.9.3.tar.gz | ||
+ | cd aircrack-ng-0.9.3 | ||
+ | make | ||
+ | make install | ||
+ | |||
+ | ===== Troubleshooting Tips ===== | ||
+ | ==== " | ||
+ | |||
+ | After you do "make install" | ||
+ | |||
+ | Normally, the Aircrack-ng suite programs and man pages are placed in: | ||
+ | |||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | On your system, to determine which directories have the Aircrack-ng programs enter the following. If using " | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | or | ||
+ | |||
+ | find / -name aircrack-ng | ||
+ | find / -name airmon-ng | ||
+ | |||
+ | Once you know the directories (exclude the source directories) then determine which directories are in your PATH. To see which directories are included in PATH on your particular system enter: | ||
+ | |||
+ | echo $PATH | ||
+ | |||
+ | It should show something like: | ||
+ | |||
+ | / | ||
+ | |||
+ | At this point compare the actual locations with the directories in your PATH. If the directories are missing from your PATH then you have a few options: | ||
+ | |||
+ | * Add the directories to your PATH. See the one or more of the following web sites for details of how to do this: | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | * Change to the particular directory with " | ||
+ | |||
+ | * Specify the full path for each command. | ||
+ | |||
+ | * Specify the location prefix when installing. | ||
+ | |||
+ | ==== " | ||
+ | On Debian-based distros, if you get something similar to:\\ | ||
+ | |||
+ | /bin/sh: line 0: cd: / | ||
+ | Makefile.inc: | ||
+ | Stop. | ||
+ | |||
+ | Solution: | ||
+ | |||
+ | The build directory gets installed together with the kernel headers, so either you lack the correct headers or your KERNELPATH is wrong. | ||
+ | |||
+ | Do a "sudo apt-get install linux-headers-`uname -r`" or just "sudo apt-get install linux-headers" | ||
+ | |||
+ | If uname returns exactly that string and the current headers are installed, the remove the headers and install them again. Also check /usr/src for installed header files, maybe it got mixed up for whatever reason. | ||
+ | |||
+ | In the above examples, needless to say, change " | ||
+ | |||
+ | ==== " | ||
+ | |||
+ | If you get something similar to:\\ | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Solution: | ||
+ | You are missing the OpenSSL development package. | ||
+ | |||
+ | ==== " | ||
+ | |||
+ | If you get something similar to: | ||
+ | |||
+ | | ||
+ | |||
+ | Solution: | ||
+ | You are missing the zlib development package. Depending on the distribution, | ||
+ | |||
+ | ==== " | ||
+ | |||
+ | You get something similar to: | ||
+ | |||
+ | | ||
+ | / | ||
+ | |||
+ | See [[http:// | ||
+ | |||
+ | |||
+ | ====== Installing on Mac OSX ====== | ||
+ | |||
+ | **Important note**: airodump-ng and aireplay-ng will not work under OSX natively. Which means, injection and capture will have to use other means. If you have an intel Mac (any recent-ish Mac is), check out the VMware Fusion option which is mentioned lower on this page. | ||
+ | |||
+ | The simplest and easiest way to install on Mac OS X is via [[http:// | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | - Make sure you have Xcode installed on your Mac, which can be found on the installer CD/DVD which came with your Mac (or downloaded). | ||
+ | - After getting the source you can do a simple "make && sudo make install" | ||
+ | - When you use the stable, you need to rename the Makefile.osx to Makefile and when you use the dev version it will autodetect you are using Darwin and compile fine. | ||
+ | |||
+ | Optional is openssl-dev and sqlite3 which can be installed through fink | ||
+ | |||
+ | |||
+ | ====== Installing VMware Image - DEPRECATED ====== | ||
+ | |||
+ | **Important Note**: Virtualization solutions (VMware/ | ||
+ | |||
+ | ===== Requirements ===== | ||
+ | |||
+ | * VMWare Workstation 6.02, VMWare Player 2.02 (freeware) or VMWare Fusion beta for intel based Mac's | ||
+ | * Wireless USB with one of the following chipsets: | ||
+ | * rtl8187 | ||
+ | * rt2570 | ||
+ | * rt73 | ||
+ | * Approximately 2Gb of hard disk space | ||
+ | |||
+ | **Important note:** VMWare Workstation 6.5 (and maybe Player 2.5 too) is known not to work correctly with rtl8187 driver. | ||
+ | ===== Starting ===== | ||
+ | |||
+ | - Install VMWare Workstation or Player | ||
+ | - Download this VMware image [[http:// | ||
+ | - Start VMware and select " | ||
+ | - Attach your USB adapter. | ||
+ | - If the USB adapter is recognized automatically you'll find a small USB icon in the lower right corner of your VMWare window. | ||
+ | |||
+ | **Notes:** | ||
+ | * Uncompress the file on a filesystem that supports large files; NTFS, ext3, ... (all FAT filesystems, | ||
+ | * Use [[http:// | ||
+ | * Here are a few reasons why the download doesn' | ||
+ | * That sounds logical but make sure the URL is correct. | ||
+ | * Check your DNS, make sure it can resolve " | ||
+ | * You don't need any driver for wireless adapters (and other USB adapters) on the OS running VMware. | ||
+ | * The login credentials for the image are user id " | ||
+ | * The [[faq# | ||
+ | |||
+ | ===== Manually attaching USB device ===== | ||
+ | |||
+ | On VMware Player, the device should be shown in the title bar, click on it to activate it. | ||
+ | On VMware Workstation, | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | It will automatically unplug the device from Windows and attach it to the virtual machine. | ||
+ | |||
+ | ===== Loading Wireless Device Drivers ===== | ||
+ | |||
+ | The drivers can be loaded via the menu inside the VM: | ||
+ | |||
+ | {{ http:// |
install_aircrack_old.txt · Last modified: 2018/04/30 22:09 by mister_x