D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Getting a USB AC68 dongle to work in Mint 19.3

 

On 07/04/2020 19:03, comrade meowski wrote:
On 07/04/2020 12:41, Julian Hall wrote:

By built it myself do you mean installed it using apt-get not Mint's Update Manager?

I thought about this last night, and I wondered why Mint's Update Manager listed kernels older than the one I had running. I /think/ what may be happening is that the Update Manager keeps a record of what /it/ has installed and offers updates based on /that/, not what is actually installed.

My apologies. Yes I followed your instructions and got everything matching, kernel, headers etc. uname gives 5.3.0-46-generic.

As above I did that when you advised me to. I think what happened is I didn't spot when Thunderbird replied from the wrong address, so I intended to confirm I had done it but it didn't get to the list.

In a nutshell I am currently running thw kernel you advised above.


No problem, I feel like your Mum telling you off half the time!
Not at all.. you're doing your best to help me - much appreciated! - and I'm not helping by confusing the issue.
Speaking of which, try and snip your quoted walls of text a bit as they get very confusing to follow otherwise. *Wags finger*
Normally I would only keep the last reply but I thought it wise to keep a record of everything that was said :)
So far so good. You've got the latest 5.x kernel running complete with all the headers and - I think - the module for the wifi card built and loaded for it. Check with:

* dkms status

You should see something like:

comrade@drone:~$ dkms status
8812au, 4.2.2, 4.15.0-96-generic, x86_64: installed
8812au, 4.2.2, 5.3.0-45-generic, x86_64: installed
8812au, 4.2.2, 5.3.0-46-generic, x86_64: installed

As you can see the dkms job (you set it up on yours as well remember) automatically rebuilds the 8812au module for you dynamically against every new kernel you install.
8812au, 4.2.2, 4.15.0-96-generic, x86_64: installed
8812au, 4.2.2, 5.3.0-45-generic, x86_64: installed
8812au, 4.2.2, 5.3.0-46-generic, x86_64: installed
nvidia, 435.21, 4.15.0-96-generic, x86_64: installed
nvidia, 435.21, 5.3.0-45-generic, x86_64: installed
nvidia, 435.21, 5.3.0-46-generic, x86_64: installed
rtl8814AU, 4.3.21: added

I suspect the fly in the ointment is that last line ending 'added'.

So by now you should have the latest kernel and bits and the 8812au module correctly built via dkms and loaded by default. Here we should repeat a previous step to see what happens:

* dmesg -wT

Plugged in

[Tue Apr  7 22:09:05 2020] usb 1-1.4: new high-speed USB device number 5 using ehci-pci [Tue Apr  7 22:09:05 2020] usb 1-1.4: New USB device found, idVendor=0b05, idProduct=1853, bcdDevice= 0.00 [Tue Apr  7 22:09:05 2020] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Tue Apr  7 22:09:05 2020] usb 1-1.4: Product: 802.11ac NIC
[Tue Apr  7 22:09:05 2020] usb 1-1.4: Manufacturer: Realtek
[Tue Apr  7 22:09:05 2020] usb 1-1.4: SerialNumber: 123456

and unplugged

[Tue Apr  7 22:10:54 2020] usb 1-1.4: USB disconnect, device number 5

back in

[Tue Apr  7 22:11:39 2020] usb 1-1.4: new high-speed USB device number 6 using ehci-pci [Tue Apr  7 22:11:39 2020] usb 1-1.4: New USB device found, idVendor=0b05, idProduct=1853, bcdDevice= 0.00 [Tue Apr  7 22:11:39 2020] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Tue Apr  7 22:11:39 2020] usb 1-1.4: Product: 802.11ac NIC
[Tue Apr  7 22:11:39 2020] usb 1-1.4: Manufacturer: Realtek
[Tue Apr  7 22:11:39 2020] usb 1-1.4: SerialNumber: 123456

And unplug/replug the wifi adaptor. Look carefully at (and post) exactly what dmesg spits out during the processs, it will only be 10-20 lines. We need to find out what device name assignation it's getting as it's renamed from default eth0 to it's new alias, which is what we need to control it. That info was curiously missing earlier from your dmesg dump although I hope that's because things just weren't setup as cleanly as they are now. Here's what an example looks like, in my case a USB gigabit adaptor I've got lying around:

[Tue Apr  7 17:25:58 2020] usb 6-3: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd [Tue Apr  7 17:25:58 2020] usb 6-3: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00 [Tue Apr  7 17:25:58 2020] usb 6-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Tue Apr  7 17:25:58 2020] usb 6-3: Product: AX88179
[Tue Apr  7 17:25:58 2020] usb 6-3: Manufacturer: ASIX Elec. Corp.
[Tue Apr  7 17:25:58 2020] usb 6-3: SerialNumber: 00000000000040
[Tue Apr  7 17:25:58 2020] ax88179_178a 6-3:1.0 eth0: register 'ax88179_178a' at usb-0000:28:00.3-3, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:90:9e:9d:84:44 [Tue Apr  7 17:25:59 2020] ax88179_178a 6-3:1.0 enx00909e9d8444: renamed from eth0

Note especially the bit we really want: "enx00909e9d8444: renamed from eth0". That's the paydirt string we can then feed to another tool to actually configure and bring up the interface. It might seem weird to you but for $REASONS the device may well not be 'visible' to ifconfig straight off the bat. However, as you're on Mint run this after replugging:
As you can see I never get that paydirt string. All I seem to get is the computer recognising what it is, but doing nothing with it. As you say it was curiously missing, and it seems it still is.
* nmcli device status
(base) julian@CERCE:~$ nmcli device status
DEVICE   TYPE      STATE      CONNECTION
enp0s10  ethernet  connected  OLYMPUS
lo       loopback  unmanaged  --
Report back, surely we can actually get this working at last now. I've specifically marked out the commands that I want to see the results of (why didn't I think of this before?) by putting an * in front of them this time, hopefully that'll make things clearer.
Hopefully I pasted what you need, although I suspect not what you hoped to see.
Good job sticking with it so far.

The same to you for your patience!

Kind regards,

Julian

--
“The great tragedy of Science — the slaying of a beautiful hypothesis by an ugly 
fact.”

― Thomas Henry Huxley


--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq