Installing on Linux
Install dependencies
First, some basic dependencies need to be installed.
Debian / Ubuntu / Kali / Parrot / Etc
sudo apt install build-essential cmake libusb-1.0-0-dev libpcap-dev gitRedhat
sudo dnf install cmake automake gcc gcc-c++ kernel-devel gitArch
sudo pacman -S base-devel cmake libpcap libusb gitCheck out the code
git clone https://github.com/hak5/hak5-wifi-coconutConfigure
cd hak5-wifi-coconut
mkdir build
cd build
cmake ../cmake will confirm that the required dependencies are available.
Compile
Still in the build directory, run make to compile the code:
Install
While still in the build directory, finally, install the compiled programs:
This will install the wifi-coconut tool to the default path (/usr/local/bin by default), and the rt2800usb firmware to /usr/local/share/.
Running
Running the wifi_coconut tool requires root privileges, since it performs raw access to the USB devices. Run it via sudo:
Additionally, the wifi_coconut tool takes several options to automate behavior:
Integrating with other tools
Output from the wifi_coconut tool can be directly piped to other tools like tcpdump or tshark:
or
Troubleshooting
After connecting the WiFi Coconut, you can look at the output of lsusb to confirm that the radios have been found:
If all the radios do not appear, check the output of dmesg - you may need to run sudo dmesg depending on your Linux distribution.
Root required
When running the wifi_coconut tool or coconut capture with Kismet, root is required. Run the wifi_coconut tool with sudo, and install Kismet as suit-root or run it via sudo as well.
Last updated
Was this helpful?
