A simple yet robust Python GUI for the Raspberry Pi to easily enable and disable monitor mode on a wireless interface.
- Custom Glowing Toggle Switch: Features a Canvas-based sliding switch flanked by status labels. Both ON and OFF are visible, with only the active state glowing (neon green for ON, bright red for OFF).
- Smooth Non-Freezing GUI: Ported command executions (
airmon-ng start/stop) to background threads. The interface stays responsive and updates status messages in real-time during transitions. - Precise Interface Tracking: Implemented exact status checking using a custom
iw devparser (withiwconfigfallback) to eliminate false positive states when multiple wireless adapters are active. - Smart Tool Launcher Validation: Detects if Wifite, Wireshark, or Kismet are installed. If a tool is missing, its launch button is gracefully disabled and labeled
(N/A). - Slate Dark Theme: Upgraded to a modern slate/charcoal styling configured via
ttk.Style. - Window Centering: GUI centers itself on launch for better desktop UX.
- Interface Refresh: Clear button to scan and refresh the list of available wireless cards.
Download the latest .deb file from the Releases page and install it using:
sudo apt update
sudo apt install ./ezmonitormode_1.3.1_all.debOnce installed, you can launch it from your application menu or by running ezmonitormode in the terminal.
pip install ezmonitormodeOnce installed, run with sudo -E ezmonitormode.
- Clone this repository:
git clone https://github.com/ldl805/EZMonitorModeButton.git cd EZMonitorModeButton - Install dependencies:
sudo apt update sudo apt install python3-tk aircrack-ng wireless-tools iw
- Run the application:
sudo -E python3 src/ezmonitormode/monitor_gui.py
This occurs if the GUI cannot find your screen.
- Running via SSH: Ensure you connected with X11 forwarding:
ssh -X user@pi. - Running via sudo: Use
sudo -E ezmonitormodeto preserve your display settings. - Running in Headless mode: This application requires a graphical desktop (Pi Desktop, VNC, etc.).
Before running ezmonitormode, ensure you have the following system tools installed:
sudo apt update
sudo apt install python3-tk aircrack-ng wireless-toolsOptional tools for the shortcut buttons:
sudo apt install wifite wireshark kismetMIT License