TP-Link TL-WN722N v2/v3 RTL8188EUS monitor mode kubuntu issue

Hi guys! I have a question about installing the driver for the TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS] adapter to enable monitor mode.

i’ve successfully installed it on both Kali and Linux Mint Debian on virtual machines and it works fine but when i try to do the same on Kubuntu it just spits out a LOT or error codes.

This is what I’ve been using to get it working on Kali and Linux mint Debian.


sudo apt install -y build-essential dkms git linux-headers-$(uname -r)

git clone GitHub - aircrack-ng/rtl8188eus: RealTek RTL8188eus WiFi driver with monitor mode & frame injection support
cd rtl8188eus

sed -i ‘s/CONFIG_MONITOR = n/CONFIG_MONITOR = y/’ Makefile

make
sudo make install

sudo modprobe 8188eu

sudo reboot

iwconfig

sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up

iwconfig

sudo modprobe -r 8188eu
sudo modprobe 8188eu

echo “blacklist r8188eu” | sudo tee /etc/modprobe.d/realtek.conf


I’d be more than happy to post the output but there’s a LOT of stuff.

Hi theyikes. You’ve not actually asked a question, nor have you listed any error messages, so I’m assuming at this point you are a Bot. Your mission if you choose to accept it is to prove you’re not a Bot by asking a question and providing some sort of error message. Otherwise, this Topic will self-destruct in 4h :face_with_raised_eyebrow:

hi MadPenguin! Sorry I’m not too great at asking questions. I guess i was wondering if someone might know how i can go a bout install the driver for my usb wifi adapter.

I could post the installatiuon output but it’s REALLY long and i don’t understand a single word.

I’m just going to try to intsall it on Debian 12. I’ll post the results here in about 30 minutes.

Ok, so generally, if the WiFi adapter isn’t supported as a built-in kernel modules I’d do one of two things;

  • Don’t use the WiFi adapter
  • Use a distro that includes a kernel that supports the WiFi adapter

These days if you’re building a module from source you’re generally looking for trouble :wink: , if trouble is what you’re looking for then great, but you can buy a USB WiFi adapter that is supported for around £10 so generally source is not worth the trouble. (and if it’s not in the kernel tree, there’s usually a reason (!))

Thanks MadPenguin. Believe it or not i had almost figured out the kernel issue before i read your post. I’ll try an earlier version of Kubuntu. :crossed_fingers:

The Ubuntu distro’s (including K) should all have the same kernel / driver base. Generally I’d always go for the latest (25.04) for maximum chance of a supported driver, that said there’s always a chance if you have really old hardware it’s a driver that’s no longer supported .. although in that case I’d be looking for new hardware. Again, you can get a USB WiFi adapter for a tenner … (!)

Hi again ManPenguin!!! (Cool logo) apologies for the delay in getting back to you. Ok as i said when i tried on the default kernel I couldn’t run make it just kept spitting out error after error.
I know i could have posted the output here but it was pretty expansive.
Anyway i compiled an older kernel and tried that, Again i got a couple of flags but nothing like what i was getting, well to cut a long story short it appears to be working now.

Good that it’s working, although I’m not clear on the path that worked for you .. KUbuntu with a self-compiled kernel?