You are not logged in.

#1 2018-08-19 10:58:40

Scriptor
Member
Registered: 2011-01-16
Posts: 144

PCE-AC51 Wireless card connection problems

Hello,

I am experiencing some problems when connecting to my network  with my PCE-AC51 wireless card. The problem is that I can't access the internet.

Here is the output of lshw -C network:

*-network DISABLED
       description: Wireless interface
       product: RTL8812AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 01
       serial: ae:a0:d6:75:e0:ea
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=4.18.1-arch1-1-ARCH firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:136 ioport:d000(size=256) memory:f7000000-f7003fff

And here is the output of dmesg:

[    2.970450] rtl8821ae 0000:04:00.0: enabling device (0000 -> 0003)
[    2.984081] rtl8821ae: Using firmware rtlwifi/rtl8812aefw.bin
[    2.984082] rtl8821ae: Using firmware rtlwifi/rtl8812aefw_wowlan.bin
[    2.984182] rtl8821ae 0000:04:00.0: Direct firmware load for rtlwifi/rtl8812aefw_wowlan.bin failed with error -2
[    2.984200] rtl8821ae 0000:04:00.0: Direct firmware load for rtlwifi/rtl8812aefw.bin failed with error -2
[    2.984370] rtlwifi: Loading alternative firmware rtlwifi/rtl8821aefw.bin
[    2.984373] rtlwifi: Loading alternative firmware rtlwifi/rtl8821aefw.bin
[    2.986015] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    2.986173] rtlwifi: rtlwifi: wireless switch is on
[    2.986897] rtl8821ae 0000:04:00.0 wlp4s0: renamed from wlan0
[  887.245900] rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x00070706 .
[  887.535027] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[  887.632294] rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x00070706 .
[  887.835887] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[  891.155549] rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x00070706 .
[  891.359067] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[  894.581829] wlp4s0: authenticate with ac:3b:77:77:e3:a0
[  894.582626] wlp4s0: send auth to ac:3b:77:77:e3:a0 (try 1/3)
[  894.584203] wlp4s0: authenticated
[  894.587336] wlp4s0: associate with ac:3b:77:77:e3:a0 (try 1/3)
[  894.590641] wlp4s0: RX AssocResp from ac:3b:77:77:e3:a0 (capab=0x411 status=0 aid=6)
[  894.595207] wlp4s0: associated
[  894.634139] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[  961.571496] kauditd_printk_skb: 44 callbacks suppressed
[  961.571497] audit: type=1325 audit(1534675598.868:25): table=filter family=2 entries=27
[  961.571518] audit: type=1300 audit(1534675598.868:25): arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=562b6eeb3660 items=0 ppid=477 pid=3259 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/bin/xtables-multi" key=(null)
[  961.571519] audit: type=1327 audit(1534675598.868:25): proctitle=2F7362696E2F69707461626C6573002D77002D44007876706E5F646E730000002D6F006C6F002D7000756470002D2D64706F7274003533002D6A0044524F50

Thank you very much in advance.

Offline

#2 2018-08-19 15:56:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,744

Re: PCE-AC51 Wireless card connection problems

What are you using to control your network?  Netctl?  Networkmanager? wpa_supplicant service?

What are the output of ip addr and of iw phy  ?


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 2018-08-19 20:49:56

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: PCE-AC51 Wireless card connection problems

I am under gnome and I am using NetworkManager.

Here is the output of ip addr

3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 4c:ed:fb:1b:c4:9d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.62/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp4s0
       valid_lft 86392sec preferred_lft 86392sec
    inet 192.168.1.63/24 brd 192.168.1.255 scope global secondary noprefixroute wlp4s0
       valid_lft forever preferred_lft forever
    inet6 fe80::7d2f:6ef7:c0ac:8f7d/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Here is output of iw phy

Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2243 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	RTS threshold: 2347
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
	Band 1:
		Capabilities: 0x186e
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT Max RX data rate: 300 Mbps
		HT TX/RX MCS rate indexes supported: 0-15, 32
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps
			* 5.5 Mbps
			* 11.0 Mbps
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	Band 2:
		Capabilities: 0x186e
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT Max RX data rate: 300 Mbps
		HT TX/RX MCS rate indexes supported: 0-15, 32
		VHT Capabilities (0x33c019a2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			+HTC-VHT
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: not supported
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 867 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: not supported
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 867 Mbps
		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
		Frequencies:
			* 5180 MHz [36] (30.0 dBm)
			* 5200 MHz [40] (30.0 dBm)
			* 5220 MHz [44] (30.0 dBm)
			* 5240 MHz [48] (30.0 dBm)
			* 5260 MHz [52] (30.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (30.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (30.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (30.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (30.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (30.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (30.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (30.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (30.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (30.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (30.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (30.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (30.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (30.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (30.0 dBm) (no IR, radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
	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
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * set_multicast_to_unicast
	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
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 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
		 * P2P-device: 0x40 0xd0
	WoWLAN support:
		 * wake up on magic packet
		 * wake up on pattern match, up to 16 patterns of 13-128 bytes,
		   maximum packet offset 0 bytes
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	interface combinations are not supported
	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 TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports configuring vdev MAC-addr on create.

Thank you very much in advance.

Offline

#4 2018-08-19 21:24:39

loqs
Member
Registered: 2014-03-06
Posts: 17,198

Re: PCE-AC51 Wireless card connection problems

The link is up and has an address (infact two IP4 addresses assigned to it)  if you ping archlinux.org what is the output?

Offline

#5 2018-08-19 21:34:28

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: PCE-AC51 Wireless card connection problems

The problem lies with the 5GHz SSID. I am unable to connect to it. With the normal SSID, I can normally ping. But with the other (5GHz) I can't even connect to it.

Thank you very much in  advance.

Offline

#6 2018-08-19 21:44:59

loqs
Member
Registered: 2014-03-06
Posts: 17,198

Re: PCE-AC51 Wireless card connection problems

So the outputs you posted in #3 are not from the broken configuration?
Please stop/disable network manager then follow Wireless_configuration#iw and post the results.

Offline

#7 2018-08-22 01:31:03

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: PCE-AC51 Wireless card connection problems

Hello,

Sorry for the delay of the response.

So here is the output of the different commands.

# iw dev
phy#0
	Interface wlp4s0
		ifindex 3
		wdev 0x1
		addr 4c:ed:fb:1b:c4:9d
		ssid Bbox-7C566D53
		type managed
		channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
		txpower 20.00 dBm
#iw dev wlp4s0 link
Connected to ac:3b:77:77:e3:a0 (on wlp4s0)
	SSID: <router name>
	freq: 2437
	RX: 877520 bytes (6205 packets)
	TX: 72127 bytes (548 packets)
	signal: -38 dBm
	tx bitrate: 144.4 MBit/s MCS 15 short GI

	bss flags:	short-slot-time
	dtim period:	1
	beacon int:	100
# iw dev wlp4s0 station dump
Station ac:3b:77:77:e3:a0 (on wlp4s0)
	inactive time:	3290 ms
	rx bytes:	1086470
	rx packets:	7826
	tx bytes:	78279
	tx packets:	598
	tx retries:	0
	tx failed:	0
	beacon loss:	6
	rx drop misc:	10
	signal:  	-38 dBm
	signal avg:	-37 dBm
	tx bitrate:	144.4 MBit/s MCS 15 short GI
	rx bitrate:	144.4 MBit/s MCS 15 short GI
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	1
	beacon interval:100
	short slot time:yes
	connected time:	351 seconds

What is weird is that I am able to connect to to the "normal" SSID without any problems, but when I try to connect to the 5GHz alternative it doesn't even connect. The key is of type WPA2, so I'm not able to connect to it via iw.

[EDIT]
I would also like to add the fact that my internet connection is really slow (~15Mbps according to speedtest, when I know it can go up to ~200Mpbs)
[/EDIT]

[EDIT]
I also noticed that in the journalctl -f I had these types of errors:

rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x80070706 .
wlp4s0: authenticate with ac:3b:77:77:e3:a0
wlp4s0: send auth to ac:3b:77:77:e3:a0 (try 1/3)
wlp4s0: authenticated
wlp4s0: associate with ac:3b:77:77:e3:a0 (try 1/3)
wlp4s0: RX AssocResp from ac:3b:77:77:e3:a0 (capab=0x411 status=0 aid=3)
wlp4s0: associated
wlp4s0: deauthenticating from ac:3b:77:77:e3:a0 by local choice (Reason: 3=DEAUTH_LEAVING)
rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x80070706 .

[/EDIT]

Thank you very much in advance for all your help.

Last edited by Scriptor (2018-08-22 15:45:44)

Offline

#8 2018-08-29 03:24:50

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: PCE-AC51 Wireless card connection problems

So, I almost uninstalled and reinstalled every packages concerning the network and found something.

I don't use NetworkManager anymore. I only use wpa_supplicant and dhcpcd.

So I don't have any problems any more. The only thing is that sometimes I am still unable to connect to the 5GHz.

I don't have any real explanation to the problem, since the only type of error I have is :

CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="<my ssid>" auth_failures=1 duration=n reason=CONN_FAILED

And when in this case I am still able to connect to the 2.4GHz without any problems.

Thank you very much in advance

Offline

#9 2018-10-12 10:38:49

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: PCE-AC51 Wireless card connection problems

I have the same card and it works really poorly. Random disconnects, often slowdowns. I tried many tricks, various drivers, firmware, module arguments, all for nothing. I'm considering buying another card, maybe something with Intel chip.


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

Board footer

Powered by FluxBB