Skip to content

Latest commit

 

History

History

InterfaceMonitorMode

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Set Wi-Fi interface into monitor mode

Script to set specific Wi-Fi interface into monitor mode

Requirements

  • Packages ipand iwconfig must be installed
  • root rights required (or via sudo)
  • For Raspberry PI 4 (Search here) or buy something like ALFA Atheros (AWUS036NHA)

Note: You don't have the required packages installed? Here you will find different other options (combinations) eq ifconfig, iw or airmon-ng to set your interface into monitor mode.

Run Bash Script

just run it...

# make file executable
$ chmod u+x monitor-mode.sh
 
# show help (optional)
$ sudo ./monitor-mode.sh -h

# set wlan1 into monitor mode
$ sudo ./monitor-mode.sh -i wlan1

Example output

some example from my terminal...

[+2021-03-17_20-01-24] [INFO]: wlan1 selected by user
[+2021-03-17_20-01-24] [INFO]: Set interface wlan1 down
[+2021-03-17_20-01-24] [INFO]: Set interface wlan1 mode monitor
[+2021-03-17_20-01-24] [INFO]: Set interface wlan1 up
[+2021-03-17_20-01-24] [INFO]: Interface wlan1 status is Mode:Monitor

Go back