Troubleshooting Guide
Find solutions to common issues and platform-specific problems with WiFi Jammer.
Common Issues
Platform-Specific Troubleshooting
macOS
macOS Support: Enhanced support for macOS including M1/M2/M3 ARM chips.
Common macOS Issues:
- Location Services: Required for network scanning. See above for fix.
- Monitor Mode: Limited support on macOS. Some features may not work.
- Python Permissions: Multiple Python installations may need separate permissions.
- System Integrity Protection: May restrict some operations even with sudo.
macOS Setup Script:
Use the automated setup script for macOS:
bash tools/setup_macos.py
# or
bash install.sh
Linux
Common Linux Issues:
- Driver Support: Some wireless drivers don't support monitor mode well
- NetworkManager: May interfere with monitor mode. Try disabling it temporarily
- Permissions: May need to add user to netdev group
Linux Setup Tips:
# Disable NetworkManager for the interface (temporarily)
sudo nmcli device set wlan0 managed no
# Put interface in monitor mode
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
# Re-enable NetworkManager when done
sudo nmcli device set wlan0 managed yes
Windows
Windows Limitations: Windows has limited functionality due to driver and API restrictions. Some features may not work.
Windows Requirements:
- Administrator privileges required
- Compatible wireless adapter with monitor mode support
- May require additional drivers (e.g., WinPcap, Npcap)
Debug Mode
Enable verbose output to see detailed information about what's happening:
sudo wifi-jammer --verbose attack --interface en0 --target 00:11:22:33:44:55 --attack deauth
Diagnostic Tools
Use the built-in diagnostic tool to check your environment:
# Check root access and Scapy installation
python3 tools/check_root.py
# Or with sudo to test root access
sudo python3 tools/check_root.py
The diagnostic tool checks:
- Root/admin privileges (EUID on Unix, Admin on Windows)
- Scapy installation and functionality
- Network interface availability
- macOS-specific: /dev/bpf* device access
Getting Help
If you're still experiencing issues:
1. Check Existing Issues
Search the GitHub issues page for similar problems:
2. Create a New Issue
When creating a new issue, please include:
- Operating system and version
- Python version (
python3 --version) - Wireless interface name and type
- Full error message
- Steps to reproduce
- Output from
tools/check_root.py
3. Community Support
Join discussions and get help from the community:
- GitHub Discussions
- Check the Usage Guide for detailed instructions
Prevention Tips
To avoid common issues:
- Always run with
sudo(Linux/macOS) or as Administrator (Windows) - Grant Location Services permission on macOS before first use
- Use the automated installation scripts when possible
- Verify your wireless adapter supports monitor mode before use
- Keep Python and dependencies up to date
- Check interface names with
ifconfigoriwconfigbefore specifying them