abperiasamy / rtl8812AU_8821AU_linux

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
GNU General Public License v2.0
1.22k stars 433 forks source link

Different MAC address appearing to the AP #261

Open vinyanalista opened 6 years ago

vinyanalista commented 6 years ago

Hi, everyone! It's me again! (from #220) I've got my TP-Link Archer T4U V2 (ID 2357:010d, MAC address 18:d6:c7:08:e4:a6) working on openSUSE Leap 42.3 with Linux kernel 4.4.79.

Now, I upgraded my distro to openSUSE Leap 15.0 with kernel 4.12.14:

# uname -a
Linux linux-jbyd 4.12.14-lp150.12.16-default #1 SMP Tue Aug 14 17:51:27 UTC 2018 (28574e6) x86_64 x86_64 x86_64 GNU/Linux

I'm not able to connect to my access point using my TP-Link Archer T4U on both 2.4 and 5GHz networks.

When I choose the Wi-Fi network on GNOME Settings, it continuously asks my Wi-Fi password, but does not connect.

I'm watching my AP's log (it is a MikroTik hAP ac lite TC) and at the same time of those connection attempts I see:

sep/02 21:06:12 wireless,info CA:52:E8:A5:97:6F@wlan2: connected, signal strength -26 
sep/02 21:06:17 wireless,info CA:52:E8:A5:97:6F@wlan2: disconnected, unicast key exchange timeout 
sep/02 21:06:53 wireless,info CA:52:E8:A5:97:6F@wlan2: connected, signal strength -26 
sep/02 21:06:58 wireless,info CA:52:E8:A5:97:6F@wlan2: disconnected, unicast key exchange timeout 
sep/02 21:07:40 wireless,info CA:52:E8:A5:97:6F@wlan2: connected, signal strength -25 
sep/02 21:07:45 wireless,info CA:52:E8:A5:97:6F@wlan2: disconnected, unicast key exchange timeout 

macvendors.com says No Vendor for CA:52:E8:A5:97:6F.

I tried switching from a USB 3.0 to a USB 2.0 port, result is the same, except the MAC address changes:

sep/02 21:22:27 wireless,info FA:EE:14:E3:3B:D6@wlan2: connected, signal strength -48 
sep/02 21:22:32 wireless,info FA:EE:14:E3:3B:D6@wlan2: disconnected, unicast key exchange timeout 
sep/02 21:22:44 wireless,info FA:EE:14:E3:3B:D6@wlan2: connected, signal strength -50 
sep/02 21:22:49 wireless,info FA:EE:14:E3:3B:D6@wlan2: disconnected, unicast key exchange timeout 

macvendors.com says No Vendor for FA:EE:14:E3:3B:D6 too.

Similar behavior occurs if I turn my smartphone into an AP and try to connect to it. My smartphone shows my TP-Link Archer T4U connected for less than a second, while GNOME Settings continuously asks the Wi-Fi password and does not connect to it.

On Windows 10, my TP-Link Archer T4U works without any issues with the vendor's driver.

Any ideas on what is going on?

Thank you!

vinyanalista commented 6 years ago

Every time I switch my TP-Link Archer T4U from one USB port to another, it appears with a different MAC address to the AP. I know it is my TP-Link Archer T4U because I don't have another device trying to connect.

From Linux point of view, the MAC address is correct:

$ ip -c a

...

10: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 18:d6:c7:08:e4:a6 brd ff:ff:ff:ff:ff:ff

I tried the following commits, without success: b018b44, ed2b800, 0292aa6 and b664e12 (latest by now). Same behavior on all of them.