我的笔记本电脑的无线连接有严重问题。我有一个联想G400,最初与Windows8.1。一年前我一直在使用Ubuntu16.04LTS。突然间,有一天早上,我打开了我的笔记本电脑,无线连接失灵了。在右上角,在我的名字所在的位置,选项Enable Wi-Fi dissapeared。那一天,奇怪的是,在网络选项中,我可以连接到Wi。第二天我就是做不到,从那以后,我尝试了很多事情来解决我的问题。(有线连接工作完美)。
我尝试了很多基于这条线 (一个令人惊奇的线程)的东西。失败后,我决定删除我的磁盘并重新安装Ubuntu。
我重新安装了Ubuntu几次,问题仍然存在。最后,我第三次重新安装了Ubuntu,但是在安装过程中,我取消了“在安装Ubuntu的同时下载更新”选项,就像在这个图像上看到的那样。并且神奇地出现了WiFi选项!
当我重新安装所有东西时,我开始安装我以前有的应用程序,但是当我转到“软件更新程序”并更新所有东西时,问题再次出现了。
我重新启动了笔记本电脑,它显示了A system error ocurred。详细地说,bcmwl-kernel-source引起的错误,但我丢失了错误的确切信息。然后,基于上述螺纹,我尝试以脱机模式安装驱动程序(下载包并在文件夹sudo dpkg -i *.deb中运行)。出现了以下信息:
dpkg: warning: downgrading bcmwl-kernel-source from 6.30.223.271+bdcom-0ubuntu1~1.1 to 6.30.223.248+bdcom-0ubuntu8
(Reading database ... 223629 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu8_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) over (6.30.223.271+bdcom-0ubuntu1~1.1) ...
dpkg: warning: downgrading dkms from 2.2.0.3-2ubuntu11.5 to 2.2.0.3-2ubuntu11
Preparing to unpack dkms_2.2.0.3-2ubuntu11_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11) over (2.2.0.3-2ubuntu11.5) ...
Preparing to unpack libc6-dev_2.23-0ubuntu10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.23-0ubuntu10) over (2.23-0ubuntu10) ...
Preparing to unpack linux-libc-dev_4.4.0-112.135_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-112.135) over (4.4.0-112.135) ...
Setting up dkms (2.2.0.3-2ubuntu11) ...
Installing new version of config file /etc/kernel/prerm.d/dkms ...
Setting up linux-libc-dev:amd64 (4.4.0-112.135) ...
Setting up libc6-dev:amd64 (2.23-0ubuntu10) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building only for 4.13.0-32-generic
Building for architecture x86_64
Building initial module for 4.13.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 4.13.0-32-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.13.0-32-generic
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic这是我能提供的所有信息,如果时间太长,我很抱歉,但我认为这会有所帮助。提前感谢您的帮助。IMHO (我是Ubuntu的newby ),我认为问题在于新版本的驱动程序。如果是的话,怎样才能避免驱动程序的升级呢?(我不确定这就是问题所在)。
<#>更新
好的。我又重新安装了。当我运行apt list --installed | grep 4.10.0-28-generic时,它显示,
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-headers-4.10.0-28-generic/xenial-security,now 4.10.0-28.32~16.04.2 amd64 [installed,automatic]
linux-image-4.10.0-28-generic/xenial-security,now 4.10.0-28.32~16.04.2 amd64 [installed,automatic]
linux-image-extra-4.10.0-28-generic/xenial-security,now 4.10.0-28.32~16.04.2 amd64 [installed,automatic]
linux-signed-image-4.10.0-28-generic/xenial-security,now 4.10.0-28.32~16.04.2 amd64 [installed,automatic]发布于 2018-01-31 01:05:48
安装后,不要更新您的软件。
uname -r:查找内核版本
$ uname -r
4.14.15-041415-generic将下面的4.14.15-041415-generic替换为上面uname -r返回的内容:
$ apt list --installed | grep 4.14.15-041415-generic
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-headers-4.14.15-041415-generic/now 4.14.15-041415.201801231530 amd64 [installed,local]
linux-image-4.14.15-041415-generic/now 4.14.15-041415.201801231530 amd64 [installed,local]将下面的4.14.15-041415-generic替换为上面uname -r返回的内容:
$ sudo apt-mark hold linux-headers-4.14.15-041415-generic
linux-headers-4.14.15-041415-generic set on hold.
$ sudo apt-mark hold linux-image-4.14.15-041415-generic
linux-image-4.14.15-041415-generic set on hold.注:以上部分的复制和粘贴部分将节省时间和减少错误,而不是重新键入。
是安全的
您可以通过软件中心更新您的软件,或者使用:
sudo apt update
sudo apt upgradehttps://askubuntu.com/questions/1001197
复制相似问题