About
I will explain how to setup a compatible 5GHz adepter to work with Pineapple Mark VII. The list of compatible adepters is available here. I purchased Alfa AWUS036ACM from Amazon.
Before we begin, please refer to this article to understand which configuration files to edit and how to create backup for existing files. Below you will the complete configuration.
Configuration
Login to Pineapple via SSH and backup the original 2G configuration as per the article above:
$ ssh root@172.16.42.1
Insert the USB adapter into the Pineapple and locate it, it should be on WLAN3.
root@mk7:~# airmon-ng
root@mk7:~# airmon-ng | grep MediaTek # AWUS036ACM
Now we need to configure Pineapple to use the new 5G interface instead of the default WLAN1 which only supports 2GHz. We will edit 3 configuration files to apply the changes as per the article above. Note, you do not need to follow the article instructions to change these files as the below configuration is all you need to update.
wireless
Edit "/etc/config/wireless" configuration file and find where "wlan1" is configured. You should only change "channel", "hwmode", "path", "ifname" as follows and leaving everything else the same:
channel - can be anything of 5G channel range.
hwmode - suffix "a" for 5G.
path - needs to change as your adepter is connected to its own USB slot. WLAN1 on USB 1-1, WLAN2 on USB 1-2, thus WLAN3 is probably on USB 1-3.
ifname is the adapter.
pineap
Edit "/etc/config/pineap" configuration file. You should only change "ap_channel", "pineap_interface" as follows and leaving everything else the same:
ap_channel - match to what is configured in "wireless" section above.
pinap_interface is the adapter.
pineapd
Edit "/etc/init.d/pineapd" configuration file. You should change all occurrences of "wlan1" to "wlan3" and "wlan1mon" to "wlan3mon":
Testing
After rebooting your Pineapple Mark VII, login to its WEB interface on http://172.16.42.1:1471
In the Recon section where the Scanning takes place, you should see that the Scan has a new 5 GHz option available!
You may also try the following in SSH terminal (WEB Terminal provies no output, SSH to the device). Output should capture access points on channels from 36 to 48.
root@mk7:~# airmon-ng start wlan3
wlan3mon IEEE 802.11 Mode:Monitor Frequency:5.2 GHz Tx-Power=20 dBm