You are not logged in.

#1 2015-01-18 15:47:03

dyel
Member
Registered: 2015-01-18
Posts: 3

Problem with rtl8821ae not finding any networks

I recently installed arch on a Lenovo All-in-One (B50) which has a rtl8821ae wireless card. I cannot seem to scan any networks, but everything else appears to be working fine. Here are some relevant bits:

wpa_supplicant-wlp5s0.conf:

ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

network={
        key_mgmt=WPA-PSK
        ssid="MY SSID"
        psk=1234567889...
}

wpa_supplicant -iwlp5s0 -c /etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf -d:

wpa_supplicant v2.3
Successfully initialized wpa_supplicant
Initializing interface 'wlp5s0' conf '/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf' -> '/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant-wlp5s0.conf'
ctrl_interface='DIR=/run/wpa_supplicant GROUP=wheel'
Priority group 0
   id=0 ssid='MY SSID'
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=4 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlp5s0 in phy phy0
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x2098280
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2098280 match=0a11
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
nl80211: driver param='(null)'
Add interface wlp5s0 to a new radio phy0
nl80211: Regulatory information - country=US (DFS-FCC)
nl80211: 2402-2472 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 17 mBm
nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS)
nl80211: 5735-5835 @ 80 MHz 30 mBm
nl80211: 57240-63720 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlp5s0: Own MAC address: 30:10:b3:5b:02:64
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlp5s0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlp5s0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlp5s0: Setting scan request: 0.100000 sec
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
wlp5s0: WPS: UUID based on MAC address: ff3bceb9-97e8-5d92-aa26-04c93f4aea2e
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
P2P: Add operating class 81
P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
P2P: Own listen channel: 81:11
P2P: Random operating channel: 81:1
P2P: initialized
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
P2P: cli_channels:
wlp5s0: Added interface wlp5s0
wlp5s0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlp5s0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlp5s0: State: DISCONNECTED -> SCANNING
wlp5s0: Starting AP scan for wildcard SSID
WPS: Building WPS IE for Probe Request
WPS:  * Version (hardcoded 0x10)
WPS:  * Request Type
WPS:  * Config Methods (2148)
WPS:  * UUID-E
WPS:  * Primary Device Type
WPS:  * RF Bands (3)
WPS:  * Association State
WPS:  * Configuration Error (0)
WPS:  * Device Password ID (0)
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Device Name
WPS:  * Version2 (0x20)
P2P: * P2P IE header
P2P: * Capability dev=21 group=00
P2P: * Listen Channel: Regulatory Class 81 Channel 11
wlp5s0: Add radio work 'scan'@0x209ceb0
wlp5s0: First radio work item in the queue - schedule start immediately
wlp5s0: Starting radio work 'scan'@0x209ceb0 after 0.000009 second wait
wlp5s0: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlp5s0
wlp5s0: nl80211: Scan trigger
wlp5s0: Event SCAN_STARTED (49) received
wlp5s0: Own scan request started a scan in 0.000049 seconds
EAPOL: disable timer tick
RTM_NEWLINK: ifi_index=5 ifname=wlp5s0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlp5s0
wlp5s0: nl80211: New scan results available
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 5180 5200 5220 5240 5260 5280 5300 5320 5745 5765 5785 5805 5825
wlp5s0: Event SCAN_RESULTS (3) received
wlp5s0: Scan completed in 2.089639 seconds
nl80211: Received scan results (0 BSSes)
wlp5s0: BSS: Start scan result update 1
BSS: last_scan_res_used=0/0
wlp5s0: New scan results available (own=1 ext=0)
wlp5s0: Radio work 'scan'@0x209ceb0 done in 2.089811 seconds
wlp5s0: No suitable network found
wlp5s0: Setting scan request: 5.000000 sec
wlp5s0: Removing interface wlp5s0
wlp5s0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING
TDLS: Tear down peers
wlp5s0: State: SCANNING -> DISCONNECTED
nl80211: Set wlp5s0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlp5s0: Cancelling scan request
wlp5s0: Cancelling authentication timeout
wlp5s0: P2P: Disable P2P since removing the management interface is being removed
P2P: Stopping find
P2P: Clear timeout (state=IDLE)
P2P: State IDLE -> IDLE
Remove interface wlp5s0 from radio phy0
Remove radio phy0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x888888888a810a09 (mode change)
wlp5s0: CTRL-EVENT-TERMINATING 

(note, I hit ctrl-c in there, so the last part is just that shutdown)

Relevant parts of dmesg:

[ 5070.737346] rtl8821ae-0:rtl_pci_start():<0-0>  rtl_pci_start 
[ 5070.743055] rtl8821ae-0:rtl8821ae_download_fw():<0-0> normal Firmware SIZE 28984 
[ 5070.743057] rtl8821ae-0:rtl8821ae_download_fw():<0-0> Firmware Version(20), Signature(0x2101),Size(32)
[ 5070.760675] rtl8821ae-0:_rtl8821ae_fw_free_to_go():<0-0> Checksum report OK ! REG_MCUFWDL:0x00070604 .
[ 5070.792105] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 0] = 0x32343638
[ 5070.792107] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 1] = 0x36363838
[ 5070.792109] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 2] = 0x28303234
[ 5070.792111] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 3] = 0x34363838
[ 5070.792112] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 4] = 0x26283032
[ 5070.792114] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 7] = 0x32343636
[ 5070.792115] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 8] = 0x24262830
[ 5070.792116] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 0][RfPath 0][TxNum 0][RateSection 9] = 0x2022
[ 5070.792118] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 1] = 0x34343636
[ 5070.792119] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 2] = 0x26283032
[ 5070.792121] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 3] = 0x32343636
[ 5070.792122] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 4] = 0x24262830
[ 5070.792123] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 7] = 0x32343636
[ 5070.792125] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 8] = 0x24262830
[ 5070.792126] rtl8821ae-0:_rtl8821ae_store_tx_power_by_rate():<0-0> pHalData->TxPwrByRateOffset[Band 1][RfPath 0][TxNum 0][RateSection 9] = 0x2022
[ 5070.893634] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G
[ 5070.893680] rtl8821ae-0:rtl8821ae_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
[ 5070.893682] rtl8821ae-0:rtl8821ae_enable_hw_security_config():<0-0> not open hw encryption
[ 5070.893940] rtl8821ae-0:rtl8821ae_set_hw_reg():<0-0> switch case not process 3e
[ 5070.893948] rtl8821ae-0:rtl_pci_start():<0-0> rtl_pci_start OK
[ 5070.894447] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 5074.697457] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 5G
[ 5076.126962] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G
[ 5101.217855] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 5G
[ 5102.647343] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G
[ 5166.114316] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 5G
[ 5167.543798] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G
[ 5204.340428] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 5G
[ 5205.769957] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G
[ 5216.176156] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 5G
[ 5217.605636] rtl8821ae-0:rtl8821ae_phy_switch_wirelessband():<0-0> 2.4G

other:

$ iw dev wlp5s0 info
Interface wlp5s0
        ifindex 5
        wdev 0x1
        addr 30:10:b3:5b:02:64
        type managed
        wiphy 0

$ iwconfig wlp5s0
wlp5s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off

I feel like I'm either missing something simple or this module is whack. I've fiddled with various modinfo params, to no avail.

Any ideas?

Last edited by dyel (2015-01-18 15:48:16)

Offline

#2 2015-01-18 16:37:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,353

Re: Problem with rtl8821ae not finding any networks

As a sanity check, did you run a scan by hand?  Try sudo iw wlp5s0 scan

Edit:  BTW -- Welcome to Arch Linux smile

Last edited by ewaller (2015-01-18 16:37:57)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-01-18 17:26:59

dyel
Member
Registered: 2015-01-18
Posts: 3

Re: Problem with rtl8821ae not finding any networks

Yep, it returns nothing. Debug output seems to be largely irrelevant except this oddity:

-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 36
    .type = 2 <ERROR>
    .flags = 0 <>
    .seq = 1421583995
    .port = 1853883468
  [ERRORMSG] 20 octets
    .error = 0 "Success"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .type = 16 <0x10>
    .flags = 5 <REQUEST,ACK>
    .seq = 1421583995
    .port = 1853883468
---------------------------  END NETLINK MESSAGE   ---------------------------

Message type = "error" with a message = "success"? Not sure if this is normal or not

Offline

#4 2015-01-19 20:43:16

dyel
Member
Registered: 2015-01-18
Posts: 3

Re: Problem with rtl8821ae not finding any networks

Are there any other diagnostics I can do? I'm at a loss.

Offline

Board footer

Powered by FluxBB