Created
March 20, 2024 14:34
-
-
Save falms/c499e92c91366f141b3e4a5b69b37b09 to your computer and use it in GitHub Desktop.
Setup WiFi Explorer Pro Remote Sensor on Ubuntu Server 23.10 arm64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ref: https://intuitibits.com/help/wifiexplorerpro3/#/topic-en.lproj-connect_remote_sensor | |
cd "$HOME" | |
sudo apt update | |
sudo apt install iproute2 iw | |
# for Active Mode | |
sudo apt install git build-essential libnl-genl-3-dev libpcap-dev | |
git clone https://github.com/intuitibits/scandump.git | |
pushd scandump | |
make | |
sudo make install | |
popd | |
# for Passive Mode | |
sudo apt install aircrack-ng tcpdump wpasupplicant | |
echo "%sudo ALL=(ALL) NOPASSWD: $(which poweroff), $(which reboot), $(which iw), $(which ip), $(which tcpdump), $(which wpa_cli), $(which airmon-ng), $(which scandump)" |\ | |
sudo tee /etc/sudoers.d/wlandump | |
sudo chmod -w /etc/sudoers.d/wlandump | |
# update regulatory.db | |
sudo mv /usr/lib/firmware/regulatory.db{,.backup} | |
sudo mv /usr/lib/firmware/regulatory.db.p7s{,.backup} | |
wget https://mirrors.edge.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2023.02.13.tar.gz | |
tar xvf wireless-regdb-2023.02.13.tar.gz | |
sudo cp wireless-regdb-2023.02.13/regulatory{.db,.db.p7s} /usr/lib/firmware/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment