更新:感谢您的所有帮助,但今天(7 月 7 日)我打开了电脑,它突然又可以工作了。
原始主题:
我的电脑无法连接到互联网。
我在一台装有 Windows 10 的 PC 上安装了 Ubuntu,安装过程中我将 Windows 10 替换为 Ubuntu。当我使用 Windows 10 时,互联网仍能正常工作。但是当我安装 Ubuntu 时,它无法连接到互联网。
我尝试过手机上的热点、更改网络设置、使用终端更改网络设置、更改名称服务器,但仍然不起作用。
Windows 10 上的连接是无线的。
编辑:
输出lspci
:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family NEI Controller #1 (rev 04)
00:12.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) 00:16.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:10.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) 00:10.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:10.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Fanily Desktop SATA Controller (IDE mode, ports 0-3) (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SNBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE node, ports 4-5) (rev 05) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
lsusb
:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 0021 ID 808710024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 0031 ID 093a12516 Pixart Imaging, Inc. USB OPTICAL MOUSE
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 808710024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 256010001 SINO WEALTH USB KEYBOARD
Bus 002 Device 004: ID @bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
请忽略潜在的拼写错误,因为我使用 Google Lens 扫描输出。
似乎驱动程序显示在 lsusb 中,可以共享任何 SS,或者当您尝试连接互联网时出现错误,那么很容易识别问题,
如果在设置中看不到 WIfi 选项,请尝试此命令
$ sudo systemctl 重新启动 NetworkManager
祝你好运!
提供有关我如何尝试解决该问题的更多详细信息。
我尝试使用 USB 网络共享将 iPhone 连接到电脑,希望至少能获得以太网/有线连接。然后,我打开它,它突然连接到互联网。我不确定这是 USB 的问题还是只是突然解决了的临时问题。
非常感谢您的帮助!
(自答)