#10824: WRT400N 5GHz Radio Not Working
--------------------------+-----------------------------------
Reporter: hammmy@… | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone: Barrier Breaker 14.07
Component: base system | Version: Backfire 10.03.1 RC6
Resolution: | Keywords: WRT400N 5GHz
--------------------------+-----------------------------------
Comment (by skarsnick@…):
Hey good afternoon gentlemen,
I'm trying to set the 2.4 AND the 5 GHz wifi on my system, I have a
Dual Band Wireless USB adapter Asus
{{{
usb 3-1: New USB device found, idVendor=0b05, idProduct=179d
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: 802.11 n WLAN
usb 3-1: Manufacturer: Ralink
usb 3-1: SerialNumber: 1.0
}}}
and I'm using hostapd (hostapd-2.0.tar.gz), and I thing I have the same
issue than you :
{{{
ADDRCONF(NETDEV_UP): wlan0: link is not ready
random: Trying to read entropy from /dev/random
Configuration file: /tmp/wifiap_hostapd.cfg
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Add own interface ifindex 7
nl80211: Set mode ifindex 7 iftype 3 (AP)
rt2800usb 3-1:1.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
nl80211: Setup AP - device_ap_sme=0 use_monitor=1
nl80211: Create interface iftype 6 (MONITOR)
nl80211: New interface mon.wlan0 created: ifindex=23
nl80211: Add own interface ifindex 23
ADDRCONF(NETDEV_UP): wlan0: link is not ready
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz
nl80211: 2457-2482 @ 20 MHz
nl80211: 2474-2494 @ 20 MHz
nl80211: 5170-5250 @ 40 MHz
nl80211: 5735-5835 @ 40 MHz
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=0 dBm
channel [2] (40) is disabled for use in AP mode, flags: 0x77 NO-IBSS
PASSIVE-SCAN
'''wlan0: IEEE 802.11 Configured channel (40) not found from the channel
list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-4)
wlan0: Unable to setup interface.'''
wlan0: Flushing old station entries
wlan0: Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=7 alg=0 addr=(nil) key_idx=0 set_tx=0
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=7 alg=0 addr=(nil) key_idx=1 set_tx=0
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=7 alg=0 addr=(nil) key_idx=2 set_tx=0
seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=7 alg=0 addr=(nil) key_idx=3 set_tx=0
seq_len=0 key_len=0
nl80211: Remove interface ifindex=23
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 7 iftype 2 (STATION)
brctl: bridge br0: Operation not supported
}}}
Here is my conf file :
{{{
interface=wlan0
driver=nl80211
logger_stdout=-1
logger_stdout_level=2
ssid=testtest
hw_mode=a
channel=40
max_num_sta=25
wpa=2
wpa_passphrase=stb_unprov
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
}}}
/var/log/messages :
{{{
Jan 1 04:23:56 (none) daemon.warn hostapd: wlan0: IEEE 802.11 Configured
channel (40) not found from the channel list of current mode (2) IEEE
802.11a
Jan 1 04:23:56 (none) daemon.warn hostapd: wlan0: IEEE 802.11 Hardware
does not support configured channel
}}}
and iw list
{{{
# iw list
Wiphy phy0
Band 1:
Capabilities: 0x2f2
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 2-streams
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 2 usec (0x04)
HT RX MCS rate indexes supported: 0-15, 32
TX unequal modulation not supported
HT TX Max spatial streams: 2
HT TX MCS rate indexes supported may differ
Frequencies:
* 2412 MHz [1] (0.0 dBm)
* 2417 MHz [2] (0.0 dBm)
* 2422 MHz [3] (0.0 dBm)
* 2427 MHz [4] (0.0 dBm)
* 2432 MHz [5] (0.0 dBm)
* 2437 MHz [6] (0.0 dBm)
* 2442 MHz [7] (0.0 dBm)
* 2447 MHz [8] (0.0 dBm)
* 2452 MHz [9] (0.0 dBm)
* 2457 MHz [10] (0.0 dBm)
* 2462 MHz [11] (0.0 dBm)
* 2467 MHz [12] (0.0 dBm) (passive scanning, no
IBSS)
* 2472 MHz [13] (0.0 dBm) (passive scanning, no
IBSS)
* 2484 MHz [14] (0.0 dBm) (passive scanning, no
IBSS)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Capabilities: 0x2f2
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 2-streams
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 2 usec (0x04)
HT RX MCS rate indexes supported: 0-15, 32
TX unequal modulation not supported
HT TX Max spatial streams: 2
HT TX MCS rate indexes supported may differ
Frequencies:
* 5180 MHz [36] (0.0 dBm) (passive scanning, no
IBSS)
* 5190 MHz [38] (0.0 dBm) (passive scanning, no
IBSS)
* 5200 MHz [40] (0.0 dBm) (passive scanning, no
IBSS)
* 5220 MHz [44] (0.0 dBm) (passive scanning, no
IBSS)
* 5230 MHz [46] (0.0 dBm) (passive scanning, no
IBSS)
* 5240 MHz [48] (0.0 dBm) (passive scanning, no
IBSS)
* 5260 MHz [52] (disabled)
* 5270 MHz [54] (disabled)
* 5280 MHz [56] (disabled)
* 5300 MHz [60] (disabled)
* 5310 MHz [62] (disabled)
* 5320 MHz [64] (disabled)
* 5500 MHz [100] (disabled)
* 5510 MHz [102] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5550 MHz [110] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5590 MHz [118] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5630 MHz [126] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5670 MHz [134] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5745 MHz [149] (0.0 dBm) (passive scanning, no
IBSS)
* 5755 MHz [151] (0.0 dBm) (passive scanning, no
IBSS)
* 5765 MHz [153] (0.0 dBm) (passive scanning, no
IBSS)
* 5785 MHz [157] (0.0 dBm) (passive scanning, no
IBSS)
* 5795 MHz [159] (0.0 dBm) (passive scanning, no
IBSS)
* 5805 MHz [161] (0.0 dBm) (passive scanning, no
IBSS)
* 5825 MHz [165] (0.0 dBm) (passive scanning, no
IBSS)
* 5835 MHz [167] (disabled)
* 5845 MHz [169] (disabled)
* 5855 MHz [171] (disabled)
* 5865 MHz [173] (disabled)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* probe_client
* set_noack_map
* register_beacons
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80
0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80
0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70
0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70
0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80
0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports HT-IBSS.
}}}
{{{
# iw reg get
country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/10824#comment:17>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets