Results 1 to 3 of 3

Thread: (HELP) Install TP-Link TL-WN823N v2 on Kali Linux

  1. #1
    Join Date
    2016-Aug
    Posts
    1

    (HELP) Install TP-Link TL-WN823N v2 on Kali Linux

    So I've plugged the usb 2.0 wireless adapter in, download and extracted the drivers from the tp-link website, onto my desktop. Then I've gone into terminal, "cd Desktop/Driver", then I run "sudo make" to try and compile the driver.
    After I do this I get an error in the terminal:
    Code:
    root@kali:~/Desktop/Driver# sudo make
    "******************************************"
    "NO SKRC,we will use default KSRC"
    "******************************************"
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.3.0-kali1-amd64/build M=/root/Desktop/Driver  modules
    make[1]: *** /lib/modules/4.3.0-kali1-amd64/build: No such file or directory.  Stop.
    Makefile:1696: recipe for target 'modules' failed
    make: *** [modules] Error 2
    So I dug around a bit, and /lib/modules/4.3.0-kali1-amd64/build only exists upto lib/modules/4.3.0-kali1-amd64. There is no "build" file or folder.

    On the driver's readme pdf it states "Before compile, make sure the parameters in “makefile.c” is suitable for your
    compile environment of your Linux system."

    Code:
    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.

    Where am I meant to be pointing the KSRC on my version of kali linux? 4.3.0-kali1-amd64

  2. #2
    Join Date
    2016-Sep
    Posts
    1
    Any success in getting this to work ?

    I have the same problem.

    I am running Win10 (host) and Kali Linux in VirtualBox. No wireless interface is detected even though dmesg shows the device.

  3. #3
    Join Date
    2016-Aug
    Posts
    20
    What version of Kali are you running? According to the TP-Link driver download page it only supports kernels 2.6.18 ~ 3.10.10. Not sure if this is your problem, but that seems like a likely bet.

Similar Threads

  1. Tp-link tp-wn823n
    By peterla in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-08-30, 05:36
  2. Replies: 0
    Last Post: 2017-02-28, 13:57
  3. TP-LINK TL-WN823N or TL-WN722N
    By WallaceTech in forum General Archive
    Replies: 1
    Last Post: 2015-11-15, 17:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •