Kubuntu LTS 16.04.02 上的 Broadcom 无线网络问题

Kubuntu LTS 16.04.02 上的 Broadcom 无线网络问题

我意识到这个问题已经被提出并解决了多次,但我从未找到解决问题的办法,所以我请求这个美好的社区对我宽容大方。

正如标题所述,我的 WiFi 在使用上遇到了一些麻烦。几天前,我在 Acer Aspire E5-571 上安装了 Kubuntu 16.04.02 LTS,但自从第一次启动以来,我的网络管理器就没有显示任何可用的无线网络。我了解到 Broadcom 已经证明自己对 Ubuntu 非常麻烦,所以我做的第一件事就是检查这是否是我的情况:是的。

命令行的输出lspci -knn | grep Net -A2

02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6645]

有人建议安装 Ndiswrapper,所以我尝试按照以下步骤操作本指南但是在安装 ndisgtk 包期间出现此错误:

命令行的输出sudo apt-get install ndisgtk

[...]    
Error! Bad return status for module build on kernel: 4.8.0-36-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.

其他人说这种问题是由于安全启动模式开启而引起的,事实上它已经启用(这也导致我在检查 F2 启动菜单时硬盘状态为 FROZEN (?))。我禁用了它(这使我的硬盘恢复为 CLEAR),但就无线网络而言,它并没有解决任何问题。

我多次重新安装了 Kubuntu(也尝试过 Ubuntu 和 Lubuntu,但出现同样的问题),希望能够幸运,但事实并非如此。我(显然)尝试按下键盘上的无线开关,看看是否可以关闭它,但不行。

附加信息

命令行的输出rfkill list

1: acer-wireless: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: acer-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

命令行的输出lshw -C network

WARNING: you should run this program as super-user.
  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:01:00.1
       logical name: enp1s0f1
       version: 12
       serial: f0:76:1c:79:4c:45
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:45 ioport:3000(size=256) memory:b0504000-b0504fff memory:b0500000-b0503fff
  *-network UNCLAIMED
       description: Network controller
       product: BCM43142 802.11b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: memory:b0400000-b0407fff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: enp0s20u3
       serial: a2:50:49:44:ed:bd
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.146 link=yes multicast=yes
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

命令行的输出iwconfig

lo        no wireless extensions.

enp1s0f1  no wireless extensions.

enp0s20u3  no wireless extensions.

如果需要的话,我还可以通过网络共享将我的电脑连接到互联网。

我提前感谢你们所有人照顾我和我的问题,期待你们的回答!另外,如果语言听起来有点奇怪,我深表歉意,但我不是以英语为母语的人!

编辑:

命令行的sudo apt-get install dkms broadcom-sta-dkms输出sudo apt-get update

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
dkms is already the newest version (2.2.0.3-2ubuntu11.3).
È stato impostato dkms per l'installazione manuale.
I seguenti pacchetti NUOVI saranno installati:
  broadcom-sta-dkms
0 aggiornati, 1 installati, 0 da rimuovere e 17 non aggiornati.
È necessario scaricare 2.204 kB di archivi.
Dopo quest'operazione, verranno occupati 14,5 MB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu xenial/multiverse amd64 broadcom-sta-dkms all 6.30.223.271-2 [2.204 kB]
Recuperati 2.204 kB in 17s (127 kB/s)                                                       
Selezionato il pacchetto broadcom-sta-dkms non precedentemente selezionato.
(Lettura del database... 190202 file e directory attualmente installati.)
Preparativi per estrarre .../broadcom-sta-dkms_6.30.223.271-2_all.deb...
Estrazione di broadcom-sta-dkms (6.30.223.271-2)...
Configurazione di broadcom-sta-dkms (6.30.223.271-2)...
Loading new broadcom-sta-6.30.223.271 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-36-generic
Building initial module for 4.8.0-36-generic
Error! Bad return status for module build on kernel: 4.8.0-36-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.

很抱歉这些意大利语字符串,如果需要我可以翻译它们。无论如何,正如所见,最后它给出了与尝试使用 Ndiswrapper 之前相同的错误消息。

答案1

您需要下载带有补丁的较新版本的 broadcom-sta-dkms,以便它能够使用 4.8 内核进行构建

wget http://mirrors.kernel.org/ubuntu/pool/multiverse/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-3_all.deb
sudo dpkg -i broadcom-sta-dkms_6.30.223.271-3_all.deb

重启

相关内容