正如我在标题中所说,我无法在 Ubuntu 16.04 上连接到路由器,但我可以通过双启动的 Windows 10(同时使用以太网和 wifi)连接。我还可以从手机和笔记本电脑等其他设备连接,因此我认为路由器不是问题所在。
当我进入“系统偏好设置 -> 网络 -> 有线”时,系统提示我的电缆已拔出,但实际上并没有,以太网在 Windows 上是可以使用的。今天之前我可以连接到这个路由器,但由于某些未知原因,现在无法再连接。我通常通过以太网连接,但我也尝试过 wifi,但似乎也不起作用。Ubuntu 根本检测不到路由器。但是,我可以连接到其他网络(我目前正在从另一个网络发布此信息),所以我不确定问题是什么。
我尝试了网上的一些解决方案,但这些解决方案都没有用。我当然尝试过重启,也尝试过禁用“启用 Wi-fi”,但都无济于事。我对 Linux 和网络不太了解,所以我提前道歉。
串行通信
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation C220 Series Chipset Family H81 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
sudo lshw -c 网络
*-network description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: enp3s0
version: 0c
serial: 60:02:92:b3:3f:3c
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:32 ioport:d000(size=256) memory:f0204000-f0204fff memory:f0200000-f0203fff
*-network
description: Wireless interface
physical id: 1
bus info: usb@3:7
logical name: wlx6c71d99d6dbf
serial: 6c:71:d9:9d:6d:bf
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=4.4.0-63-generic firmware=0.29 ip=10.0.0.4 link=yes multicast=yes wireless=IEEE 802.11bgn
是否配置
enp3s0 Link encap:Ethernet HWaddr 60:02:92:b3:3f:3c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:630 errors:0 dropped:0 overruns:0 frame:0
TX packets:630 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:44672 (44.6 KB) TX bytes:44672 (44.6 KB)
wlx6c71d99d6dbf Link encap:Ethernet HWaddr 6c:71:d9:9d:6d:bf
inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: 2601:645:4200:1bb7::a20e/128 Scope:Global
inet6 addr: fe80::b04f:4f8c:ecd0:90f9/64 Scope:Link
inet6 addr: 2601:645:4200:1bb7:158:f6fa:7975:3299/64 Scope:Global
inet6 addr: 2601:645:4200:1bb7:6e71:d9ff:fe9d:6dbf/64 Scope:Global
inet6 addr: 2601:645:4200:1bb7:9018:ccae:a715:c0cf/64 Scope:Global
inet6 addr: 2601:645:4200:1bb7:bcd7:fc1e:2ddd:cce1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12076 errors:0 dropped:0 overruns:0 frame:0
TX packets:12748 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8771608 (8.7 MB) TX bytes:2400214 (2.4 MB)
我也尝试在 Ubuntu 论坛上询问这个问题,但没有得到太多回复,所以我在这里提问。提前谢谢大家。
答案1
我能够从中找到解决方案关联。我所要做的就是下载驱动程序。问题是我的电脑运行的是 r8169 驱动程序,而我本应该使用 r8168。