I am new to Ubuntu, using 16.04.
I installed the tl-wn822n v4 adapter following How to install TP link WN822N on Ubuntu? but the problem is that after I restart the computer, the wifi adapter is no longer recognised.
I have to run the following commands to make it work (if I don't want to unplug/replug).
sudo modprobe -r 8192eu
sudo modprobe 8192eu
I added the commands to /etc/rc.local but it still does not work after a restart. As of now, the only way is to run the commands manually or physically unplug/replug the adapter.
Is there a better way to fix it?