airmon-ng doesn't create new monitor interface for RTL88XXBU chipset #2579
Replies: 6 comments 3 replies
-
There is no information that the driver you have mentioned (https://github.com/cilynx/rtl88x2bu) include monitor mode. Please consider to take a look at this driver:
Please also take a look at this (especially the discussion section): |
Beta Was this translation helpful? Give feedback.
-
The Linux way to set monitor mode is:
Examples: Get interface information
Set interface down
Set monitor mode
Check that
Set interface up
To add a monitor interface:
Do not forget to stop all services that take access to the device before you set/add monitor mode.
airmon-ng is exactly doing the same (set or add monitor interface). BTW: Also it is not a good idea to use an unconfigured/uncustomized distribution, because you do not know which services are running / need to be stopped. |
Beta Was this translation helpful? Give feedback.
-
All commands are sequential (set interface down -> set/add monitor mode -> set interface up) and they are not persistent. As I mentioned above and in hcxdumptool's help menus: Adding a virtual interface is definitely interface is not a good idea:
There are some differences between hcxdumptool and airmon-ng. If you run it in combination with other tools, you should take a look at this:
and you have to install it: It doesn't work on "new style interface names":
The interface is not initialized completely:
Not a good starting point to use that interface in combination with other tools than aircrack-ng. The difference: Remove ethtool dependency:
Set monitor mode:
Show capabilities of the interface:
You may have noticed several differences:
To make that clear:
BTW: |
Beta Was this translation helpful? Give feedback.
-
There are some problems (packet injection fails) on the driver, too: |
Beta Was this translation helpful? Give feedback.
-
If this is 88x2B using the skeleton driver, its the same as RTL8812AU, no VIF intf supported driver. Same base drivers from Realtek. |
Beta Was this translation helpful? Give feedback.
-
Looks like it is a driver added by KALI developers. |
Beta Was this translation helpful? Give feedback.
-
So I have an 80211ac usb adapter that is used in tons of generic adapters, but lsusb calls it a RTL88x2bu. I'm running drivers from GitHub that came highly recommended, but I did start by using Kali's built in drivers. Same problem on both. So, when I open a terminal and run sudo airmon-ng start wlan0 , it goes ahead and sets the interface into monitor mode, but no mon interface (wlan0mon) is created. In browsing through airmon's scripts, I see a bunch of variables that refer to different areas under sys that all seem to need to be there in order to create the wlan0mon interface. Seems my driver install doesn't create one of them. (for either the kali built in drivers or the cilynx drivers.) I can rename the interface manually using ip link and other tools and then use tools that expect that nomenclature or go ahead and use airodump or aircrack or airxxxxx whatever.. but.. It's an extra step. Anyway, I tried using the code I could decipher in airmon to create the new interface manually to test it for the purpose of using that command in my own start script, but the interface didn't work, so I apparently didn't quite grasp what was going on in there. The command I tried that I swore was going to work was "ip link add wlan0 name wlan0mon && ip link set wlan0mon promisc on"
Banging my head against the wall. Kali's drivers say they are there in order to facilitate their use in monitor mode. I mean.. Did they even test them? With arguable the most versatile and popular tools available?
Don't get me wrong, I CAN use this card with your tools, just not other tools that need that and script your tools into theirs.
I guess my question is how do I force the creation of the monitor interface? What are the pieces that need to be in place? Do I need another phy under /sys/class/ieee80211? Configure a file somewhere in the interface definition in /sys/class/net/wlan0?
Also, I did look for similar issue, and although I found other people with the same issue: youtube videos, forum posts, etc.. Strangely, I found nothing here. And none of them really solved the problem. They were workarounds... I want to fix it. Make it work like it should. I have a feeling it's something to do with the configuration of the wlan0 interface in sys/class/net but I'm not sure what to edit or fix since I don't have a card currently that works correctly to compare to.
Help please.
Beta Was this translation helpful? Give feedback.
All reactions