0

I've been trying to connect to the internet via my adapter all day, the only way I'm able to post this is via USB tethering.

Earlier, I noticed I wasn't able to connect to the internet on this computer. I thought I'd just redo what I did when I first set up this computer which worked really well: Netgear A7000 on Ubuntu 16.04 not working - though I tried that twice and it didn't work, so I'm stuck on here looking for outdated answers from questions from 2015.

I used lsusb, and this is what shows up: https://pastebin.com/JuyCqaNB

Any help is appreciated, thank you.

  • What part of the process didn't work? Did any step throw an error? Is there any clue after this terminal command? sudo modprobe 8814au Welcome to Ask Ubuntu. – chili555 Sep 14 '18 at 01:43
  • Hi, sorry for the late response: when I use sudo modprobe 8814au, it says - modprobe: ERROR: could not insert '8814au': Exec format error – ubuntuisscary Sep 14 '18 at 18:47
  • We wonder if the last dkms build went correctly. Please see if there are any clues in the log. What does this tell us? cat /var/lib/dkms/rtl8814au/4.3.21/4.15.0-34-generic/x86_64/log/make.log Please confirm that you are using the kernel version in my command: uname -r If not -34, substitute your kernel version in the command above for 4.15.0-34-generic. – chili555 Sep 14 '18 at 19:52
  • To the first command : https://pastebin.com/TTLzeUPb – ubuntuisscary Sep 14 '18 at 20:10
  • When I entered uname -r, it responded with: 4.15.0-34-generic – ubuntuisscary Sep 14 '18 at 20:11
  • Even though you are running -34, it built against -29. Wierd. Studying... – chili555 Sep 15 '18 at 00:27
  • Please show us: cd rtl8814au && modinfo 8814au.ko | grep ver We believe it will not show the matching kernel version: "vermagic: 4.15.0-34-generic SMP mod_unload" – chili555 Sep 15 '18 at 00:39
  • All it said is: bash: cd: rtl8814au: No such file or directory – ubuntuisscary Sep 15 '18 at 00:50
  • Where did you git clone the driver file? You need to cd (change directories) into that location. – chili555 Sep 15 '18 at 01:12
  • I believe it's cloned into the home folder, but I could be wrong. – ubuntuisscary Sep 15 '18 at 01:12
  • Oh, I'm stupid and kept cd'ing into the rtl file, so now I'm getting - modinfo: ERROR: Module 8814au.ko not found. – ubuntuisscary Sep 15 '18 at 01:14
  • I will prose to temporarily fix the wireless while I study how to fix the error in the 'make' log. Please see my answer in a few minutes. – chili555 Sep 15 '18 at 01:23

1 Answers1

1

First, we need to remove the dkms installation:

sudo dkms remove rtl8814au/4.3.21 --all

Confirm that it is no longer present:

sudo dkms status

You should see no 8814au entries. If so, proceed.

Next, find where you cloned the driver files:

sudo updatedb
locate rtl8814au

You want the one in your /home/[user] directory; /home/ubuntuisscary for example. Change to that directory using the bash shorthand for '/home/ubuntuisscary', or whatever your user directory is named:

cd ~/rtl8814au

If you find that the file is in Downloads, then:

cd ~/Downloads/rtl8814au

Now we build the file for your current kernel.

make clean
git pull
make
sudo make install
sudo modprobe 8814au

Any improvement?

EDIT: When Update Manager installs a newer kernel version, also known as linux-image, after the requested reboot, recompile:

cd ~/rtl8814au
make clean
git pull
make
sudo make install
sudo modprobe 8814au
chili555
  • 60,188