[RESOLVED] Realtek RTL8811AU USB WiFi is not working

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

[RESOLVED] Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

System specs:

Code: Select all

ineuw@lm183dt64b ~ $ inxi -Fxz
System:    Host: lm183dt64b Kernel: 4.15.0-23-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASRock model: B360 Pro4
           Bios: American Megatrends v: P1.30 date: 05/25/2018
CPU:       Dual core Intel Pentium Gold G5600 (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15648
           clock speeds: max: 3900 MHz 1: 2800 MHz 2: 2800 MHz 3: 2800 MHz 4: 2800 MHz
Graphics:  Card: Intel Device 3e91 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: fbdev,intel (unloaded: vesa)
           Resolution: 1920x1080@77.00hz
           GLX Renderer: llvmpipe (LLVM 6.0, 128 bits)
           GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio:     Card Intel Device a348 bus-ID: 00:1f.3
Network:   Card: Intel Device 15bc driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1620.3GB (10.2% used)
           ID-1: /dev/sda model: SanDisk_SDSSDHII size: 120.0GB
           ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB
           ID-3: /dev/sdc model: ST500DM002 size: 500.1GB
Partition: ID-1: / size: 51G used: 7.2G (15%) fs: ext4 dev: /dev/sda4
           ID-2: swap-1 size: 16.10GB used: 0.00GB (0%) fs: swap dev: /dev/sdb11
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 181 Uptime: 7 min Memory: 1219.1/15706.3MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

Code: Select all

ineuw@lm183dt64b ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 25a7:fa67  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Plugged both WiFi dongles. RTL8192CU is a 300 mbps 802.1n model sold under BOLSE. The RTL8811AU is a 600mbps 802.1ac model sold under Wide Tiger.
Neither are working but I see that the older model is recognized.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

JeremyB, LM 18.3 is installed, updated, and working fine. Now I have ethernet but no WiFi (which I will fix later). The Realtek chip RTL8811AU does not have drivers for some Linux kernels, but there is a driver in the Ubuntu repository for a similar RTL chip which is supposed to work, and will try it later today. Also, there may be a 3rd party driver on github. Will post the results. Thanks for your help.
Last edited by ineuw on Mon Jul 16, 2018 3:30 pm, edited 1 time in total.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realnet RTL8811AU USB WiFi is not working

Post by JeremyB »

Do

Code: Select all

 sudo apt-get install dkms git build-essential
 git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
 cd rtl8812AU_8821AU_linux
 sudo make -f Makefile.dkms install
Reboot and check BIOS/UEFI settings to make sure Secure Boot is disabled and it should work
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

JeremyB wrote: Mon Jul 16, 2018 5:22 am Do

Code: Select all

 sudo apt-get install dkms git build-essential
 git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
 cd rtl8812AU_8821AU_linux
 sudo make -f Makefile.dkms install
Reboot and check BIOS/UEFI settings to make sure Secure Boot is disabled and it should work
jeremy8, unfortunately, this didn't work for me and apologize for the long delay in replying.
P.S: Secure Boot is always off.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

See the wireless script link in my signature and post results
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

Code: Select all

########## wireless info START ##########

Report from: 18 Jul 2018 14:42 EDT -0400

Booted last: 18 Jul 2018 00:00 EDT -0400

Script from: 10 Jan 2018 20:04 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia

##### kernel ############################

Linux 4.15.0-23-generic #25~16.04.1-Ubuntu SMP Fri May 25 04:50:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

Cinnamon

##### lspci #############################

00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:15bc] (rev 10)
	DeviceName: Onboard - Ethernet
	Subsystem: ASRock Incorporation Device [1849:15bc]

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:0811 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 25a7:fa67  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

##### lsmod #############################

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

eno1      Link encap:Ethernet  HWaddr <MAC 'eno1' [IF1]>  
          inet addr:192.168.1.80  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e9fd:9452:9010:f082/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30171 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25989 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:28739763 (28.7 MB)  TX bytes:7243513 (7.2 MB)
          Interrupt:16 Memory:a1100000-a1120000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2094 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2094 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:218779 (218.7 KB)  TX bytes:218779 (218.7 KB)

##### iwconfig ##########################

eno1      no wireless extensions.

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.254   0.0.0.0         UG    100    0        0 eno1
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eno1
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 eno1

##### resolv.conf #######################

nameserver 127.0.1.1
search lan

##### network managers ##################

Installed:

	NetworkManager

Running:

root       912     1  0 13:48 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         eno1
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        
GENERAL.DRIVER:                         e1000e
GENERAL.DRIVER-VERSION:                 3.2.6-k
GENERAL.FIRMWARE-VERSION:               0.5-4
GENERAL.HWADDR:                         <MAC 'eno1' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1f.6/net/eno1
GENERAL.IP-IFACE:                       eno1
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-UUID:                       9a42b5a1-96cc-365b-a24e-235fb1196dd1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     100 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   9a42b5a1-96cc-365b-a24e-235fb1196dd1 | Wired connection 1
IP4.ADDRESS[1]:                         192.168.1.80/24
IP4.GATEWAY:                            192.168.1.254
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.1.254
IP4.DNS[2]:                             208.67.222.222
IP4.DNS[3]:                             208.67.220.220
IP4.DOMAIN[1]:                          lan
DHCP4.OPTION[1]:                        requested_routers = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_netbios_scope = 1
DHCP4.OPTION[8]:                        requested_wpad = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                       expiry = 1532036909
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       routers = 192.168.1.254
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.1.80
DHCP4.OPTION[16]:                       requested_static_routes = 1
DHCP4.OPTION[17]:                       domain_name = lan
DHCP4.OPTION[18]:                       requested_domain_name_servers = 1
DHCP4.OPTION[19]:                       broadcast_address = 192.168.1.255
DHCP4.OPTION[20]:                       requested_ntp_servers = 1
DHCP4.OPTION[21]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                       dhcp_lease_time = 86400
DHCP4.OPTION[23]:                       domain_name_servers = 192.168.1.254 208.67.222.222 208.67.220.220
DHCP4.OPTION[24]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                       subnet_mask = 255.255.255.0
DHCP4.OPTION[26]:                       network_number = 192.168.1.0
DHCP4.OPTION[27]:                       requested_host_name = 1
DHCP4.OPTION[28]:                       dhcp_server_identifier = 192.168.1.254
IP6.ADDRESS[1]:                         fe80::e9fd:9452:9010:f082/64
IP6.GATEWAY:                            
IP6.DNS[1]:                             fe80::e2b9:e5ff:fe22:5ba
DHCP6.OPTION[1]:                        requested_dhcp6_domain_search = 1
DHCP6.OPTION[2]:                        dhcp6_name_servers = fe80::e2b9:e5ff:fe22:5ba
DHCP6.OPTION[3]:                        dhcp6_server_id = 0:3:0:1:e0:b9:e5:22:5:ba
DHCP6.OPTION[4]:                        requested_dhcp6_client_id = 1
DHCP6.OPTION[5]:                        requested_dhcp6_name_servers = 1
DHCP6.OPTION[6]:                        dhcp6_client_id = 0:4:4c:3:8:8a:ae:71:c:e0:64:36:a0:13:2d:87:4b:6f

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/AEI17900]] (600 root)
[connection] id=AEI17900 | type=wifi | permissions=
[wifi] mac-address-blacklist= | ssid=AEI17900
[ipv4] method=auto
[ipv6] method=auto

##### Netplan config ####################

##### iw reg get ########################

nl80211 not found.

##### iwlist channels ###################

eno1      no frequency information.

lo        no frequency information.

##### iwlist scan #######################

eno1      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[    8.738373] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready (repeated 2 times)
[   10.464300] e1000e: eno1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[   10.464302] e1000e 0000:00:1f.6 eno1: 10/100 speed: disabling TSO
[   10.464410] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
[   21.595402] [UFW BLOCK] IN=eno1 OUT= MAC= SRC=fe80:0000:0000:0000:e9fd:9452:9010:f082 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=403318 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[   21.595415] [UFW BLOCK] IN=eno1 OUT= MAC= SRC=fe80:0000:0000:0000:e9fd:9452:9010:f082 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=870045 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[   21.607976] [UFW BLOCK] IN=eno1 OUT= MAC= SRC=fe80:0000:0000:0000:e9fd:9452:9010:f082 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=403318 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[   21.607989] [UFW BLOCK] IN=eno1 OUT= MAC= SRC=fe80:0000:0000:0000:e9fd:9452:9010:f082 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=870045 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[  117.050496] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=28932 DF PROTO=2 
[  242.151056] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29010 DF PROTO=2 
[  367.252793] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29170 DF PROTO=2 
[  492.353284] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29280 DF PROTO=2 
[  617.455053] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29339 DF PROTO=2 
[  742.555567] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29394 DF PROTO=2 
[  867.656076] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29452 DF PROTO=2 
[  931.206840] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e0:b9:e5:22:05:ba:08:00 SRC=172.217.10.141 DST=192.168.1.80 LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=3511 PROTO=TCP SPT=443 DPT=36660 WINDOW=0 RES=0x00 RST URGP=0 
[  931.271431] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e0:b9:e5:22:05:ba:08:00 SRC=172.217.12.170 DST=192.168.1.80 LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=38063 PROTO=TCP SPT=443 DPT=53570 WINDOW=0 RES=0x00 RST URGP=0 
[  934.886974] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e0:b9:e5:22:05:ba:08:00 SRC=172.217.10.141 DST=192.168.1.80 LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=5559 PROTO=TCP SPT=443 DPT=36660 WINDOW=0 RES=0x00 RST URGP=0 
[  934.886986] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e0:b9:e5:22:05:ba:08:00 SRC=172.217.12.170 DST=192.168.1.80 LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=40084 PROTO=TCP SPT=443 DPT=53570 WINDOW=0 RES=0x00 RST URGP=0 
[  977.918696] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e2:b9:e5:22:05:ba:08:00 SRC=192.168.1.253 DST=192.168.1.80 LEN=90 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=137 DPT=57818 LEN=70 
[  980.952367] [UFW BLOCK] IN=eno1 OUT= MAC=<MAC 'eno1' [IF1]>:e2:b9:e5:22:05:ba:08:00 SRC=192.168.1.253 DST=192.168.1.80 LEN=90 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=137 DPT=41596 LEN=70 
[  992.757837] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29538 DF PROTO=2 
[ 1117.858352] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29611 DF PROTO=2 
[ 1242.960095] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29663 DF PROTO=2 
[ 1368.060593] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29726 DF PROTO=2 
[ 1493.161086] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29820 DF PROTO=2 
[ 1618.262836] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29869 DF PROTO=2 
[ 1743.363336] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=29976 DF PROTO=2 
[ 1868.465074] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30032 DF PROTO=2 
[ 1993.565568] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30089 DF PROTO=2 
[ 2118.666059] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30169 DF PROTO=2 
[ 2243.767808] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30231 DF PROTO=2 
[ 2368.868232] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30310 DF PROTO=2 
[ 2493.969982] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30360 DF PROTO=2 
[ 2619.070421] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30435 DF PROTO=2 
[ 2744.170969] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30495 DF PROTO=2 
[ 2869.272689] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30549 DF PROTO=2 
[ 2994.373110] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30600 DF PROTO=2 
[ 3119.474925] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=30787 DF PROTO=2 
[ 3244.575404] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:e0:b9:e5:22:05:ba:08:00 SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=31135 DF PROTO=2 

########## wireless info END ############
Last edited by JeremyB on Wed Jul 18, 2018 4:36 pm, edited 1 time in total.
Reason: code tags
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

What is the result for

Code: Select all

modprobe -c | grep 0811; locate rtl8812au.ko
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

After my last post, removed all traces of the rtl8812 installation attempt and reinstalled it, so that you can see the error messages the process generates during the installation. The results of modprobe -c | grep 0811; locate rtl8812au.ko returned nothing.See end of post.

Code: Select all

ineuw@lm183dt64b ~ $ sudo apt install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.7.4-0ubuntu1.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ineuw@lm183dt64b ~ $ git clone https://github.com/gnab/rtl8812au.git
Cloning into 'rtl8812au'...
remote: Counting objects: 607, done.
remote: Total 607 (delta 0), reused 0 (delta 0), pack-reused 607
Receiving objects: 100% (607/607), 1.80 MiB | 0 bytes/s, done.
Resolving deltas: 100% (242/242), done.
Checking connectivity... done.

ineuw@lm183dt64b ~ $ sudo dkms add ./rtl8812au

Creating symlink /var/lib/dkms/rtl8812au/4.2.2/source ->
                 /usr/src/rtl8812au-4.2.2

DKMS: add completed.

ineuw@lm183dt64b ~ $ sudo dkms build 8812au/4.2.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' all KVER=4.15.0-23-generic....(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-23-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.2.2/build/make.log for more information.

ineuw@lm183dt64b ~ $ sudo dkms install rtl8812au/4.2.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' all KVER=4.15.0-23-generic....(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-23-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.2.2/build/make.log for more information.

ineuw@lm183dt64b ~ $ sudo modprobe rtl8812au
modprobe: FATAL: Module rtl8812au not found in directory /lib/modules/4.15.0-23-generic

ineuw@lm183dt64b ~ $ modprobe -c | grep 0811; locate rtl8812au.ko
ineuw@lm183dt64b ~ $ 
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

I am not sure why this happened

Code: Select all

ineuw@lm183dt64b ~ $ sudo dkms add ./rtl8812au

Creating symlink /var/lib/dkms/rtl8812au/4.2.2/source ->
                 /usr/src/rtl8812au-4.2.2
As after I cloned that repo, I got this for a result

Code: Select all

sudo dkms add ./rtl8812au
[sudo] password for jeremy: 

Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
                 /usr/src/8812au-4.2.2
Post results for

Code: Select all

cat /var/lib/dkms/rtl8812au/4.2.2/build/make.log
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

Code: Select all

ineuw@lm183dt64b ~ $ cat /var/lib/dkms/rtl8812au/4.2.2/build/make.log
DKMS make.log for rtl8812au-4.2.2 for kernel 4.15.0-23-generic (x86_64)
Wed Jul 18 01:08:38 EDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/var/lib/dkms/rtl8812au/4.2.2/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /var/lib/dkms/rtl8812au/4.2.2/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8812au/4.2.2/build/include/osdep_service.h:41:0,
                 from /var/lib/dkms/rtl8812au/4.2.2/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8812au/4.2.2/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.2.2/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8812au/4.2.2/build/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^
/var/lib/dkms/rtl8812au/4.2.2/build/include/osdep_service_linux.h:258:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/rtl8812au/4.2.2/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/rtl8812au/4.2.2/build/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/rtl8812au/4.2.2/build' failed
make[1]: *** [_module_/var/lib/dkms/rtl8812au/4.2.2/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
ineuw@lm183dt64b ~ $ 
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

That source code is not patched for the 4.15 kernel. Try my suggestion again, reboot and post results for

Code: Select all

modprobe -c | grep 0811; locate rtl8812au.ko
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

After reboot:

ineuw@lm183dt64b ~ $ modprobe -c | grep 0811; locate rtl8812au.ko
alias usb:v0BDAp0811d*dc*dsc*dp*ic*isc*ip*in* rtl8812au

I also executed the previous command and I checked the folder there is no make.log

ineuw@lm183dt64b ~ $ cat /var/lib/dkms/rtl8812au/4.3.14/build/make.log
cat: /var/lib/dkms/rtl8812au/4.3.14/build/make.log: No such file or directory
Last edited by ineuw on Thu Jul 19, 2018 5:59 am, edited 1 time in total.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

Any results for

Code: Select all

sudo modprobe -v rtl8812au
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

neuw@lm183dt64b ~ $ sudo modprobe -v rtl8812au
insmod /lib/modules/4.15.0-23-generic/kernel/drivers/net/rtl8812au.ko
modprobe: ERROR: could not insert 'rtl8812au': Unknown symbol in module, or unknown parameter (see dmesg)
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

Lets try without dkms

Code: Select all

cd rtl8812AU_8821AU_linux
make clean
make
sudo make install
Reboot and see if it works
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

Executed dmesg and it's an 858 line document so it's better if I upload it as a zip file.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

JeremyB wrote: Thu Jul 19, 2018 6:04 am Lets try without dkms

Code: Select all

cd rtl8812AU_8821AU_linux
make clean
make
sudo make install
Reboot and see if it works
All the steps until make install were successful. :?

Code: Select all

ineuw@lm183dt64b ~/rtl8812AU_8821AU_linux $ sudo make install
[sudo] password for ineuw: 
install -p -m 644 rtl8812au.ko  /lib/modules/4.15.0-23-generic/kernel/drivers/net/wireless/
install: target '/lib/modules/4.15.0-23-generic/kernel/drivers/net/wireless/' is not a directory: No such file or directory
Makefile:1590: recipe for target 'install' failed
make: *** [install] Error 1
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

That is strange, what about

Code: Select all

dkms status
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: Realtek RTL8811AU USB WiFi is not working

Post by ineuw »

JeremyB, installed the latest kernel 4.15.0-29 and it works, (as opposed to 4.15.0-24, which does not). I repeated the instructions from github and this is the error I received from:

Code: Select all

sudo make -f Makefile.dkms install

make clean
make[1]: Entering directory '/home/ineuw/rtl8812AU_8821AU_linux'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-29-generic/build M=/home/ineuw/rtl8812AU_8821AU_linux clean
make[2]: Entering directory '/home/ineuw/rtl8812AU_8821AU_linux'
make[2]: *** /lib/modules/4.15.0-29-generic/build: No such file or directory.  Stop.
make[2]: Leaving directory '/home/ineuw/rtl8812AU_8821AU_linux'
Makefile:1605: recipe for target 'clean' failed
make[1]: *** [clean] Error 2
make[1]: Leaving directory '/home/ineuw/rtl8812AU_8821AU_linux'
Makefile.dkms:11: recipe for target 'src_install' failed
make: *** [src_install] Error 2
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Realtek RTL8811AU USB WiFi is not working

Post by JeremyB »

try

Code: Select all

sudo apt-get install linux-headers-generic
Then see if it builds
Locked

Return to “Networking”