当前位置:网站首页>The Debian system is ported with USBWiFi rtl8192eu driver and set to start automatically
The Debian system is ported with USBWiFi rtl8192eu driver and set to start automatically
2022-07-20 09:41:00 【Kakarot GT】
WiFi programme You can use what is already very mature in the market RTL8192EU programme , One USB WiFi modular , You can buy it for tens of dollars , You can also download all kinds of Linux kernel Source code of version adaptation .
download RTL8192EU Source code , open Makefile file :
modify I386_PC Option architecture and kernel source location :
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 - DRTW_USE_CFG80211_STA_EVENT
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= ARM64
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /home/OK8MP-linux-kernel/
MODDESTDIR := /home/OK8MP-linux- kernel/drivers/net/wireless/
INSTALL_PREFIX :=
STAGINGMODDIR := /home/OK8MP-linux- kernel/drivers/staging
endif
Compile the generated 8192eu.ko file , direct insmod that will do . But only this one ko Documents are not enough , Because of this ko The driver will also call /lib/firmware/rtlwifi Firmware file under , be known as rtl8192eu_nic.bin, You must have this file , Otherwise, the driver cannot be loaded normally :
After loading successfully , Use ifconfig command You can view the correctly loaded network card device :
And then use networkmanager Software can manage connections WiFi hotspot :
nmcli dev wifi connect "xxx" password "xxx"
stay xxx Fill in the hotspot name and password in the . Then it starts from Startup to load WiFi drive , This is very simple , stay /etc/ The next new one is called autorun.sh Of shell Script :
#!/bin/sh
insmod /home/rtl8192eu-linux-driver-realtek-4.4.x/8192eu.ko
And then in /usr/lib/systemd/system/ New under the directory autorun.service file :
[Unit]
Description=autorun
After=basic.service X.service thermal-zone-init.service
[Service]
ExecStart=/etc/autorun.sh
[Install]
WantedBy=multi-user.target
Enter the command :
systemctl -f enable /lib/systemd/system/autorun.service
chmod 777 /etc/autorun.sh
In this way, it can run automatically when starting up insmod command .
边栏推荐
- vivado2018.2报错及解决方法记录
- 1人天搞定9人天的日志接入开发——基于指令集物联网操作系统的项目开发实践
- ARM中断优先级之理解
- [mindspire] [mindir] how does mindspire conduct mindir reasoning
- Automatic nucleic acid extraction instrument based on ARM core board
- Wireless network test based on Feiling NXP i.mx6ull
- FPGA网口实现与详解(3)
- Retinaface parsing
- SPIN流程
- Instructions for torch use
猜你喜欢
vivado2018.2版本带PS侧配置(bd)调用modelsim仿真时:(vlog-13006) Could not find the package (sc_util_v1_0_3_pkg)
Carte centrale de la série g2l - Introduction au processeur rz / g2l | schéma de cadre | consommation d'énergie | schéma et Guide de conception matérielle
Interpretation of semi supervised semantic segmentation with error localization network
FPM生成封装时关联Allegro打开后无法生成封装问题解决办法
RetinaFace解析
Differences and connections between swing transformer and vision transformer
Install Oracle 11g and build database based on Linux operating system (centos7x without graphics)
When the vivado project version is upgraded, the relevant IP version IP status displays using cached IP results
Mysql45 talking about reading notes global lock and table lock (6)
Verilog HDL语言总结(全)
随机推荐
Qingdao Weifang becomes a rich man
UltraEdit自动换行/制表符设置
虚拟主机的搭建(多个站点)
FPGA网口实现与详解(2)
Jetson Xavier NX source code compilation and installation ROS melody experience (failed)
Samba的搭建
Retinaface parsing
[mindspore learning] [multi label classification] how to build a multi label mindrecord format data set of images
ZYNQ ARM核之SCU
This paper interprets DNA binding site prediction using a deep learning method
Ktor2.0很多新特性,我们一年前就想到了,并已落实在项目中
Interpretation of Bix NAS: searching effective bi directional architecture for medical image segmentation
全志T507去掉IO扩展芯片,保留扩展引脚功能
iMX8M开发板UBOOT添加新的显示支持
【mindspore】【import erro】 undefined symbol _ Z14DlogErrorInneriPK
RetinaFace解析
vivado工程版本升级时相关IP版本IP Status显示Using cached IP results
Mysql45 talking about reading notes in simple terms index (4)
Reset in Xilinx
Weakly supervised Semantic Segmentation by Pixel-to-Prototype Contrast