TL-WN821N V4.2 Linux Driver Install

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

TL-WN821N V4.2 Linux Driver Install

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TL-WN821N V4.2 Linux Driver Install
TL-WN821N V4.2 Linux Driver Install
2015-10-31 16:14:13
Model :

Hardware Version : Not Clear

Firmware Version :

ISP :

Hi I have a TL-WN821N V4.2 I found the drivers for Linux on your site.
How do you install?
With make goes in error.


Thank you
  0      
  0      
#1
Options
4 Reply
Re:TL-WN821N V4.2 Linux Driver Install
2015-12-27 04:55:10
Hi i have TL-WN821N v4.0
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
with this driver TL-WN821N_V4_150909 cannot install it....

Linux version 3.2.0-93-generic (buildd@lgw01-49) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #133-Ubuntu SMP Fri Oct 23 13:32:16 UTC 2015



2.2. Compile the Driver
Edit the Make file, KSRC, ARCH and other fields in the driver.
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif
Explanation:
· KSRC is used to specify the kernel source path for driver compilation.
· CROSS_COMPILE is used to specify the toolchain.
· ARCH is used to specify the target platform's CPU architectures such as arm, mips,
i386 and so on.
If your Linux kernel does not support 802.11, close macro CONFIG_IOCTL_CFG80211
CONFIG_IOCTL_CFG80211=n
ifeq ($(strip &(CONFIG_IOCTL_CFG80211)),y)
EXTRA_CFLAGS + = -DCONFIG_IOCTL_CFG80211 = 1
EXTRA_CFLAGS + = -DRTW_USE_CFG80211_STA_EVENT = 1
endif
After all parameters are configured, go to the directory of the original driver file and run the
command “make”.
I cannot andurstand what todo???
  0  
  0  
#2
Options
Thanks for support!
2016-01-14 03:20:43
Pool Shit. Thanks.
  0  
  0  
#3
Options
Re:TL-WN821N V4.2 Linux Driver Install
2016-02-08 06:19:05
I made a guide on how to do it on Ubuntu. It may help you with other distros as well. Their are some references at the bottom of the page which should give you more information. The chipset is "rtl8812au".
http://swkstudios.com/tutorials/ubuntu/ubuntu-14-04-installing-tp-link-ac1200-t4u/
  0  
  0  
#4
Options
Re:TL-WN821N V4.2 Linux Driver Install
2016-02-08 06:23:28
Ignore what I said (wrong device). You can search for what chipset your devices uses and then google "[Distro] [chipset] drivers" and see what comes up. Here is a link to version 3 (yours may be different, but good site to find it) https://wikidevi.com/wiki/TP-LINK_TL-WN821N_v3
  0  
  0  
#5
Options

Information

Helpful: 0

Views: 1707

Replies: 4