From 64eee194181fd7ac9f31dc164bf08e3c216d15e9 Mon Sep 17 00:00:00 2001 From: Mehrad Vaezi <91099081+vaezim@users.noreply.github.com> Date: Fri, 7 Apr 2023 13:21:33 -0400 Subject: [PATCH] Added initial wireless adaptor Setup - install drivers for Alfa AWUS036ACH - change device's name to wlan0 --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69aa3aa..0a480af 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,30 @@ This tutorial assumes that you: - `sudo apt-get install aircrack-ng` - Have a wireless card that supports [monitor mode](https://en.wikipedia.org/wiki/Monitor_mode) (see [here](http://www.wirelesshack.org/best-kali-linux-compatible-usb-adapter-dongles-2016.html) for a list of supported devices) -## Cracking a Wi-Fi Network +## Wireless Adaptor Setup +A popular wireless adaptor is [Alfa AWUS036ACH](https://www.alfa.com.tw/products/awus036ach?variant=36473965871176). After plugging in the device, check that OS has recognized it with: +```bash +lsusb +``` + +You will need to install the [drivers](https://github.com/aircrack-ng/rtl8812au) for this device to be able to see it with `airmon-ng` or `iwconfig`. Follow these steps: +```bash +cd /tmp +git clone https://github.com/aircrack-ng/rtl8812au.git +cd rtl8812au +sudo make -j 3 +sudo make install +``` +You should now see 2 wireless adaptors from the `iwconfig` command. (one is the built-in wifi card, and one the Alfa). +If the name for the Alfa card is not `wlan0` (in my case it was wlx00c0cab08e97) you can change it by: +```bash +ip link set down +ip link set name wlan0 +ip link set wlan0 up +``` + +## Cracking a Wi-Fi Network ### Monitor Mode Begin by listing wireless interfaces that support monitor mode with: