Disclaimer::
This Site is Only for SUNIL V PAUL and his Family
1. സുനില്‍ .വി.പോള്‍ 2.സീന ആന്റണി ഒലക്കേങ്കില്‍ 3.ക്രിസ്റ്റ റോസ്.വി.എസ്. 4.ആല്‍ഫ്രഡ് പോള്‍ .വി.എസ്.

Any other person has no permission to access or alter or use the details of my site.
Neither SUNIL V PAUL nor HIS FAMILY is responsible for any error that may have crept in the ADDRESS OR DETAILS OF THE SITES being published on net
.

Thursday, June 15, 2017

TP LINK WIRELESS ADAPTOR ---UBUNTU

TP LINK WIRELESS ADAPTOR ---UBUNTU

http://www.tp-link.com/en/download/TL-WN823N_V2.html#Driver

 To compile and install the proprietary Realtek 8192cu driver, run the following commands in an open terminal:

sudo apt-get update && sudo apt-get install git build-essential linux-headers-generic dkms
git clone https://github.com/dz0ny/rt8192cu.git --depth 1
cd rt8192cu
sudo make dkms
https://askubuntu.com/questions/246236/compile-and-install-rtl8192cu-driver

restart the computer


1. Development Environment
System version: Ubuntu 14.04.1
Kernel version: 3.16.0-30-generic
Gcc version:4.8.2

2. Compile the Driver
2.1. Compilation tool and kernel sources
Before you compile the driver, please make sure you have the correct compile tool and
kernel sources.
We can install compile tool gcc by command “apt-get install gcc”
Note : We recommend you use a suitable compile tool to compile our driver.
For example:

According to the command “sudo cat /proc/version”, we could see your linux system is compiled

by gcc4.8.2. So we recommend you use gcc4.8.2 to compile our driver if possible.
2.2. Compile and install the Driver

1. Access the directory of driver.

2. Before compile, make sure the parameters in “makefile.c” is suitable for your
compile environment of your Linux system.



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.
1If your Linux kernel does not support 802.11, please annotate macro

“CONFIG_IOCTL_CFG80211” in “makefile.c”.
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

3. Type “sudo make” to compile the driver file.

4. Type “sudo make install” to install the driver file.

No comments:

Post a Comment