kimocoder / realtek_rtwifi

Realtek RTL8xxxU
https://www.aircrack-ng.org
68 stars 14 forks source link

AP mode support #31

Open bshubenok-sigma opened 2 years ago

bshubenok-sigma commented 2 years ago

Hi! It looks like I there are some inconsistency between what stated in README and what I see in module info. README states that

The driver supports 'monitor mode' and 'frame injection' capabilities,
often needed for penetration testing abilities. Besides that, it has good support as it's
an MAC80211 driver rather than NL80211/CFG80211. AP/MESH/MANAGED/MONITOR support, WPA3-SAE,
Virtual Interfaces (VIF), TX power control, P2P commands etc.

but later no support for AP mode is shown:

    Supported interface modes:
         * managed
         * monitor

Hardware I'm using is TP-Link WN-725N dongle:

new high-speed USB device number 3 using musb-hdrc
[ 2832.057967] usb 1-1: This Realtek USB WiFi dongle (0x0bda:0x8179) is untested!
[ 2832.075567] usb 1-1: Please report results to christian@aircrack-ng.org
[ 2832.173671] usb 1-1: Vendor: Realtek
[ 2832.182020] usb 1-1: Product: 802.11n NIC
[ 2832.192586] usb 1-1: Serial: 00E04C0001
[ 2832.204756] usb 1-1: rtl8188eu_parse_efuse: dumping efuse (0x200 bytes):
[ 2832.222063] usb 1-1: 00: 29 81 00 6c 0b 00 00 00
[ 2832.234502] usb 1-1: 08: 00 0c 00 00 00 00 00 00

......
......

[ 2833.158617] usb 1-1: RTL8188EU rev D (TSMC) 1T1R, TX queues 2, WiFi=0, BT=0, GPS=0, HI PA=0
[ 2833.178898] usb 1-1: RTL8188EU MAC: 7c:c2:c6:11:1b:b6
[ 2833.191584] usb 1-1: rtl8xxxu: Loading firmware rtlwifi/rtl8188eufw.bin

Am I missing some parameter during build/module loading or this driver does not support AP mode?

NightFlexer commented 2 years ago

I join the question. I also could not use TP-Link TL-WN722N v3 [Realtek RTL8188EUS] in access point mode.I join the question. I also could not use TP-Link TL-WN722N v3 [Realtek RTL8188EUS] in access point mode.

lonestar01 commented 2 years ago

I join the question. I also could not use TP-Link TL-WN722N v3 [Realtek RTL8188EUS] in access point mode.I join the question. I also could not use TP-Link TL-WN722N v3 [Realtek RTL8188EUS] in access point mode.

sorry for disturbing you nightflexer, but i actually bought a tp-link 722n adapter a few days ago and i can't get it running using the aircrack-ng driver (seems some compilation error). does this driver by kimocoder still supports tl-wn722n? @NightFlexer (and if it's still working in your device , can you please tell me the kernel version of your os?)

NightFlexer commented 2 years ago

@NightFlexer (and if it's still working in your device , can you please tell me the kernel version of your os?) I have kernel 5.14. You can try to build the driver as I advised here: https://github.com/kimocoder/realtek_rtwifi/issues/30

lonestar01 commented 2 years ago

@NightFlexer (and if it's still working in your device , can you please tell me the kernel version of your os?) I have kernel 5.14. You can try to build the driver as I advised here: https://github.com/kimocoder/realtek_rtwifi/issues/30

sorry, but still didn't work out for me . my kernel is 5.15 . shows some compilation error(can't remember at this moment).i guess i was doing something wrong . but your solution removed my previous error though. i would check again and let you know the error i am facing now.

Darkar25 commented 2 years ago

The readme says that the driver supports start_ ap command, AP frames and at the bottom it says that ap is need to be tested...idk how to send commands so i tried starting ap the way everyone does that...create new wlan interface with AP type and start hostapd with config that targeted rtl8xxxu device...can you guess on which step i got an error?) I could not create a new interface..."iw dev wlan1 interface add wlan1-AP type __ap" says that operation not supported on thansport endpoint...so, does it mean that driver does not support adding new interfaces?but readme says that it supports this...thats a bit strange...