-

802.11n无线网卡驱动linux,Ubuntu无线网卡驱动安装教程
2023年5月2日发(作者:驱动加载工具)

802.11n⽆线⽹卡驱动linux,Ubuntu⽆线⽹卡驱动安装教程

Realtek 802.11ac(rtl8812au)

这是 Realtek 802.11ac(rtl8812au)v4.2.2(7502.20130507)驱动程序的⼀个分⽀,改进后构建在 内核版本 >= 3.10 上。

⽬的

My D-Link DWA-171 wireless dual-band adapter needs the Realtek 8812au driver to work under Linux.

The current rtl8812au version (per nov. 20th 2013) doesn't compile on Linux kernels >= 3.10 due to a change in the proc

entry API, specifically the deprecation of the create_proc_entry() and create_proc_read_entry() functions in favor of the

new proc_create() function.

Build

Makefile 已预先配置为处理⼤多数 x86 / PC 版本。如果您正在编译除 intel x86 架构之外的其他东西,则需要⾸先选择平台,例如对于

Raspberry Pi,您需要将 I386 设置为 n,将 ARM_RPI 设置为 y:...

CONFIG_PLATFORM_I386_PC = n

...

CONFIG_PLATFORM_ARM_RPI = y

There are many other platforms supported and some other advanced options, e.g. PCI instead of USB, but most won't be

needed.

The driver is built by running make, and can be tested by loading the built module using insmod:

$ make

$ sudo insmod

加载模块后,应该可以使⽤名为Realtek 802.11n WLAN Adapter的⽆线⽹络接⼝。

After loading the module, a wireless network interface namedRealtek 802.11n WLAN Adaptershould be available.

安装

安装驱动程序只需将构建的模块复制到正确的位置并使⽤depmod⽅法更新模块依赖关系:

$ sudo cp /lib/modules/$(uname -r)/kernel/drivers/net/wireless

$ sudo depmod

现在应该⾃动加载驱动程序模块。

DKMS

⾃动重建和安装内核更新。DKMS 是 的官⽅来源,⽤于安装:

$ sudo -get install build-essential dkms

必须将驱动程序源复制到 /usr/src/8812au-4.2.2

然后将其添加到 DKMS:

$ sudo dkms add -m 8812au -v 4.2.2

$ sudo dkms build -m 8812au -v 4.2.2

$ sudo dkms install -m 8812au -v 4.2.2

检查:

$ sudo dkms status

在启动时⾃动加载:

$ echo 8812au | sudo tee -a /etc/modules

最终从 DKMS 中删除:

$ sudo dkms remove -m 8812au -v 4.2.2 --all

重启后⽆法接收 WiFi

参考

-

802.11n无线网卡驱动linux,Ubuntu无线网卡驱动安装教程

更多推荐

realtek网卡驱动