aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.58k stars 783 forks source link

Cannot install the driver on the newest Kali #1077

Open 40582316 opened 1 year ago

40582316 commented 1 year ago

┌──(leslie㉿kali)-[~/rtl8812au] └─$ sudo make && make install [sudo] password for leslie: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.1.0-kali9-amd64/build M=/home/leslie/rtl8812au modules make[1]: Entering directory '/usr/src/linux-headers-6.1.0-kali9-amd64' CC [M] /home/leslie/rtl8812au/core/rtw_cmd.o CC [M] /home/leslie/rtl8812au/core/rtw_security.o CC [M] /home/leslie/rtl8812au/core/rtw_debug.o CC [M] /home/leslie/rtl8812au/core/rtw_io.o CC [M] /home/leslie/rtl8812au/core/rtw_ioctl_query.o CC [M] /home/leslie/rtl8812au/core/rtw_ioctl_set.o CC [M] /home/leslie/rtl8812au/core/rtw_ieee80211.o CC [M] /home/leslie/rtl8812au/core/rtw_mlme.o CC [M] /home/leslie/rtl8812au/core/rtw_mlme_ext.o CC [M] /home/leslie/rtl8812au/core/rtw_mi.o CC [M] /home/leslie/rtl8812au/core/rtw_wlan_util.o CC [M] /home/leslie/rtl8812au/core/rtw_vht.o CC [M] /home/leslie/rtl8812au/core/rtw_pwrctrl.o CC [M] /home/leslie/rtl8812au/core/rtw_rf.o CC [M] /home/leslie/rtl8812au/core/rtw_chplan.o CC [M] /home/leslie/rtl8812au/core/rtw_recv.o CC [M] /home/leslie/rtl8812au/core/rtw_sta_mgt.o CC [M] /home/leslie/rtl8812au/core/rtw_ap.o CC [M] /home/leslie/rtl8812au/core/mesh/rtw_mesh.o CC [M] /home/leslie/rtl8812au/core/mesh/rtw_mesh_pathtbl.o CC [M] /home/leslie/rtl8812au/core/mesh/rtw_mesh_hwmp.o CC [M] /home/leslie/rtl8812au/core/rtw_xmit.o CC [M] /home/leslie/rtl8812au/core/rtw_p2p.o CC [M] /home/leslie/rtl8812au/core/rtw_rson.o CC [M] /home/leslie/rtl8812au/core/rtw_tdls.o CC [M] /home/leslie/rtl8812au/core/rtw_br_ext.o CC [M] /home/leslie/rtl8812au/core/rtw_iol.o CC [M] /home/leslie/rtl8812au/core/rtw_sreset.o CC [M] /home/leslie/rtl8812au/core/rtw_btcoex_wifionly.o CC [M] /home/leslie/rtl8812au/core/rtw_btcoex.o CC [M] /home/leslie/rtl8812au/core/rtw_beamforming.o CC [M] /home/leslie/rtl8812au/core/rtw_odm.o CC [M] /home/leslie/rtl8812au/core/rtw_rm.o CC [M] /home/leslie/rtl8812au/core/rtw_rm_fsm.o CC [M] /home/leslie/rtl8812au/core/efuse/rtw_efuse.o CC [M] /home/leslie/rtl8812au/os_dep/osdep_service.o CC [M] /home/leslie/rtl8812au/os_dep/linux/os_intfs.o CC [M] /home/leslie/rtl8812au/os_dep/linux/usb_intf.o CC [M] /home/leslie/rtl8812au/os_dep/linux/usb_ops_linux.o CC [M] /home/leslie/rtl8812au/os_dep/linux/ioctl_linux.o CC [M] /home/leslie/rtl8812au/os_dep/linux/xmit_linux.o CC [M] /home/leslie/rtl8812au/os_dep/linux/mlme_linux.o CC [M] /home/leslie/rtl8812au/os_dep/linux/recv_linux.o CC [M] /home/leslie/rtl8812au/os_dep/linux/ioctl_cfg80211.o CC [M] /home/leslie/rtl8812au/os_dep/linux/wifi_regd.o CC [M] /home/leslie/rtl8812au/os_dep/linux/rtw_android.o CC [M] /home/leslie/rtl8812au/os_dep/linux/rtw_proc.o CC [M] /home/leslie/rtl8812au/os_dep/linux/rtw_rhashtable.o CC [M] /home/leslie/rtl8812au/os_dep/linux/ioctl_mp.o CC [M] /home/leslie/rtl8812au/hal/hal_intf.o CC [M] /home/leslie/rtl8812au/hal/hal_com.o CC [M] /home/leslie/rtl8812au/hal/hal_com_phycfg.o CC [M] /home/leslie/rtl8812au/hal/hal_phy.o CC [M] /home/leslie/rtl8812au/hal/hal_dm.o CC [M] /home/leslie/rtl8812au/hal/hal_dm_acs.o CC [M] /home/leslie/rtl8812au/hal/hal_btcoex_wifionly.o CC [M] /home/leslie/rtl8812au/hal/hal_btcoex.o CC [M] /home/leslie/rtl8812au/hal/hal_mp.o CC [M] /home/leslie/rtl8812au/hal/hal_mcc.o CC [M] /home/leslie/rtl8812au/hal/hal_hci/hal_usb.o CC [M] /home/leslie/rtl8812au/hal/led/hal_led.o CC [M] /home/leslie/rtl8812au/hal/led/hal_usb_led.o CC [M] /home/leslie/rtl8812au/hal/HalPwrSeqCmd.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/Hal8812PwrSeq.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/Hal8821APwrSeq.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_xmit.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_sreset.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_phycfg.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_rf6052.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_dm.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_rxdesc.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/rtl8812a_cmd.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/usb/usb_halinit.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/usb/rtl8812au_led.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/usb/rtl8812au_xmit.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/usb/rtl8812au_recv.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/usb/usb_ops_linux.o CC [M] /home/leslie/rtl8812au/hal/efuse/rtl8812a/HalEfuseMask8812A_USB.o CC [M] /home/leslie/rtl8812au/hal/efuse/rtl8812a/HalEfuseMask8821A_USB.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/hal8812a_fw.o CC [M] /home/leslie/rtl8812au/hal/rtl8812a/hal8821a_fw.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/Hal8814PwrSeq.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_xmit.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_sreset.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_hal_init.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_phycfg.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_rf6052.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_dm.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_rxdesc.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/rtl8814a_cmd.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/hal8814a_fw.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/usb/usb_halinit.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/usb/rtl8814au_led.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/usb/rtl8814au_xmit.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/usb/rtl8814au_recv.o CC [M] /home/leslie/rtl8812au/hal/rtl8814a/usb/usb_ops_linux.o CC [M] /home/leslie/rtl8812au/hal/efuse/rtl8814a/HalEfuseMask8814A_USB.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_debug.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_antdiv.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_soml.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_smt_ant.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_antdect.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_interface.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_phystatus.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_hwconfig.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_dig.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_pathdiv.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_rainfo.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_dynamictxpower.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_adaptivity.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_cfotracking.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_noisemonitor.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_beamforming.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_dfs.o CC [M] /home/leslie/rtl8812au/hal/phydm/txbf/halcomtxbf.o CC [M] /home/leslie/rtl8812au/hal/phydm/txbf/haltxbfinterface.o CC [M] /home/leslie/rtl8812au/hal/phydm/txbf/phydm_hal_txbf_api.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_adc_sampling.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_ccx.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_psd.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_primary_cca.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_cck_pd.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_rssi_monitor.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_auto_dbg.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_math_lib.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_api.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_pow_train.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_lna_sat.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_pmac_tx_setting.o CC [M] /home/leslie/rtl8812au/hal/phydm/phydm_mp.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halrf.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halrf_debug.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halphyrf_ce.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halrf_powertracking_ce.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halrf_powertracking.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/halrf_kfree.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_mac.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_bb.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8812a/halhwimg8812a_rf.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/rtl8812a/halrf_8812a_ce.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8812a/phydm_regconfig8812a.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8812a/phydm_rtl8812a.o CC [M] /home/leslie/rtl8812au/hal/phydm/txbf/haltxbfjaguar.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_mac.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_bb.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8821a/halhwimg8821a_rf.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/rtl8821a/halrf_8821a_ce.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8821a/phydm_regconfig8821a.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8821a/phydm_rtl8821a.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/rtl8821a/halrf_iqk_8821a_ce. CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_bb.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_mac.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8814a/halhwimg8814a_rf.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8814a/phydm_regconfig8814a.o CC [M] /home/leslie/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o CC [M] /home/leslie/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o CC [M] /home/leslie/rtl8812au/hal/phydm/txbf/haltxbf8814a.o CC [M] /home/leslie/rtl8812au/platform/platform_ops.o CC [M] /home/leslie/rtl8812au/core/rtw_mp.o LD [M] /home/leslie/rtl8812au/88XXau.o MODPOST /home/leslie/rtl8812au/Module.symvers CC [M] /home/leslie/rtl8812au/88XXau.mod.o LD [M] /home/leslie/rtl8812au/88XXau.ko BTF [M] /home/leslie/rtl8812au/88XXau.ko Skipping BTF generation for /home/leslie/rtl8812au/88XXau.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-kali9-amd64'

Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues or check for newer versions (branches) of these drivers.

install -p -m 644 88XXau.ko /lib/modules/6.1.0-kali9-amd64/kernel/drivers/net/wireless/ install: cannot create regular file '/lib/modules/6.1.0-kali9-amd64/kernel/drivers/net/wireless/88XXau.ko': Permission denied make: *** [Makefile:1733: install] Error 1

40582316 commented 1 year ago

4a_ce.o CC [M] /home/leslie/Downloads/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o CC [M] /home/leslie/Downloads/rtl8812au/hal/phydm/txbf/haltxbf8814a.o CC [M] /home/leslie/Downloads/rtl8812au/platform/platform_ops.o CC [M] /home/leslie/Downloads/rtl8812au/core/rtw_mp.o LD [M] /home/leslie/Downloads/rtl8812au/88XXau.o MODPOST /home/leslie/Downloads/rtl8812au/Module.symvers CC [M] /home/leslie/Downloads/rtl8812au/88XXau.mod.o LD [M] /home/leslie/Downloads/rtl8812au/88XXau.ko BTF [M] /home/leslie/Downloads/rtl8812au/88XXau.ko Skipping BTF generation for /home/leslie/Downloads/rtl8812au/88XXau.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-kali9-amd64'

Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues or check for newer versions (branches) of these drivers.

After recent upgrade still not working