自动更新后无法联网

自动更新后无法联网

我在我的服务器设备上运行了软件更新程序,现在网络无法正常工作,即使是本地网络也不行。没有 wifi,也没有以太网。

我运行了这个:

$ cat /etc/netplan/01-network-manager-all.yaml

并得到这个:

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

有没有办法查看我最近安装了哪些更新,以了解这个问题可能源自何处?或者有办法彻底解决这个问题?

编辑1:运行:

sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status

并收到:

dpkg-query: package 'linux-modules-extra-5.15.0-70-generic' is not installed and no information is available

编辑 2:运行:ip a并收到:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

还跑了iwconfig并收到了lo no wireless extensions.

编辑 3:我也执行了以下帖子中的步骤。但没有用。 Ubuntu 无法检测 wifi 或以太网。*-Windows/Ubuntu 双启动中网络未声明

编辑4:sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status返回Status: install ok installed

sudo lshw -C network显示我的网络适配器无人认领。

  *-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list
       configuration: latency=0
       resources: ioport:d000(size=256) memory:f2104000-f2104fff memory:f2100000-f2103fff
  *-network UNCLAIMED
       description: Network controller
       product: AR9485 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:06:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: memory:f7200000-f727ffff memory:f7280000-f728ffff

编辑 5:输入sudo modprobe ath9k并得到modprobe: ERROR: could not insert 'ath9k': Operation not permitted

然后输入ps aux | grep Network,得到:

root         691  0.0  0.1 261848 19152 ?        Ssl  17:16   0:00 /usr/sbin/NetworkManager --no-daemon
noah        2116  0.0  0.0   9040   720 pts/0    S+   17:17   0:00 grep --color=auto Network

相关内容