Tenda U12 网卡支持 Ubuntu linux,但是内核不能高于 4.4.
为此还要对 ubuntu 内核降级,见我的另一篇文章。
1. 下载 u12 驱动,可以从官网下载,U12_linux_v5.1.5_19247_Driver.zip
2. 解压驱动包,得到目录:U12_linux_v5.1.5_19247.20160830
3. 进行安装:
安装过程需要输入多次root密码。
chmod a+x ./install.sh
./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8812AU_linux_v5.1.5_19247.20160830.tar.gz
rtl8812AU_linux_v5.1.5_19247.20160830/
rtl8812AU_linux_v5.1.5_19247.20160830/core/
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_btcoex.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_p2p.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mlme.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_recv.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_xmit.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mem.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_beamforming.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_ioctl_rtl.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_vht.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_sta_mgt.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mlme_ext.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_odm.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_cmd.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_tdls.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_br_ext.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/efuse/
rtl8812AU_linux_v5.1.5_19247.20160830/core/efuse/rtw_efuse.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_ioctl_query.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_security.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_sreset.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_pwrctrl.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mi.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_ioctl_set.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_wapi.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_ap.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_wapi_sms4.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_iol.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_eeprom.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_bt_mp.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_ieee80211.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_io.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_rf.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_wlan_util.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mp.c
rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_mp_ioctl.c
rtl8812AU_linux_v5.1.5_19247.20160830/Makefile
rtl8812AU_linux_v5.1.5_19247.20160830/platform/
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ARM_SUNnI_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_arm_act_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_RTK_DMP_usb.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ARM_WMT_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ARM_SUN50IW1P1_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ARM_SUNxI_usb.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ARM_SUNxI_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ops.h
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_ops.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/platform_sprd_sdio.c
rtl8812AU_linux_v5.1.5_19247.20160830/platform/custom_country_chplan.h
rtl8812AU_linux_v5.1.5_19247.20160830/Kconfig
rtl8812AU_linux_v5.1.5_19247.20160830/clean
rtl8812AU_linux_v5.1.5_19247.20160830/wlan0dhcp
rtl8812AU_linux_v5.1.5_19247.20160830/ifcfg-wlan0
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/osdep_service.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/usb_intf.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/mlme_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/rtw_proc.h
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/recv_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.h
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/os_intfs.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/xmit_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/usb_ops_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/custom_gpio_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/rtw_cfgvendor.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/wifi_regd.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/rtw_cfgvendor.h
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_linux.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_mp.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/rtw_android.c
rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/rtw_proc.c
rtl8812AU_linux_v5.1.5_19247.20160830/runwpa
rtl8812AU_linux_v5.1.5_19247.20160830/include/
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8814a_dm.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/drv_types_pci.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/hal_data.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8723b_rf.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8192e_recv.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/hal_com.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/gspi_hal.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8821c_spec.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtw_wapi.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8188f_rf.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/Hal8192EPhyCfg.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8703b_recv.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/Hal8821APwrSeq.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/sdio_ops_ce.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/Hal8192EPhyReg.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/pci_hal.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/osdep_service_bsd.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/hal_gspi.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/sdio_hal.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtw_btcoex.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtw_eeprom.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8723b_hal.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8814a_led.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8188f_hal.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtw_event.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/Hal8703BPwrSeq.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/Hal8723DPwrSeq.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtl8812a_cmd.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/rtw_vht.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/byteorder/
rtl8812AU_linux_v5.1.5_19247.20160830/include/byteorder/big_endian.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/byteorder/swab.h
rtl8812AU_linux_v5.1.5_19247.20160830/include/byteorder/swabb.h
rtl8812AU_lin