WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
DaveC49
Level 1
Level 1
Posts: 42
Joined: Thu Oct 02, 2014 7:41 pm

WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by DaveC49 » Tue Jan 16, 2018 12:45 am

I am having similar problems with WiFi on a desktop with a Netgear A6100 usb Wireless adapter after updating the kernel to 4.13.0-26-generic. This adapter uses the Realtek 8811au chipset ( see wireless-info.txt attached ).
I initially tried recompiling and reinstalling the driver I had previously used rtl8812au version 4.3.14 (https://github.com/diederikdehaas/rtl8812AU) but received compile errors which had not previously appeared. I tried several fixes (https://github.com/diederikdehaas/rtl8812AU/issues/75) for this but came to the conclusion that this repository had not been up dated for quite a while. I also tried v 4.3.22-beta from the same repository with no improvement and the same errors (Warnings about implicit declarations). After scratching around I came upon more recent Linux versiond of the Realtek rtl8812au drivers (https://github.com/zebulon2/rtl8812au-driver-5.2.9) and tried installing these using dkms (instructions used to install are in the attached file rt8812au-driverforumPost.txt.tar.gz.) No compilation errors and the driver seems to have installed ok. (see wireless-info.tar.gz). The iwconfig output contains no references to a wireless device only eht0, eth1 (hard wired ethernet interfaces currently being used) and lo and similarly the network manager information for eth1 , eth0, ttyACMO. The Nm state was:
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true.

There was no wlan0 anywhere.

The Network Manager profiles contained entries from my previous connections to the WIFi.
The module information and module parameters look OK to me but I am probably kidding myself if i think I could detect an incorrect value
The udev rules list wlan0 which is the device my adapter previously appeared as. There is no response if I plug and unplug the adapter.
$ dmesg |grep 8812 gives
[ 20.713764] 8812au: loading out-of-tree module taints kernel.
[ 20.714674] 8812au: module verification failed: signature and/or required key missing - tainting kernel
[ 20.716674] usbcore: registered new interface driver rtl8812au

Not sure if this means that the 4.13.0-26 kernel will not load the module or not. Checking the kernel .configfile in/usr/src/linux-headers-4.13.0-26-generic, it is set to sign all modules on installation during build but CONFIG_MODULE_SIG_FORCE is not set which indicates that unsigned modules will load but mark the kernel and modules as tainted so it would appear that the module is loading.
Attachments
rt8812au-driverforumPost.txt.tar.gz
(1.06 KiB) Downloaded 4 times
wireless-info.tar.gz
(6.35 KiB) Downloaded 3 times

User avatar
Spearmint2
Level 14
Level 14
Posts: 5497
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by Spearmint2 » Tue Jan 16, 2018 3:05 am

the 8812 mod is not recognizing the 8811 device. You are probably going to have this problem every kernel change. I got one of these and never have a problem with kernel changes, it just works, all the time.

https://www.amazon.com/gp/product/B01N6 ... UTF8&psc=1
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
DaveC49
Level 1
Level 1
Posts: 42
Joined: Thu Oct 02, 2014 7:41 pm

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by DaveC49 » Tue Jan 16, 2018 7:32 pm

Thanks Spearmint,

Unfortunately I need a dual band 802.11ac compatible dongle which generally means the rtl8811au chipset. The rtl8812au driver should recognise the rtl8811au chipset according to Realtek. I guess the problem is whether that compatability is maintained in the various repositories supporting the rtl8812au driver. I have previously had it working ok. KALI Linux has recently released an rtl8812au dkms driver which I found this morning and as the latest release of KALI is based on the 4.13 kernel I stand a chance. I will try it tonight with the 4.13.0-26 kernel when I get home and see how it goes. :)

JeremyB
Level 17
Level 17
Posts: 7904
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by JeremyB » Tue Jan 16, 2018 7:46 pm

I would go back to the 4.4.0 kernels as you shouldn't have any more issues compiling the source code either manually or with dkms

dimic
Level 1
Level 1
Posts: 6
Joined: Fri Jan 15, 2016 7:40 pm

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by dimic » Tue Jan 16, 2018 10:45 pm

Hi,
this is no direct reply to your post, but a comment to the subject "WiFi problems with kernel 4.13.0-26".

I also have updated to kernel 4.13.0-26 because of the Meltdown/Spectre security advise.
With my Asus Vivobook, WiFi works fine after the kernel upgrade.
The difference: i have got a different WLAN adapter (good luck),

So just for documentation:
Asus VivoBook S510U
Intel 8086-24fd WLAN adapter
kernel module iwlwifi
firmware version 31.560484.0
Intel Microcode Version 3.20180108.0
Linux 18.3 Cinnamon
Kernel 4.13.0-26-generic
=> WiFi works fine with this configuration

BTW, i also had WLAN connectivity problems after installing Mint 18.3, but this
turned out as a router firmware problem. With fresh firmware no problems.

Best Greetings, Dieter

User avatar
DaveC49
Level 1
Level 1
Posts: 42
Joined: Thu Oct 02, 2014 7:41 pm

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by DaveC49 » Wed Jan 17, 2018 9:55 am

Hi Dieter,

I too have a laptop (ASUS) which upgraded to the 4.13.0.-26 kernel without any problems. It has an inbuilt asus_wireless driver module which had no problem with the kernel change. It is only my desktop (older AMD setup) which has a Netgear A6100/AC600 dual band 802.11ac USB adapter using the rtl8811au chipset. My WiFi router runs the dual band 802.11ac and my LAN seems to be faster on the 5 Mhz than 2.4 MHz but that just may be a reflection of more interference on the 2.4Mhz from other local WiFi setups. I am seeing more 5 MHz modems arond now than I did initially. My desktop was working on the previous 4.10.0-42, 4.10.0-40, 4.10.0-38 kernels without any problems and prior to that 4.4.0-101. I may take Jeremy's advice and revert to the most recent one of those which works, until someone with a bit more knowledge of drivers sorts it out. It seems to be specific wifi adapter chipsets which run into the compile problems. I have flagged it as an issue on most of the repos that I tried for the rtl8812au driver. I gather the 4.4 kernels have been patched for the Intel vulnerability. I remember seeing an Ubuntu site which listed which kernels had been patched so I will go back to one which has been patched.

Cheers
David

Divo
Level 1
Level 1
Posts: 4
Joined: Mon Mar 06, 2017 9:45 am

Re: WIFi disappeared after kernel upgrade to 4.13.0-26-generic

Post by Divo » Fri Jan 19, 2018 2:45 pm

Hi,

I have the same problem with driver compilation on any kernel above 4.10.
I've tried to fix the compilation errors with no success. It appears that there have been kernel changes made in kernel 4.11 that impact driver functions.
I tried to find solution to that but its way to complex for me.
I just hope someone smart has a look at it soon but this WIFI adaptor isn't very well supported judging what I've seen so far so I won't hold my breath.
I apologise if what I said doesn't make sense, I'm not a native English speaker.

Post Reply

Return to “Wireless”