derv82 / wifite2

Rewrite of the popular wireless network auditor, "wifite"
GNU General Public License v2.0
6.48k stars 1.32k forks source link

Fails to start monitor mode #328

Open ghost opened 3 years ago

ghost commented 3 years ago

getting the following issue while turning on monitor mode on wlan1 :

    Interface   PHY   Driver              Chipset                                                                                                                     
-----------------------------------------------------------------------
 1. wlan0       phy0  iwlwifi             Intel Corporation Centrino Wireless-N 2230 (rev c4)
 2. wlan1       phy1  8812au              Tenda U12                     

 [+] Select wireless interface (1-2): 2
 [+] enabling monitor mode on wlan1... failed
failed

 [!] Error: Cannot find any interfaces in monitor mode

 [!] Full stack trace below

 [!]    Traceback (most recent call last):
 [!]    File "/usr/lib/python3/dist-packages/wifite/__main__.py", line 97, in entry_point
 [!]        wifite.start()
 [!]    File "/usr/lib/python3/dist-packages/wifite/__main__.py", line 51, in start
 [!]        Configuration.get_monitor_mode_interface()
 [!]    File "/usr/lib/python3/dist-packages/wifite/config.py", line 165, in get_monitor_mode_interface
 [!]        cls.interface = Airmon.ask()
 [!]    File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 330, in ask
 [!]        iface.interface = Airmon.start(iface)
 [!]    File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 204, in start
 [!]        raise Exception('Cannot find any interfaces in monitor mode')
 [!]  Exception: Cannot find any interfaces in monitor mode                                                                                                           

 [!] Exiting                                                                                                                                                          
mendelgusmao commented 3 years ago

Hi! Can you copy the output of sudo airmon-ng start wlan1?

Grotti200 commented 3 years ago

@mendelgusmao

Interface   PHY   Driver              Chipset                                                    

  1. wlan0 phy0 8188eu TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]

    [+] enabling monitor mode on wlan0... failed failed

    [!] Error: Cannot find any interfaces in monitor mode

    [!] Full stack trace below

    [!] Traceback (most recent call last):
    [!] File "/usr/lib/python3/dist-packages/wifite/main.py", line 97, in entry_point [!] wifite.start() [!] File "/usr/lib/python3/dist-packages/wifite/main.py", line 51, in start
    [!] Configuration.get_monitor_mode_interface() [!] File "/usr/lib/python3/dist-packages/wifite/config.py", line 167, in get_monitor_mode_interface [!] cls.interface = Airmon.ask() [!] File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 333, in ask
    [!] iface.interface = Airmon.start(iface) [!] File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 204, in start
    [!] raise Exception('Cannot find any interfaces in monitor mode') [!] Exception: Cannot find any interfaces in monitor mode

    [!] Exiting

┌──(kali㉿kali)-[~] └─$ sudo airmon-ng start wlan0

PHY Interface Driver Chipset

phy0 wlan0 8188eu TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS] (mac80211 monitor mode already enabled for [phy0]wlan0 on [phy0]wlan0)

BossBabyin commented 3 years ago

sudo airmon-ng start wlan0

ls: cannot access '/sys/class/net': No such file or directory Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: proc /proc proc defaults In the meantime, run "mount proc /proc -t proc"

Requested device "wlan0" does not exist. Run /usr/sbin/airmon-ng without any arguments to see available interfaces

ocmca commented 3 years ago

sudo airmon-ng start wlan0

ls: cannot access '/sys/class/net': No such file or directory Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: proc /proc proc defaults In the meantime, run "mount proc /proc -t proc"

Requested device "wlan0" does not exist. Run /usr/sbin/airmon-ng without any arguments to see available interfaces

I have a similar problem with my rtl8812bu wireless adapter.

I still cant get it to work with wifite2, but in a terminal, i run:

sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo iwconfig wlan0 channel 4
sudo ifconfig wlan0 up

.. where wlan0 is the interface you're trying to monitor from. If anyone knows whats up with that, please clue me in.