我无法在 Linux 中访问互联网,我想我可能会尝试更新适配器的驱动程序。但我什至不知道从哪里开始。有什么帮助吗?
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
lspci -nnk | grep 0200 -A3
05:00.0 Ethernet controller [0200]: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY [13f0:0200] (rev 31)
Subsystem: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY [13f0:0201]
Kernel driver in use: sundance
Kernel modules: sundance
[ 2.912433] sundance 0000:05:00.0: enabling device (0100 -> 0103)
[ 3.245192] sundance 0000:05:00.0 enp5s0: renamed from eth0
[ 38.118459] enp5s0: Link up
[ 38.119125] enp5s0: Link changed:
[ 0.146727] pci 0000:05:00.0: [13f0:0200] type 00 class 0x020000
[ 0.146752] pci 0000:05:00.0: reg 0x10: [io 0xd000-0xd07f]
[ 0.146763] pci 0000:05:00.0: reg 0x14: [mem 0xf7110000-0xf71101ff]
[ 0.146817] pci 0000:05:00.0: reg 0x30: [mem 0xf7100000-0xf710ffff pref]
[ 0.146878] pci 0000:05:00.0: supports D1 D2
[ 0.146879] pci 0000:05:00.0: PME# supported from D1 D2 D3hot D3cold
[ 0.432170] pci 0000:05:00.0: Adding to iommu group 7
[ 2.885357] sundance 0000:05:00.0: enabling device (0100 -> 0103)
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
在我们的聊天中,我们了解到,可重复地,如果您在没有工作以太网的情况下启动,它可以通过以下方式恢复:
我建议您在这里提出一个新问题,以获得创建启动脚本的帮助:
请注意,“sudo”是不可能的,因此在引导期间静默运行的脚本中不需要。