I cant install the driver for TL-WN821N

I downloaded the driver and tried to build the makefile and it spits out this error

./Makefile: line 1: syntax error near unexpected token $(strip $(KSRC)),' ./Makefile: line 1: ifeq ($(strip $(KSRC)),)’

is there an open source alternative which i can use?

Welcome to the forum! :wave:

Please post your system info as outlined here:

Please also post the output of:


This Arch forum post seems relevant.
It seems you need this driver
and also to blacklist the current one.
But as @Yochanan said … also post some info to help people help you.