首先,我在使用 Ubuntu 20.04 时尝试解决这个问题(但没有成功),请看这里wifi 速度很慢 ubuntu 20.04 我只能得到 20Mbps 应该能得到 300Mbps
所以正如你所看到的,在 20.04 上,我的 wifi 速度很慢,我试图解决这个问题,但没能解决,所以我想希望 22.04 能解决 wifi 速度慢的问题,无论如何,这是我的希望,但我使用的是 22.04,wifi 仍然很慢。而且只有下载速度慢,上传速度很好。我的下载速度大约是 30Mbps,而它应该是 300Mbps。哦,还有一件事,通过有线连接,我的下载速度大约是 500Mbps,所以有线连接完全没问题,是我的 wifi 有问题。
我个人认为 wifi 驱动程序很糟糕,这就是我的想法。我希望在 askubuntu 上解决这个问题,如果我无法解决,那么我将向 Canonical 报告这是一个错误。但希望这不是一个错误,你们中的一个可以帮助我一劳永逸地解决这个问题。
这是输出lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
01:00.1 Audio device: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] (rev a1)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
这是我在终端命令中输入的输出nmcli device wifi list
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
* XXXXXXXXXXXXXXXXX ARRIS-15D1 Infra 8 270 Mbit/s 94 ▂▄▆█ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 89 ▂▄▆█ WPA2
XXXXXXXXXXXXXXXXX Kavika2019 Infra 11 260 Mbit/s 87 ▂▄▆█ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 87 ▂▄▆█ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 87 ▂▄▆█ WPA2 802.1X
XXXXXXXXXXXXXXXXX -- Infra 6 130 Mbit/s 79 ▂▄▆_ WPA2
XXXXXXXXXXXXXXXXX -- Infra 1 195 Mbit/s 77 ▂▄▆_ WPA1 WPA2
XXXXXXXXXXXXXXXXX -- Infra 6 130 Mbit/s 77 ▂▄▆_ WPA2
XXXXXXXXXXXXXXXXX -- Infra 6 130 Mbit/s 77 ▂▄▆_ WPA1 WPA2 802.1X
XXXXXXXXXXXXXXXXX carlos Infra 11 195 Mbit/s 62 ▂▄▆_ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 195 Mbit/s 62 ▂▄▆_ WPA1 WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 195 Mbit/s 62 ▂▄▆_ WPA1 WPA2 802.1X
XXXXXXXXXXXXXXXXX -- Infra 1 195 Mbit/s 57 ▂▄▆_ WPA1 WPA2 802.1X
XXXXXXXXXXXXXXXXX HOME-7A55-2.4 Infra 1 195 Mbit/s 57 ▂▄▆_ WPA1 WPA2
XXXXXXXXXXXXXXXXX -- Infra 1 195 Mbit/s 57 ▂▄▆_ WPA1 WPA2
XXXXXXXXXXXXXXXXX Daxs House Infra 11 195 Mbit/s 57 ▂▄▆_ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 195 Mbit/s 57 ▂▄▆_ WPA1 WPA2 802.1X
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 54 ▂▄__ WPA2 802.1X
XXXXXXXXXXXXXXXXX Pumpkin Infra 11 260 Mbit/s 52 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 52 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 52 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX -- Infra 11 260 Mbit/s 49 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX HP-Print-E2-Officejet Pro 8600 Infra 6 54 Mbit/s 47 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX Cfyuuy6fff Infra 11 260 Mbit/s 47 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX -- Infra 10 270 Mbit/s 40 ▂▄__ WPA2
XXXXXXXXXXXXXXXXX HOME-EC92 Infra 11 270 Mbit/s 40 ▂▄__ WPA1 WPA2
输入命令时输出ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
当我输入终端命令时输出iwconfig
lo no wireless extensions.
enp4s0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:"ARRIS-15D1"
Mode:Managed Frequency:2.447 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=144.4 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:102 Missed beacon:0
编辑:
输出lspci -nnk | grep 0280 -A3
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
Subsystem: ASUSTeK Computer Inc. RTL8192CE PCIe Wireless Network Adapter [1043:85e3]
Kernel driver in use: rtl8192ce
Kernel modules: rtl8192ce
输出iwlist wlp2s0 freq
wlp2s0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency:2.447 GHz (Channel 8)
编辑:
那么链接速度到底是什么意思呢?为什么是 144Mbps?我以为我的 wifi 路由器可以达到 300Mbps。谢谢。
答案1
首先,我完全不同意您在其他问题中给出的建议,即在路由器中使用通道 8。通道 8 是重叠通道。请参阅:https://www.metageek.com/training/resources/why-channels-1-6-11/根据您所在位置的信道密度,我推荐信道 1。
接下来,您应该考虑一些故障排除步骤。检查路由器中的设置。首选 WPA2-AES;而不是任何 WPA 和 WPA2 混合模式,当然也不是 TKIP。其次,如果您的路由器能够支持 N 速度,那么在 2.4 GHz 频段使用 20 MHz 的信道宽度(而不是自动 20/40 MHz)可能会获得更好的连接性。我建议使用固定信道(1、6 或 11),而不是自动信道选择。此外,请确保路由器未设置为仅使用 N 速度;首选自动 B、G 和 N。进行这些更改后,重新启动路由器。
请检查无线网卡的天线连接器。两者是否都牢固地卡入到位?
通常,笔记本电脑底部有一个小门,您可以通过它看到无线网卡。
最后,rtl8192ce 设备无法实现 5 gHz 操作,这通常是最快的方法。请在此处查看完整的设备详细信息:https://device.report/wifi/WFA8643
您当然可以考虑使用 5 gHz 的 USB 无线设备来代替内部设备。