Open muff1nman opened 10 years ago
I have the same problem..... I can open hostapd on 2.4Ghz But if I change the .config of hostapd to 5Ghz it always report configured channel not found
And I also notice that "iw list" of TP-Link T4U the 5G channel are all disable or passive scan Is it the limit?
@Wade5566 Does 5G work when not in AP mode? I've had issues with 5G due to my regulatory domain being set incorrectly. Does iw reg get
show 5G is enabled?
@csivanich I think 5G is worked in STA mode. But it still according to your regulatory domain. The original domain is Country 00 right? The message in 5G channel of my dongle is either passive scan or disable I think the "passive scan " channels can be used in STA mode.
Interesting that it worked in STA but not in AP. At least on Arch Linux the default it 00 which (from the Arch wiki) is, "... the "world regulatory domain" and contains generic settings. If this cannot be unset, CRDA may be misconfigured." The generic settings do not allow 5Ghz in the US. I had to set the US code manually using # iw reg set US
with this as the output from iw reg get
now:
$ iw reg get
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30)
(5170 - 5250 @ 80), (N/A, 17)
(5250 - 5330 @ 80), (N/A, 23), DFS
(5735 - 5835 @ 80), (N/A, 30)
(57240 - 63720 @ 2160), (N/A, 40)
Try checking out Arch's wiki on reg domain as that's where I've brought all this information from.
For me it works putting it in Master mode in 5Ghz and 80211n (not 80211ac, but that could be a config error from my part) if I build hostapd 2.2 with the following patch and additional source files: https://github.com/pritambaral/hostapd-rtl871xdrv
I have an ASUS USB-AC56
A bit late but you need to enable 82011ac in your hostapd config file :
ieee80211n=1
ieee80211ac=1
wmm_enabled=1
You can find all options available (as far a I know) for this file here
For what it's worth, I could not make this work today, either, on an up-to-date Ubuntu 16.04.2 4.4.0-75-generic kernel. The compilation and installation worked fine, but plugging in the dongle led to disappointment: the device did not appear in the ifconfig output. Here is relevant syslog data:
Apr 29 09:34:17 basil kernel: [ 1.182463] usb 3-1: new high-speed USB device number 2 using xhci_hcd
Apr 29 09:34:17 basil kernel: [ 1.313042] usb 3-1: New USB device found, idVendor=0bda, idProduct=8812
Apr 29 09:34:17 basil kernel: [ 1.313050] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 29 09:34:17 basil kernel: [ 1.313055] usb 3-1: Product: 802.11n NIC
Apr 29 09:34:17 basil kernel: [ 1.313059] usb 3-1: Manufacturer: Realtek
Apr 29 09:34:17 basil kernel: [ 1.313063] usb 3-1: SerialNumber: 123456
Apr 29 09:34:17 basil kernel: [ 32.048110] rtl8812au 3-1:1.0 enx40a5efd5ea86: renamed from wlan0
Apr 29 09:34:17 basil NetworkManager[1853]:
I ask because I recently bought the Intel 7260 which has a firmware restriction on using the adapter in AP mode. Has anyone tried using hostapd with this one with 802.11AC?