Skip to content

Instantly share code, notes, and snippets.

@lewixlabs
Last active August 19, 2025 18:26
Show Gist options
  • Save lewixlabs/e6b59b742ecb072f5747a908e14f412c to your computer and use it in GitHub Desktop.
Save lewixlabs/e6b59b742ecb072f5747a908e14f412c to your computer and use it in GitHub Desktop.

Revisions

  1. lewixlabs revised this gist Aug 4, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    # - https://github.com/aircrack-ng/rtl8188eus/issues/234
    # Tested on Kali Linux 2022.3
    # Commands used to Setup the Adapter from aircrack repository
    apt update
    apt install bc -y
    sudo apt update
    sudo apt install bc -y
    sudo rmmod r8188eu.ko
    git clone https://github.com/gglluukk/rtl8188eus
    cd rtl8188eus
  2. lewixlabs revised this gist Aug 4, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
    exit
    make
    sudo make install
    modprobe 8188eu
    sudo modprobe 8188eu

    # Commands to enable monitor mode after setting up
    ifconfig wlan0 down
  3. lewixlabs revised this gist Aug 4, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ sudo -i
    echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
    exit
    make
    make install
    sudo make install
    modprobe 8188eu

    # Commands to enable monitor mode after setting up
  4. lewixlabs revised this gist Aug 4, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    # Commands used to Setup the Adapter from aircrack repository
    apt update
    apt install bc -y
    rmmod r8188eu.ko
    sudo rmmod r8188eu.ko
    git clone https://github.com/gglluukk/rtl8188eus
    cd rtl8188eus
    sudo -i
  5. lewixlabs revised this gist Aug 4, 2023. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,12 @@
    # Credits: https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6
    # Credits:
    # - https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6
    # - https://github.com/aircrack-ng/rtl8188eus/issues/234
    # Tested on Kali Linux 2022.3
    # Commands used to Setup the Adapter from aircrack repository
    apt update
    apt install bc -y
    rmmod r8188eu.ko
    git clone https://github.com/aircrack-ng/rtl8188eus
    git clone https://github.com/gglluukk/rtl8188eus
    cd rtl8188eus
    sudo -i
    echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
  6. lewixlabs revised this gist Sep 24, 2022. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,24 @@
    # Credits: https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6
    # Tested on Kali Linux 2020.3
    # Tested on Kali Linux 2022.3
    # Commands used to Setup the Adapter from aircrack repository
    sudo apt update
    sudo apt install bc -y
    sudo rmmod r8188eu.ko
    apt update
    apt install bc -y
    rmmod r8188eu.ko
    git clone https://github.com/aircrack-ng/rtl8188eus
    cd rtl8188eus
    sudo -i
    echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
    exit
    make
    sudo make install
    sudo modprobe 8188eu
    make install
    modprobe 8188eu

    # Commands to enable monitor mode after setting up
    sudo ifconfig wlan0 down
    sudo airmon-ng check kill
    sudo iwconfig wlan0 mode monitor
    sudo ifconfig wlan0 up
    ifconfig wlan0 down
    airmon-ng check kill
    iwconfig wlan0 mode monitor
    ifconfig wlan0 up
    iwconfig

    # Play with airodump-ng to test :)
    sudo airodump-ng wlan0
    airodump-ng wlan0
  7. lewixlabs revised this gist Sep 24, 2022. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -14,10 +14,10 @@ sudo make install
    sudo modprobe 8188eu

    # Commands to enable monitor mode after setting up
    ifconfig wlan0 down
    airmon-ng check kill
    iwconfig wlan0 mode monitor
    ifconfig wlan0 up
    sudo ifconfig wlan0 down
    sudo airmon-ng check kill
    sudo iwconfig wlan0 mode monitor
    sudo ifconfig wlan0 up
    iwconfig

    # Play with airodump-ng to test :)
  8. lewixlabs revised this gist Sep 6, 2020. No changes.
  9. lewixlabs created this gist Sep 6, 2020.
    24 changes: 24 additions & 0 deletions TL-WN722N_monitormode.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # Credits: https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6
    # Tested on Kali Linux 2020.3
    # Commands used to Setup the Adapter from aircrack repository
    sudo apt update
    sudo apt install bc -y
    sudo rmmod r8188eu.ko
    git clone https://github.com/aircrack-ng/rtl8188eus
    cd rtl8188eus
    sudo -i
    echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
    exit
    make
    sudo make install
    sudo modprobe 8188eu

    # Commands to enable monitor mode after setting up
    ifconfig wlan0 down
    airmon-ng check kill
    iwconfig wlan0 mode monitor
    ifconfig wlan0 up
    iwconfig

    # Play with airodump-ng to test :)
    sudo airodump-ng wlan0