Re: AP mode support for TP-Link TL-WN722N V2 (Realtek RTL8188EU, USB ID 2357:010c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/5/20 11:08 AM, Petr Vorel wrote:
Hi,

does hostapd support AP mode for TP-Link TL-WN722N V2 (Realtek RTL8188EU, USB ID
2357:010c)?

When using rtl8188eu kernel module from staging [1] with
CONFIG_88EU_AP_MODE=y, AP mode does not work for neither nl80211 nor hostap driver.

Is it just configuration issue or it's just not supported?

# hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -19 (No such device)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x76c0d4f0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x76c0d4f0)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0x76f187c0 (wlan0))
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=0 drv_priv=0 -> hapd_deinit
hostapd_interface_free(0x76c0d4f0)
hostapd_interface_free: free hapd 0x76f187c0
hostapd_cleanup_iface(0x76c0d4f0)
hostapd_cleanup_iface_partial(0x76c0d4f0)
hostapd_cleanup_iface: free iface=0x76c0d4f0

$ cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=foo
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

There are number of out-of-tree kernel modules: 8188eu, the very old official
one from TP-Link [2] for v4.3 (2015). There are other forks of this official
[2], [3]. [2] mentions Monitor Mode, which suggests there could be AP mode
working.

Only very old hostapd is supported by the staging driver, and not very well.

Your best chance is to use the v5.2.2.4 branch pf http://github.com/lwfinger/rtl8188eu.git.

This driver uses cfg80211/nl80211 commands and supports the latest hostapd.

Larry


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux