Linux 重启后 Wifi 消失并且未搜索 wifi 网络

Linux 重启后 Wifi 消失并且未搜索 wifi 网络

我是kali linux的新手,安装linux后没有wifi,我使用(make unload)和(make load命令)安装了驱动程序,但没有wifi连接,它说没有网络,每当我重新启动计算机时,就没有wifi wifi,我不知道这是否是正确的安装方式。重新启动后,iwconfig 仅提供 eth0 和 lo,没有无线扩展。我用过apt-get install firmware-iwlwifi,但它正在给予

firmware-iwlwifi is already the newest version (20170823-1)
0 upgraded 0 newly installed, 0 to remove and 0 not upgraded

请给我修复,以便我的 wifi 在重新启动后不会被删除,并且 wifi 会搜索并连接到网络。

lspcilsusb展示

# 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:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM75 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/C216 Chipset Family SMBus Controller (rev 04)
07:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)

# lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45:6473 Microdia 
Bus 001 Device 003: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

答案1

这个问题已经解决了,我的 apt-get update 不起作用,并且当时出现错误,我只是通过一一使用这些命令解决了这个问题

# sudo -i
# touch /etc/apt/sources.list
# chmod 644 /etc/apt/sources.list
# echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list
# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

之后我的 apt-get 更新开始工作,然后我使用这些命令并下载了驱动程序并安装

# git clone https://github.com/mehedishakeel/BroadcomInstaller2017.git

然后我将下载的文件复制到桌面上并使用这些命令

# cd ~/Desktop/BroadcomInstaller2017/
# ls
# cat Readme.md
# chmod +x Broadcom.sh
# ./Broadcom.sh

然后它给出3个选项选择1个选项,它将安装Broadcom的wifi驱动程序。

我不知道这个命令是否对其他人有用,但它对我有用,或者还有另一个命令。

# apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux- headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

我希望这个命令对其他人有用,现在这个问题已经结束了。

相关内容