AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1232522
Accepted
Soheil Paper
Soheil Paper
Asked: 2020-04-29 09:53:56 +0800 CST2020-04-29 09:53:56 +0800 CST 2020-04-29 09:53:56 +0800 CST

手动关机后wifi驱动丢失

  • 772

我的 Ubuntu 在运行 Android 的 VirtualBox 版本时停止,所以我关闭了系统。

根据this previous question,现在ti可以登录到Ubuntu OS,但是获取WiFi驱动程序的问题并且当我运行ifconfig它时显示WiFi数据,

所以我尝试通过以下代码从 live USB Ubuntu 安装 WiFi 驱动程序:

sudo apt remove broadcom-sta-dkms bcmwl-kernel-source
sudo add-apt-repository restricted
sudo apt update
sudo apt-get install bcmwl-kernel-source
sudo apt-get install linux-generic
sudo apt autoremove

并通过现场 USB 环境显示它已安装:


root@ubuntu:/# ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether c8:5b:76:8b:3e:ae  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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 1000  (Local Loopback)
        RX packets 4589  bytes 386757 (386.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4589  bytes 386757 (386.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::1153:1820:27de:5a87  prefixlen 64  scopeid 0x20<link>
        ether c8:3d:d4:3c:23:63  txqueuelen 1000  (Ethernet)
        RX packets 32549  bytes 35889892 (35.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25157  bytes 3314860 (3.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


现在它通过 Ubuntu live CD 显示 WiFi,sudo chroot /mnt/如下所示:

root@ubuntu:/# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 920MX] (rev a2)
root@ubuntu:/# iwconfig
lo        no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"TP-LINK_4AD2"  
          Mode:Managed  Frequency:2.447 GHz  Access Point: D4:6E:0E:45:4A:D2   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=48/70  Signal level=-62 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:303   Missed beacon:0

enp1s0    no wireless extensions.

但不通过我电脑中的主 Ubuntu 显示此设置,并且无法在那里连接到互联网?

主 Ubuntu 从 live USB 获取的版本是这样的:

ubuntu@ubuntu:~$  cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

更新: 还可以通过 live USB Ubuntu 版本获取此输出:

root@ubuntu:/etc/modprobe.d# sudo ifup wlp2s0
Unknown interface wlp2s0

root@ubuntu:/etc/modprobe.d# sudo modprobe rtl8821ae
modprobe: FATAL: Module rtl8821ae not found in directory /lib/modules/5.0.0-23-generic

根据这篇文章检查我是否安装了驱动程序:

root@ubuntu:/etc/modprobe.d# modinfo rtl8821ae
modinfo: ERROR: Module rtl8821ae not found.
root@ubuntu:/etc/modprobe.d# find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -name '*.ko'
find: ‘/lib/modules/5.0.0-23-generic/kernel/drivers/net/wireless’: No such file or directory

并形成这篇文章:

root@ubuntu:~/rtlwifi_new#     sudo modprobe rtl8821ae
modprobe: FATAL: Module rtl8821ae not found in directory /lib/modules/5.0.0-23-generic
root@ubuntu:~/rtlwifi_new# dmesg | tail
\[ 2975.493281] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000100000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 2981.742904] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000000000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 2981.743002] nouveau 0000:03:00.0: fifo: fault 00 [READ] at 0000000000100000 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 4c [] on channel -1 [007fce7000 unknown]
[ 2981.743029] nouveau 0000:03:00.0: fifo: DROPPED_MMU_FAULT 00000000
[ 2996.797871] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000050000 engine 05 [BAR2] client 08 [HUB/HOST_CPU_NB] reason ca [] on channel -1 [007fd38000 unknown]
[ 2996.803470] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000100000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 3003.054698] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000000000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 3003.054924] nouveau 0000:03:00.0: fifo: fault 00 [READ] at 0000000000100000 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 4c [] on channel -1 [007fce7000 unknown]
[ 3003.054966] nouveau 0000:03:00.0: fifo: DROPPED_MMU_FAULT 00000000
[ 3513.772212] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)

谢谢。

networking wireless drivers
  • 1 1 个回答
  • 68 Views

1 个回答

  • Voted
  1. Best Answer
    Pilot6
    2020-04-29T10:19:22+08:002020-04-29T10:19:22+08:00

    你的内核有问题。它是半安装的。

    可能在您关闭系统电源时正在进行无人值守的升级。

    使用以前的内核启动(Wi-Fi 应该可以工作)并更新系统。

    顺便说一句,您问题开头的 Broadcom 命令与您的问题无关,因为您没有 Broadcom 设备。

    • 1

相关问题

  • 如何限制下载/上传带宽?

  • 如何通过 Windows 网络共享文件?

  • 类似于 Eyefinity 的东西?

  • 面板小程序以文本形式显示当前网络流量?

  • 在哪里可以找到 Brother HL-2170W 64 位打印机驱动程序?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve