gnab / rtl8812au

Realtek 802.11n WLAN Adapter Linux driver
1.7k stars 552 forks source link

Compiled Driver Won't Connect to 5GHz in Raspian Stretch #124

Open scottmil opened 7 years ago

scottmil commented 7 years ago

I compiled and installed the rtl8812au driver for Raspbian Stretch 4.9.41-v7+ for my EDUP 801ac dual band dongle, but it generates error on boot and does not connect to the 5GHz network "buster 5GHz" configured in my multiple-wifi configured wpa_supplicant.conf. Instead, Stretch defaults to the RTL871x driver and connects to my 2.4GHz network.

The compiled driver connected to my 5GHz network in Raspbian Jessie. Is this a Stretch issue?

From journaltctl: Oct 01 20:28:44 raspberrypi wpa_supplicant[293]: nl80211: Driver does not support authentication/association or connect commands Oct 01 20:28:44 raspberrypi wpa_supplicant[293]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 ....

It appears Stretch instead then defaults to the driver RTL871x and connects to my 2.4GHz network "buster":

Continuing from journaltctl: .... wpa_supplicant[412]: wlan0: Trying to associate with 90:84:0d:db:6e:7b (SSID='buster' freq=2412 MHz) Oct 01 20:28:49 raspberrypi wpa_supplicant[412]: wlan0: Association request to the driver failed Oct 01 20:28:49 raspberrypi kernel: RTL871X: set ssid [buster] fw_state=0x00000008 Oct 01 20:28:49 raspberrypi kernel: RTL871X: set bssid:90:84:0d:db:6e:7b Oct 01 20:28:49 raspberrypi kernel: RTL871X: start auth Oct 01 20:28:49 raspberrypi kernel: RTL871X: auth success, start assoc Oct 01 20:28:49 raspberrypi wpa_supplicant[412]: wlan0: Associated with 90:84:0d:db:6e:7b Oct 01 20:28:49 raspberrypi kernel: RTL871X: assoc success Oct 01 20:28:49 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Oct 01 20:28:49 raspberrypi kernel: UpdateHalRAMask8812A => mac_id:0, networkType:0x0b, mask:0x000fffff ==> rssi_level:0, rate_bitmap:0x000ff005 Oct 01 20:28:49 raspberrypi kernel: RTL871X: send eapol packet Oct 01 20:28:49 raspberrypi kernel: RTL871X: send eapol packet Oct 01 20:28:49 raspberrypi wpa_supplicant[412]: wlan0: WPA: Key negotiation completed with 90:84:0d:db:6e:7b [PTK=CCMP GTK=TKIP] Oct 01 20:28:49 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status. Oct 01 20:28:49 raspberrypi wpa_supplicant[412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 90:84:0d:db:6e:7b completed [id=1 id_str=homeTwo] Oct 01 20:28:49 raspberrypi systemd[1]: Started Configure Bluetooth Modems connected by UART. Oct 01 20:28:49 raspberrypi dhcpcd[384]: wlan0: carrier acquired Oct 01 20:28:49 raspberrypi kernel: RTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4 Oct 01 20:28:49 raspberrypi kernel: RTL871X: set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1 Oct 01 20:28:49 raspberrypi dhcpcd[384]: DUID 00:01:00:01:21:44:2c:4e:b8:27:eb:d1:97:ab Oct 01 20:28:49 raspberrypi dhcpcd[384]: wlan0: IAID 06:3e:f4:3d Oct 01 20:28:49 raspberrypi dhcpcd[384]: wlan0: adding address fe80::a80c:6917:61b9:f5b2 Oct 01 20:28:49 raspberrypi dhcpcd[384]: wlan0: probing address 10.0.1.110/24

zloidemon commented 6 years ago

It only works with WPA not WPA2.