2

I tried installing the rtl8814AU driver for my TP Link T9UH wifi adapter on Ubuntu 16.04.01 (kernel version: 4.13.0.37). I used https://github.com/mathew19/rtl8814AU and used the answer of George Udosen on this (I'm Trying to install rtl8814au drivers fairly new to linux) topic. At first it worked, even though I wasn't able to sudo modprobe -v rtl8814au. The response when I entered this was: 'modprobe: FATAL: Module rtl8814au not found in directory /lib/modules/4.13.0-37-generic'. I was able to go on the internet and install updates and everything, but after rebooting, nothing worked anymore. I don't really have a lot of experience on Linux, and I really don't know what to do now. Can anyone help me?

The results of modinfo 8814au: https://i.stack.imgur.com/OAp6H.jpg

When I enter dkms status, it gives me:
rtl8192eu, 4.4: added
rtl8814au, 4.3.21, 4.13.0-32-generic, x86_64: installed (WARNING! Diff between built and installed module!)
rtl8814au, 4.3.21, 4.13.0-37-generic, x86_64: installed

  • What is the exact response to the terminal command: sudo modprobe 8814au Please edit your question to add the result. – chili555 Mar 14 '18 at 19:59
  • No, not rtl8814au; but 8814au. It makes a difference. – chili555 Mar 14 '18 at 21:15
  • What kernel? uname -a in terminal, edit the question to add results – Jeremy31 Mar 14 '18 at 23:24
  • When I enter sudo modprobe -v 8814au, it says: 'insmod /lib/modules/4.13.0-37-generic/updates/dkms/8814au.ko modprobe: ERROR: could not insert '8814au': Exec format error – Sjoukje___ Mar 15 '18 at 8:14
  • Please edit the question to include results for modinfo 8814au | grep "file|vermagic' – Jeremy31 Mar 15 '18 at 10:46
2

For some reason dkms built on the old kernel rather than the new one, in terminal do

sudo dkms remove 8814au/4.3.21 -k 4.13.0-37-generic
sudo dkms install 8814au/4.3.21
Reboot and it should work

To fix this for newer kernels

sudo apt-get install gksudo
gksudo gedit /usr/src/8814au-4.3.21/dkms.conf

Change the first line from MAKE="'make'" to MAKE="'make' all KVER=${kernelver}" Save and exit gedit and it should work correctly in future kernel updates

  • When I try sudo dkms remove 8814au/4.3.21 -k 4.13.0-37-generic, it says: Error! There are no instances of module: 8814au 4.3.21 located in the DKMS tree – Sjoukje___ Mar 15 '18 at 15:19
  • And when I try to sudo dkms install 8814au/4.3.21 it says: Error! Could not find module source directory. Directory: /usr/src/8814au-4.3.21 does not exist – Sjoukje___ Mar 15 '18 at 15:20
  • So dkms status has no result containing 8814? – Jeremy31 Mar 15 '18 at 22:24
  • dkms status gives me: rtl8192eu, 4.4: added rtl8814au, 4.3.21, 4.13.0-32-generic, x86_64: installed (WARNING! Diff between built and installed module!) rtl8814au, 4.3.21, 4.13.0-37-generic, x86_64: installed – Sjoukje___ Mar 19 '18 at 17:27
  • So apparently the problem was that it should be rtl8814au instead of 8814au. It worked now! Thank you very much! – Sjoukje___ Mar 20 '18 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.