mfruba / kernel

152 stars 103 forks source link

Newly created monitor mode interface wlan0mon is *NOT* in monitor mode #13

Open vicneanschi opened 7 years ago

vicneanschi commented 7 years ago

Device TL-WN722N ver2.1 I was able to install this driver on 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) GNU/Linux

When I'm trying to switch to monitor mode

# airmon-ng start wlan0

Found 4 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

  PID Name
  539 NetworkManager
  576 dhclient
 1396 wpa_supplicant
 1411 dhclient

PHY Interface   Driver      Chipset

phy0    wlan0       ??????       
cat: /sys/class/ieee80211/phy0/device/net/wlan0mon/type: No such file or directory

Newly created monitor mode interface wlan0mon is *NOT* in monitor mode.
Removing non-monitor wlan0mon interface...

WARNING: unable to start monitor mode, please run "airmon-ng check kill"

Does the chipset support monitor mode at all?

lookingfortroubles commented 7 years ago

I get the same error-message with the Alfa Network AWUS036ACH Realtek RTL8812AU chipset

Re4son commented 7 years ago

To put it into monitor mode, use: iwconfig wlan0 mode monitor

To disable monitor mode, type: iwconfig wlan0 mode managed

That'll do the trick.

yani89 commented 7 years ago

running well in ubuntu 14.04 but not supported monitoring mode. You can't use aircrack-ng.. I'm still trying to get solution about this problem, any have idea?

DJT77 commented 6 years ago

ifconfig wlan0 down iwconfig wlan0 mode monitor ifconfig wlan0 up

running airmon-ng start wlan0 should confirm that the interface is already setup for monitor mode. airodump-ng wlan0 to monitor

Hope this helps!

trevorjwood commented 6 years ago

I'm also using the Alfa AWUS036ACH with Kali Linux in VMware and having problems I've done

ifconfig wlan0 down iwconfig wlan0 mode monitor ifconfig wlan0 up

and this looks OK

However when I enter

airmon-ng start wlan0

I get the following PHY Interface Driver Chipset

phy0 wlan0 rtl88xxau Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter

and then hangs - CTRL-Z gets me back to the command prompt

Before this I tried

root@kali:~# rfkill unblock wifi; rfkill unblock all

root@kali:~# airmon-ng

PHY Interface Driver Chipset

phy0 wlan0 rtl88xxau Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter

root@kali:~# airmon-ng check

Found 2 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run 'airmon-ng check kill'

PID Name 481 NetworkManager 627 wpa_supplicant

root@kali:~# airmon-ng check kill

Killing these processes:

PID Name 627 wpa_supplicant

root@kali:~# airmon-ng check

root@kali:~# airmon-ng

PHY Interface Driver Chipset

phy0 wlan0 rtl88xxau Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter

root@kali:~# airmon-ng start wlan0

PHY Interface Driver Chipset

phy0 wlan0 rtl88xxau Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter cat: /sys/class/ieee80211/phy0/device/net/wlan0mon/type: No such file or directory

Newly created monitor mode interface wlan0mon is NOT in monitor mode. Removing non-monitor wlan0mon interface... Segmentation fault

WARNING: unable to start monitor mode, please run "airmon-ng check kill" root@kali:~# airmon-ng check

(nothing showing) run airmon-ng check kill again then airmon-ng start wlan0

again it hangs and have to use CTRL-Z to escape.

any further ideas please - this is driving me nuts and I have an MSc assignment to write

Lauriy commented 6 years ago

I bought this https://www.amazon.com/Panda-Wireless-PAU09-Adapter-Antennas/dp/B01LY35HGO/ref=nav_ya_signin?ie=UTF8&qid=1539686134&sr=8-3& and hacked away.

mohamedaliyo commented 4 years ago

HI...... how to fix this error ...

Newly created monitor mode interface wlan1mon is NOT in monitor mode. Removing non-monitor wlan1mon interface...

WARNING: unable to start monitor mode, please run "airmon-ng check kill"

mohamedaliyo commented 4 years ago

this also i can't to solve Error for wireless request "Set Mode" (8B06) : SET failed on device wlan1 ; Operation not permitted.

sampathsahukara commented 4 years ago

I'm using ALFA AWUS1900 Adapter and I'm changing it into monitor mode using iwconfig and it's working in monitor mode in wlan0 interface.. . . When I'm trying in airmon-ng start wlan0

its showing like this

Newly created monitor mode interface is NOT in monitor mode. Removing non-monitor wlan0mon interface.. Segmentation fault

What to do please help

I want it into mon0 or wlan0mon

Because in wash --interface it's not working with wlan0

Please help 😔😕😕😕😕

acheong08 commented 4 years ago

Hardware or diver issues ig

acheong08 commented 4 years ago

Just get the PANDA PAU adapters

acheong08 commented 4 years ago

root@kali:/home/kali# airmon-ng start wlan0

PHY Interface Driver Chipset

phy1 wlan0 rtl8192eu TP-Link TL WN823N RTL8192EU

Newly created monitor mode interface wlan0mon is NOT in monitor mode. Removing non-monitor wlan0mon interface...

WARNING: unable to start monitor mode, please run "airmon-ng check kill"

DonJoker77 commented 4 years ago

this will help you all https://www.youtube.com/watch?v=wZi6wRy33i0

gmrabbi commented 3 years ago

=> sudo airmon-ng => sudo airmon-ng check => sudo airmon-ng check kill

=> sudo airmon-ng start wlan0

PHY Interface Driver Chipset

phy0 wlan0 rtl8188fu Realtek Semiconductor Corp. 802.11n (monitor mode enabled) <<<===see =======monitor mode ===>>>

BUT when i used $ sudo aireplay-ng --test wlan0 ioctl(SIOCSIWMODE) failed: Operation not permitted ioctl(SIOCSIWMODE) failed: Operation not permitted Error setting monitor mode on wlan0 <<<====see here========>>>

===================================================================== another way.. => sudo iw dev

phy#0 Interface wlan0 ifindex 3 wdev 0x1 addr 00:e0:09:30:40:f4 type managed <<<=see here=====managed mode======>>> txpower 12.00 dBm

=> sudo ip link set wlan0 down => sudo iw wlan0 set monitor control <<<=show==command failed: Operation not supported (-95)===>>> => sudo ip link set wlan0 up

========================================================== see more: => sudo airodump-ng wlan0 ioctl(SIOCSIWMODE) failed: Operation not permitted ioctl(SIOCSIWMODE) failed: Operation not permitted Error setting monitor mode on wlan0 <<<see the above commnd. i also execute this.it show an error . message>>> Failed initializing wireless card(s): wlan0

what can i do now....? have any solution ...?

alsharksultan commented 3 years ago

You use a wrong version. I recommend to use Parrot OS or Kali or BlackArch. All this version are tested and worked fine.

Of course you need compatible Card.

sampathsahukara commented 3 years ago

Yes thanks alot

On Fri, Feb 19, 2021, 7:41 AM Akyna notifications@github.com wrote:

You use a wrong version. I recommend to use Parrot OS or Kali or BlackArch. All this version are tested and worked fine.

Of course you need compatible Card.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mfruba/kernel/issues/13#issuecomment-781764835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFOOVDAJGAHHSOR5JLWLE3S7XCFBANCNFSM4DXYF4HQ .

JTR104 commented 3 years ago

I don’t know that this specific adapter can be switched into monitor, however if you wanted to switch there are two ways:

First way:

“ifconfig wlan0 down” “iwconfig wlan0 mode monitor” “ifconfig wlan0 up”

second way:

“airmon-ng start wlan0”

and to check both type “iwconfig wlan0” If you look under “Mode” it should say “Monitor”

If you still have trouble try:

“airmon-ng check kill”

This will take out the processes that look like they’re preventing you from switching. After doing that try the above again.

If not, it’s possible that the adapter isn’t able to switch. However if you search around on Github sometimes people build drivers that allow them to switch.

If you’re searching for an adapter that works with kali I recommend rtl8812au as I know that it does have the ability to switch and the drivers can easily be found on Github. The hardware itself is only about $20-$30.

slythno commented 3 years ago

running well in ubuntu 14.04 but not supported monitoring mode. You can't use aircrack-ng.. I'm still trying to get solution about this problem, any have idea?

iwconfig wlan0 mode monitor Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not supported on transport endpoint.