Tp-Link TL-WN822N V5 [8/19] Compile the driver source
![Tp-Link TL-WN722N V3 [8/19] Compile the driver source](/views2/1469856/page8/bg8.png)
may take a few minutes.
$ make –j4 zImage modules dtbs
$ sudo make modules_install
$ sudo cp arch /arm/boot/dts/*.dtb /boot/
$ sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
$ sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
$ sudo cp arch/arm/boot/zImage /boot/$KERNEL.img
Note: “-j4” refers to using Raspberry Pi3 and 4 to compile to accelerate the compilation
process.
Power off the development board of Raspberry Pi3 and then run the following command
to confirm the kernel version.
$ uname –a
or
$ cat /proc/version
2.2. Compile the Driver Source
Go to the driver’s directory, open the Makefile file to support Raspberry Pi3. By default, the
CONFIG_PLATFORM_I386_PC macro is enabled. Set the value for
CONFIG_PLATFORM_BCM2709 to y, and set the value for
CONFIG_PLATFORM_I386_PC to n.
CONFIG_PLATFORM_BCM2709 = y
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ANDROID_X86 = n
After setting the parameters, use Terminal to go to the directory in which the driver source
file is stored. Run the following commands to compile the driver.
$ make clean
$ make
3. Load the Driver
Here we show the 8192eu.ko wireless driver loading process as an example. Run the
following command to load the driver.
$ sudo cp 8192eu.ko /lib/modules/[kernel version]/kernel/drivers/net/wireless/
$ sudo depmod -a
$ sudo modprobe 8192eu
Or directly use insmod to load the driver.
$ sudo insmod 8192eu.ko
After loading the driver, run the following command to check if the driver is successfully
loaded.
7
Содержание
- Contents 2
- Compilation tool and kernel sources 4
- Compile the driver 4
- Development environment 4
- Ubuntu 16 4 lts 4
- Compilation tool and kernel sources 5
- Compile the driver 5
- Development environment 5
- Load the driver 5
- Mint 18 3 5
- Compile the driver 6
- Development environment 6
- Load the driver 6
- Raspberry pi3 6
- Compile kernel source 7
- Compile the driver 7
- Compile the kernel 7
- Download and install tools 7
- Get kernel source 7
- Modify kernel 7
- Compile the driver source 8
- Load the driver 8
- Compile the driver 9
- Development environment 9
- Install the kernel header file 9
- Kali 2018 9
- Update the software source 9
- Compile driver source 11
- Load the driver 11
- Use the graphical interface 12
- Change the interface status to up 15
- Create the interface 15
- Identify the device 15
- Start wpa_supplicant in the background 15
- Use the command line 15
- Connect to the ap 16
- Scan wireless networks ssid 16
- Wep40 with open system 16
- Wep40 with shared key 16
- Tikp aes 17
- Wep 104 with open system 17
- Enable dhcp client 18
Похожие устройства
- Tp-Link TL-WN822N V5 Руководство пользователя
- Tp-Link TL-WN822N V5 Руководство по быстрому старту
- Tp-Link TL-WN822N V4 Руководство по быстрому старту
- Tp-Link TL-WN822N V4 Installation Guide for Linux
- Tp-Link TL-WN822N V4 Руководство пользователя
- Tp-Link TL-WN822N V3 Руководство пользователя
- Tp-Link TL-WN822N V3 Руководство по быстрому старту
- Tp-Link TL-WN822N V2 Руководство по быстрому старту
- Tp-Link TL-WN822N V2 Руководство пользователя
- Tp-Link TL-WN822N V1 Руководство по быстрому старту
- LG GA-B459BMDZ Инструкция по эксплуатации
- LG GA-B459BEDZ Инструкция по эксплуатации
- LG GA-B459BQDZ Инструкция по эксплуатации
- Pierre Ricaud P15477.1121Q Инструкция по эксплуатации
- Pierre Ricaud P15477.1123Q Инструкция по эксплуатации
- Pierre Ricaud P15477.5123Q Инструкция по эксплуатации
- Pierre Ricaud P15477.5124Q Инструкция по эксплуатации
- Pierre Ricaud P15959.1152Q Инструкция по эксплуатации
- Pierre Ricaud P21026.1171Q Инструкция по эксплуатации
- Pierre Ricaud P21026.5173Q Инструкция по эксплуатации