无法使用华硕 PCE-AC68 Wifi 卡连接到互联网

无法使用华硕 PCE-AC68 Wifi 卡连接到互联网

今天我刚开始使用 Ubuntu 18.04,除了使用 Asus PCE-AC68 802.11ac Wifi 卡的互联网连接外,一切都运行正常。在 Ubuntu 设置中,它显示“未找到 Wi-Fi 适配器”。我尝试了许多不同的指南和教程,但似乎都没有用。这是我下载驱动程序的尝试。

首先,我运行lspci -nn并收到以下结果,这是我的 Wifi 卡

05:00.0 Network controller [0280]: Broadcom Limited BCM4360 802.11ac 
Wireless Network Adapter [14e4:43a0] (rev 03)

bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb其次,我从 Ubuntu 18.04 安装 USB (usb/pool/restricted/p/bcmwl)获取文件,然后将其放在我的桌面上。然后我将dkms文件夹从 (usb/pool/main/d)移出

sudo dpkg -i *.deb

我收到了这个输出

(Reading database ... 125680 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.271+bdcom-        
0ubuntu4_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu4) over 
(6.30.223.271+bdcom-0ubuntu4) ...
Selecting previously unselected package dkms.
Preparing to unpack dkms_2.3-3ubuntu9_all.deb ...
Unpacking dkms (2.3-3ubuntu9) ...
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on linux-libc-dev; however:
Package linux-libc-dev is not installed.
bcmwl-kernel-source depends on libc6-dev; however:
Package libc6-dev is not installed.

dpkg: error processing package bcmwl-kernel-source (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dkms:
 dkms depends on gcc; however:
  Package gcc is not installed.
 dkms depends on dpkg-dev; however:
  Package dpkg-dev is not installed.
 dkms depends on make | build-essential; however:
  Package make is not installed.
  Package build-essential is not installed.

dpkg: error processing package dkms (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2) ...

处理时遇到错误:bcmwl-kernel-source dkms

最后我运行sudo modprobe wl并收到以下内容:

05:00.0 Network controller [0280]: Broadcom Limited BCM4360 802.11ac 
Wireless Network Adapter [14e4:43a0] (rev 03)

如果有人知道我哪里错了或者有其他解决方案,请告诉我

答案1

这是一个类似的帖子:离线 Broadcom 安装的依赖项未得到满足

正如@dadexi86 提到的,如果您有有线连接,可以(暂时)用来下载这些依赖项,那就更好了。如果没有,您必须从 Launchpad 等地方逐个下载它们(例如https://launchpad.net/ubuntu/bionic/+package/g++) 然后以某种方式将它们传输到您的机器。之后您可以运行以下命令(大致按正确顺序):

sudo dpkg -i linux-libc-dev_4.15.0-20.21_amd64.deb sudo dpkg -i libc-dev-bin_2.27-3ubuntu1_amd64.deb sudo dpkg -i libc6-dev_2.27-3ubuntu1_amd64.deb sudo dpkg -i libitm1_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libatomic1_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libasan4_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i liblsan0_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libtsan0_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libubsan0_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i libcilkrts5_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i libmpx2_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libquadmath0_8-20180414-1ubuntu2_amd64.deb sudo dpkg -i libgcc-7-dev_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i gcc-7_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i gcc_7.3.0-3ubuntu2_amd64.deb sudo dpkg -i make_4.1-9.1ubuntu1_amd64.deb sudo dpkg -i dpkg-dev_1.19.0.5ubuntu2_all.deb sudo dpkg -i libstdc++-7-dev_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i g++-7_7.3.0-16ubuntu3_amd64.deb sudo dpkg -i g++_7.3.0-3ubuntu2_amd64.deb sudo dpkg -i build-essential_12.4ubuntu1_amd64.deb sudo dpkg -i dkms_2.3-3ubuntu9_all.deb sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb

相关内容