Kali 安装时没有无线网络 (Realtek)

Kali 安装时没有无线网络 (Realtek)

我刚刚在我的笔记本电脑上安装了 Kali Linux (64),但我无法使用 Wi-Fi,而且不幸的是我的笔记本电脑上没有以太网端口。值得一提的是,在 Kali 安装过程中 Wi-Fi 工作正常。

这些是我运行以下命令时得到的结果:

iw配置:

lo        no wireless extensions
wlan0     IEEE 802.11abg  Mode:Monitor  Tx-Power=12 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Power Management:on

如果配置:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 1  (Local Loopback)
    RX packets 16  bytes 960 (960.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 16  bytes 960 (960.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

艾尔蒙-NG

PHY Interface   Driver      Chipset
phy0    wlan0       ??????      Realtek Semiconductor Corp. RTL8723AU 802.11n WLAN Adapter

lspci

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)

答案1

您需要安装linux-headers然后build-essential构建驱动程序lwfinger git 仓库

apt install build-essential git
apt update && apt upgrade && apt dist-upgrade

重新启动系统然后运行:

apt install linux-headers-$(uname -r)
git clone https://github.com/lwfinger/rtl8723au.git
cd rtl8723au
make
make install
modprobe -v 8723au

您应该收到:

insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8723au.ko

应正确加载无线模块。

要使该模块可用,请安装 evrey 内核更新dkms

要使 DKMS 正常工作:

  • 安装dkms
  • 将此源复制到目录 /usr/src/8723au-0.1/
  • 运行(以 root 身份):

# dkms add -m 8723au -v 0.1

  • 测试构建:

# dkms build -m 8723au -v 0.1

从现在开始,该驱动器应该可用于任何新内核。

答案2

尝试 modprobe r8723au;此 Realtek 卡也需要固件。在 Debian 中,该软件包被命名为firmware-realtek

相关内容