How to revert 8188eu driver update from git?

I tried to update the driver of my TP-Link adapter, but I messed up and now my adapter doesn't even work. It was working fine. I just want to undo whatever I did. These are the commands I ran. I found them on a post with a similar adapter.

sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install git
git clone
cd rtl8188eu
make all
sudo make install
sudo modprobe 8188eu.ko

I hope that I didn't mess up big time. I don't want to try undo it myself and make it worse. I learned my lesson. I'd appreciate if someone could help me undo whatever I did.

2

2 Answers

Thank you for your help. All I needed to do was:

cd rtl8188eu
sudo make uninstall
1
cd to /lib/modules/latestest-kernel/
ls -R | grep 8188eu.ko 

To find where the new driver is you can use:

root@ub7:/lib/modules/5.8.0-44-generic
ls -R | grep 8188eu.ko
r8188eu.ko
find . -name r8188eu.ko
./kernel/drivers/staging/rtl8188eu/r8188eu.ko 

Rename r8188eu.ko to r8188eu.ko.bak (using mv).

Also check date of r8188eu.ko to see if is more recent. Then reboot the machine.

sudo reboot

If this does not work, reboot from older kernel, this would not changed.

If this works delete newest kernel - I could help let me know how you got on.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like