derv82 / wifite2

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

[NetHunter] Fail to enable monitoring on wlan0 #463

Open mg-mods opened 10 months ago

mg-mods commented 10 months ago

Hi! So the other day I installed nethunter on my old phone (none rooted). I don't have much space on this phone (even though I wiped it before installing NH, it has only a 16GB memory). Couldn't install the full NH package so I had to run with the minimal installation package. I had to manually install wifite and now I'm running into the following problem.

When running wifite, I can see a bunch of wireless interfaces (28???) and when choosing any of them (oc wlan0 seems to be the most appropriated), it returns this error:

Error: Error putting interface wlan0 down:

request send failed: Permission denied

[stack trace]

Exception: Error putting interface wlan0 down

request send failed: Permission denied

Exiting

Hope someone can help me with that! Thanks a lot for reading this in the first place. Byebye Nice day ;) MG

VincentBarkman commented 9 months ago

Since you are using a non-rooted device, gaining root access is likely the most direct way to resolve your permissions issue. Rooting will allow Wifite to interact with the network interfaces at the required level. However, be aware that rooting can void warranties and potentially harm your device if not done correctly.

mg-mods commented 8 months ago

Since you are using a non-rooted device, gaining root access is likely the most direct way to resolve your permissions issue. Rooting will allow Wifite to interact with the network interfaces at the required level. However, be aware that rooting can void warranties and potentially harm your device if not done correctly.

Thanks a lot! I will definitly try that, it's an old phone I don't use anymore and I think the warranty has been out for 3+ years lmao