How to compile and install AIRCRACK on CentOS 8 - nomorespice/centos8-howto GitHub Wiki

Aircrack-ng is a network software suite consisting of a detector, packet sniffer, WEP and WPA/WPA2-PSK cracker and analysis tool for 802.11 wireless LANs. This guide will walk you through the process of compiling, installing and configuration of Aircrack-NG on CentOS 8 Linux.

This document assumes that:

  • you installed the CentOS 8 x64 Operating System according to How to install CentOS 8 via kickstart
  • you are performing these tasks as root
  • you are performing these tasks in order, as some tasks require others to be completed first

Verify WIFI functionality

dnf install NetworkManager-wifi
systemctl restart NetworkManager
nmcli d wifi list

Install the required software

dnf -y --enablerepo=epel install iw git-svn libpcap-devel sqlite-devel gcc gcc-c++ libnl3-devel openssl-devel usbutils pciutils rfkill screen
dnf -y --enablerepo=PowerTools install hwloc-devel libcmocka-devel

Download, compile and install Aircrack-NG

mkdir /var/src
cd /var/src
wget https://download.aircrack-ng.org/aircrack-ng-1.6.tar.gz
tar -zxvf aircrack-ng-1.6.tar.gz 
cd aircrack-ng-1.6
./autogen.sh
make
make install

Launch Aircrack-NG monitor mode

airmon-ng check kill
airmon-ng start wlan0

Build log directory, update OUI identifiers and launch Aircrack-NG (airodump-ng)

mkdir /var/log/airodump
airodump-ng-oui-update
airodump-ng wlan0mon -w /var/log/airodump/airodump -b abg --manufacturer