我运行的机器在各自的驱动器上有两个操作系统(Windows 10 和 Pop!_OS 21.10),我大约一周前安装了 Pop!_OS,直到最近一切都正常工作。有一天,以太网停止工作,WiFi 也不再对我有用。任何使这两个/其中一个再次工作的帮助将不胜感激。
更新了解决方案:
ProtonVPN 有 3 个 Kill Switch 选项。关闭、开启和永久。它已切换为永久状态,除非连接了 VPN,否则即使 ProtonVPN 应用程序未运行,也会阻止所有流量。这也解释了为什么它在一周左右的时间内工作正常,并且在我安装 ProtonVPN 后就停止工作了。
我想知道这是否与 DHCP 租约或某种冲突有关,在这种冲突中,路由器会混淆两个不同的操作系统(在不同的时间)使用相同的硬件。
lspci
告诉我我的以太网控制器是:
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express 千兆位以太网控制器 (rev16)。
如果有帮助的话我的主板是技嘉科技有限公司的Z390 UD
通过查看此处有类似问题的帖子,我尝试/检查了以下内容:
- 重新启动我的路由器。
- Windows 快速启动被禁用(一直以来都是如此,但我仔细检查过)。
- 尝试在断开以太网电缆的情况下启动,然后在启动后将其插入。
- 当我启动 Windows 10 时,以太网工作正常。
查看 dmesg 的输出以查找可能相关的错误,我看到以下内容:
bcma: Unsupported SPROM revision: 11
bcma-pci-bridge 0000:03:00.0: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
bcma-pci-bridge 0000:03:00.0: bus0: Using fallback SPROM failed (err -2)
bcma-pci-bridge 0000:03:00.0: bus0: No SPROM available
此外,我无法使用我的 WiFi:Broadcom Inc BCM4352 802.11ac 无线网络适配器 [14e4:43b1] rev 03
在输出中dmesg
我看到以下内容:
b43-phy0: Broadcom 4352 WLAN found (core revision 42)
b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
b43: probe of bcma0:1 failed with error -95
Broadcom 43xx driver loaded [ Features: PNL ]
我不认为这些是相关的,但我注意到其他错误:
x86/cpu: SGX disabled by BIOS
usb 1-2: new full-speed USB device number 3 using xhci_hcd
usb 1-2: device descriptor read/64, error -71
usb 1-2: device descriptor read/64, error -71
usb 1-2: new full-speed USB device number 4 using xhci_hcd
usb 1-2: device descriptor read/64, error -71
usb 1-2: device descriptor read/64, error -71
usb 1-2: device not accepting address 5, error -71
usb 1-2: device not accepting address 6, error -71
usb usb1-port2: unable to enumerate USB device
usb 1-4: 1:1: cannot get freq at ep 0x81
usb 1-4: 4:1: cannot get freq at ep 0x2
输出来自lspci -v -s 05:00.0
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at 3000 [size=256]
Memory at 53604000 (64-bit, non-prefetchable) [size=4K]
Memory at 53600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
我是ethtool
通过USB安装的。
的输出sudo ethtool enp5s0
是:
Settings for enp5s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: master
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: d
Link detected: yes
输出ip address show dev enp5s0
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 18:c0:4d:78:5c:bd brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0
valid_lft 86373sec preferred_lft 86373sec
inet6 fe80::3437:55d6:7fd8:bc93/64 scope link noprefixroute
valid_lft forever preferred_lft forever
由于它显示了网络 IP,我查看了路由器上的连接设备,并看到了以下分配的 IP:
- POP-OS 192.168.1.28 5G WiFi
- POP-OS 192.168.1.26 5G WiFi
- POP-OS 192.168.1.20 5G WiFi
- POP-操作系统 192.168.1.2 ETH
- POP操作系统192.168.1.25 2.4G WiFi
输出来自ip route
default via 100.85.0.1 dev pvpnksintrf0 proto static metric 98
default via 192.168.1.1 dev enp5s0 proto dhcp metric 100
100.85.0.0/24 dev pvpnksintrf0 proto kernel scope link src 100.85.0.1 metric 98
169.254.0.0/16 dev pvpnksintrf0 scope link metric 1000
192.168.1.0/24 dev enp5s0 proto kernel scope link src 192.168.1.25 metric 100
输出来自resolvectl
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp5s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (ipv6leakintrf0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.
Link 4 (pvpnksintrf0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.