How use TP-LINK TL-WN8200ND v1.0 on ubuntu server 18.04?

OK, you've kind of got a bunch of conflicting drivers, and mods in /etc/modprobe.d. It'll take a while to sort it all out, and will probably take a few rewrites of this answer to get it all done. Game?

You were mixing NetworkManager and Netplan commands, but we'll switch over to using Netplan instead of NetworkManager, and temporarily use the driver that you have installed now.

STEP #1


First, edit /etc/network/interfaces...

sudo -H gedit /etc/network/interfaces

Remove...

allow-hotplug wlx10feed2228ac
auto wlx10feed2228ac

iface wlx10feed2228ac inet dhcp

For now, add...

auto lo
iface lo inet loopback

Then edit /etc/netplan/*.yaml

ls -al /etc/netplan # to get the .yaml filename

sudo -H gedit /etc/netplan/found_filename.yaml # use the real filename here

And change this...

network:
    ethernets:
        enq0s25:
            dhcp4: true
    version: 2

To this...

Note: enter the proper password in the password field

Note: make sure spacing/indentation stays the same, and no tabs

network:
  renderer: networkd
  version: 2
  ethernets:
    enp2s0:
      dhcp4: true
      optional: true
    enp0s25:
      dhcp4: true
      optional: true
  wifis:
    wlx10feed2228ac:
      dhcp4: true
      access-points:
        "Totoro":
          password: "**********"

sudo netplan --debug generate # generate config files

sudo netplan apply # if there are no generate errors, apply the new config

reboot # reboot the computer

Note: I don't necessarily expect this to work... but who knows... Step #2 is around the corner.

STEP #2


Now we need to remove the dkms drivers, and return to using the built-in drivers. There are actually at least two drivers that will run this wireless adapter, and we may have to blacklist one of them.

dkms status # view the current situation

sudo dkms remove 8192cu/1.11 --all

sudo dkms remove 8192cu/4.0.2.9 --all

sudo dkms remove rtl8192eu/1.0 --all

dkms status # should now return nothing


Undo the /etc/modprobe.d mods...

For the following files...

sudo -H gedit /etc/modprobe.d/8192eu.conf

sudo -H gedit /etc/modprobe.d/blacklist-native-rtl8192.conf

sudo -H gedit /etc/modprobe.d/rtl8192cu.conf

sudo -H gedit /etc/modprobe.d/rtl8xxxu.conf

Comment out their contents, but do not remove these files.

reboot

Then show me the current status of:

sudo lshw -C network


STEP #3 (PENDING)


Create this file...

sudo -H gedit /etc/modprobe.d/dongle.conf

Add this content...

blacklist rtl8192cu
# blacklist rtl8xxxu