3

I recently upgraded from Kubuntu 17.04 -> 17.10 using the upgrade tool. All of my programs/settings/personalization is ok, but many of the drivers are either missing or nonfunctional. This includes sound (Both Integrated Speakers, USB Speakers, and Bluetooth Speakers) Additionally my USB Bluetooth adapter may be malfunctioning due to the driver(No Sound Upon 17.10 Upgrade).

This also includes my USB Wi-Fi adapter as well. The internal Wi-Fi card may still be disabled because I had to to enable the external USB one (Which has a higher range than my internal antenna. Basically all the steps we did to enable the USB antenna (Wireless antenna does not appear despite its driver being installed)

I should note that graphics drivers appear to be fine (At least from the System Settings Dash anyway.... I'm using an Nvidia graphics driver and all appears to be well on that frontier)

I'm still new to the upgrade, if I find anything else that broke, I'll post it.

Edit 0: I should note that the Wired connection that I'm using is ok, and that I can connect to the network from there, and that's how I'm making posts. Seeing a similar question to the Wi-Fi issue I went to (No internet after upgrade to 17.10) and they linked me to (https://askubuntu.com/a/907249/645874) I attempted the fix and got a green status.Green Status The issue persists, although, granted I haven't had time to restart the system yet.

Edit 1: I executed most of the lines from your solution, but hit a snag on the dkms region.

sarah@ConvergentRefuge:~$ sudo dkms uninstall rtl8812au/5.2.9
Error! Could not locate dkms.conf file.
File:  does not exist.
sarah@ConvergentRefuge:~$ sudo rm /usr/src/rtl8812au-5.2.9
rm: cannot remove '/usr/src/rtl8812au-5.2.9': No such file or directory
sarah@ConvergentRefuge:~$ sudo rm -rf /usr/src/rtl8812au-5.2.9
sarah@ConvergentRefuge:~$ sudo rm -rf ~/rtl8812au-driver-5.2.9
sarah@ConvergentRefuge:~$ rm -rf rtl8812au
sarah@ConvergentRefuge:~$ 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.67 MiB | 10.32 MiB/s, done.
Resolving deltas: 100% (250/250), done.
sarah@ConvergentRefuge:~$ sudo cp rtl8812au  /usr/src
cp: -r not specified; omitting directory 'rtl8812au'
sarah@ConvergentRefuge:~$ sudo cp -r rtl8812au  /usr/src
sarah@ConvergentRefuge:~$ sudo dkms add -m 8812au -v 4.2.2
Error! Could not find module source directory.
Directory: /usr/src/8812au-4.2.2 does not exist.

I also tried a variation of it:

sarah@ConvergentRefuge:~$ sudo dkms add -m rtl8812au -v 4.2.2
Error! Could not find module source directory.
Directory: /usr/src/rtl8812au-4.2.2 does not exist.
sarah@ConvergentRefuge:~$
Eliah Kagan
  • 117,780
Sarah Szabo
  • 1,493
  • reboot. Many of those issues may be kernel related, you can also try an older kernel. – Panther Oct 28 '17 at 15:35
  • @Panther System was rebooted, issue still persists. Do you think that I should go to the last kernel that I used? – Sarah Szabo Oct 28 '17 at 17:47
  • yes, please try an older kernel, one known good. – Panther Oct 28 '17 at 17:48
  • Are you trying to fix resolv or are you trying to install the wireless driver? If resolv is working in ethernet, i.e. you can reach the internet with ethernet, then resolv is working properly. Please clarify. – chili555 Oct 28 '17 at 18:14
  • @chili555 The problem in the DNS fix wasn't the type of problem I was having. It was just the fix that another person recommended for Wi-Fi issues after upgrading. I'm looking to restore Wi-Fi capability and sound. I'll try the previous kernel. – Sarah Szabo Oct 28 '17 at 18:21
  • @Panther I'm using Kernel 4.10.0-041000-generic (From uname -r) and the issue still persists. – Sarah Szabo Oct 28 '17 at 18:41
  • Is this the wireless that you want to activate per lsusb? ID 0bda:a811 Realtek Semiconductor Corp. – chili555 Oct 28 '17 at 18:49
  • @chili555 Got: Bus 002 Device 008: ID 0bda:a811 Realtek Semiconductor Corp. Yes, it is. – Sarah Szabo Oct 28 '17 at 18:55
  • Have you tried booting with a 17.10 live system (eg on a USB pen-drive), if it works there you can lsmod and see what kernel modules are in use. FWIW I always wait at least a month when there's a new release unless I want to spend time fixing a system, YMMV. – pbhj Oct 28 '17 at 22:06

1 Answers1

3

With a working internet connection, open a terminal and enter these commands one at a time:

sudo apt update && sudo apt install git

If it is already installed, please just continue.

First, let's clean away the steps that we've shown are not working:

sudo dkms uninstall rtl8812au/5.2.9
sudo rm /usr/src/rtl8812au-5.2.9
sudo rm ~/rtl8812au-driver-5.2.9
rm -rf rtl8812au

Next, please do:

git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2

Reboot and tell us if the wireless is working.

chili555
  • 60,188
  • This was done in the 4.10 kernel, but it still doesn't work. I can reattempt in the newer kernel if you want. – Sarah Szabo Oct 28 '17 at 19:06
  • Please do and note my edit above in a few moments. I don't think you used the zebulon2 git repository previously, however. – chili555 Oct 28 '17 at 19:10
  • I'm guessing that I did, because I got an error message suggesting that I did after executing the first line fatal: destination path 'rtl8812au-driver-5.2.9' already exists and is not an empty directory. – Sarah Szabo Oct 28 '17 at 20:12
  • No effect on either kernel. – Sarah Szabo Oct 28 '17 at 20:28
  • Yes, I repeated all steps in your post after edit. This included the Zebulon 2 directory. – Sarah Szabo Oct 28 '17 at 21:04
  • When you encounter an error in any step, all further steps will be errors, too and ineffective. Please try again but start with: cd ~ && rm -rf rtl8812au-driver-5.2.9 Then git clone and so on. – chili555 Oct 28 '17 at 21:10
  • Please see my completely redone answer above in a few minutes! – chili555 Oct 28 '17 at 21:47
  • I hit a snag with dkms. I posted the Konsole output. I'll try pbhj's suggestion and try to get the modules loaded if the USB live system works out. – Sarah Szabo Oct 29 '17 at 16:25
  • I have edited the cp step and all following a bit, please try again. – chili555 Oct 29 '17 at 16:34
  • Yep, it looks like the USB Wi-Fi Adapter is back to operational status. Thank you so much! – Sarah Szabo Oct 29 '17 at 16:48
  • I tried this sudo dkms build -m rtl8812au -v 4.2.2 on my desktop lab computer downstairs running Kubuntu 18.04 and got ERROR (dkms apport): binary package for rtl8812au: 4.2.2 not found Error! Bad return status for module build on kernel: 4.15.0-22-generic (x86_64) It seems like it installed partially. – Sarah Szabo Jun 09 '18 at 06:01
  • In your desktop device downstairs, do you have the exact same device? Did you follow all the steps, starting with "git clone"? – chili555 Jun 09 '18 at 13:05
  • Yep, same device, instructions followed. Should I make a new post? – Sarah Szabo Jun 09 '18 at 15:36
  • Yes, please and show the result of each command as well as: sudo dkms status If the output is lengthy, paste it here and give us the link. http://paste.ubuntu.com – chili555 Jun 09 '18 at 18:17
  • rtl8812au, 4.2.2: added rtl8812AU, 5: added – Sarah Szabo Jun 10 '18 at 04:02
  • As I suggested, please start a new question and include all of this in the question. – chili555 Jun 11 '18 at 14:38
  • My apologies, I didn't see your new post. – Sarah Szabo Jun 11 '18 at 17:35
  • Posted: https://askubuntu.com/questions/1045765/usb-antenna-not-working-on-dell-optiplex-760-desktop – Sarah Szabo Jun 12 '18 at 00:32
  • This solution worked fine for me in Ubuntu 18.04, thank you! @chili555 Is it something "special" with the 4.2.2 repo you linked to? I first tried "with apt install rtl8812au-dkms" but that did not work at all. – jimutt Sep 26 '18 at 17:57
  • @jimutt I suspect it is that the dkms version in the repos doesn't include your exact usb.id. We'd have to check to verify exactly but as long as it's now working for you, I assume it's all good. – chili555 Sep 26 '18 at 19:51