几天以来,我的笔记本电脑上的连接速度非常慢,但在所有其他设备(手机、平板电脑、公寓中其他人的电脑)上,连接速度非常快,例如在我的手机上,我达到了 62Mbps在 wifi 上进行速度测试,而我的电脑甚至无法开始测试...
我感觉需要时间的是第一次连接:比如我可以流畅地播放一个视频,但视频可能需要40秒才能启动。仅在 Google 上进行简单搜索可能会超时、需要多次刷新或需要 40 秒才能完成。
我感觉其他地方(在我的工作场所)的连接速度也较慢,即使我使用以太网,但也稍微好一些。
即使 ping make 也需要 20 秒到 40 秒才能启动(然后它就能流畅地工作),请参见此 gif,它显示了 ping 的连接:
我认为有时我什至没有连接到 wifi,但连接可能会超时,而 ping 可能工作正常。例如,我尝试手动连接到各种 DNS 服务器,有时连接有效,有时超时,但 ping 可能同时有效:
通常,如果我尝试curl
联系网站,第一次尝试超时,然后我设法在 10 到 40 秒内到达该网站,然后接下来的尝试几乎是瞬时的:
$ time curl -vvv wordreference.com
* Could not resolve host: wordreference.com
* Closing connection 0
curl: (6) Could not resolve host: wordreference.com
real 0m20,063s
user 0m0,013s
sys 0m0,015s
[leo@bestos:/tmp]$ time curl -vvv wordreference.com
* Trying 23.111.171.90:80...
* Connected to wordreference.com (23.111.171.90) port 80 (#0)
> GET / HTTP/1.1
> Host: wordreference.com
> User-Agent: curl/7.82.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 307 Moved Temporarily
< Content-Type: text/html; charset=UTF-8
< Location: https://wordreference.com/
< Server: Microsoft-IIS/10.0
< Access-Control-Allow-Headers: X-Requested-With
< Access-Control-Allow-Origin: *
< Date: Sat, 16 Jul 2022 12:33:15 GMT
< Content-Length: 149
<
<head><title>Document Moved</title></head>
* Connection #0 to host wordreference.com left intact
<body><h1>Object Moved</h1>This document may be found <a HREF="https://wordreference.com/">here</a></body>
real 0m7,620s
user 0m0,002s
sys 0m0,006s
[leo@bestos:/tmp]$ time curl -vvv wordreference.com
* Trying 23.111.171.90:80...
* Connected to wordreference.com (23.111.171.90) port 80 (#0)
> GET / HTTP/1.1
> Host: wordreference.com
> User-Agent: curl/7.82.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 307 Moved Temporarily
< Content-Type: text/html; charset=UTF-8
< Location: https://wordreference.com/
< Server: Microsoft-IIS/10.0
< Access-Control-Allow-Headers: X-Requested-With
< Access-Control-Allow-Origin: *
< Date: Sat, 16 Jul 2022 12:34:15 GMT
< Content-Length: 149
<
<head><title>Document Moved</title></head>
* Connection #0 to host wordreference.com left intact
<body><h1>Object Moved</h1>This document may be found <a HREF="https://wordreference.com/">here</a></body>
real 0m0,534s
user 0m0,007s
sys 0m0,004s
知道发生了什么以及如何调试吗?
编辑
一些输出:
$ ethtool -i wlo1
driver: iwlwifi
version: 5.15.34
firmware-version: 46.fae53a8b.0 9000-pu-b0-jf-b0-
expansion-rom-version:
bus-info: 0000:00:14.3
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
$ ethtool -S wlo1
NIC statistics:
rx_packets: 24159
rx_bytes: 4978806
rx_duplicates: 0
rx_fragments: 14403
rx_dropped: 1033
tx_packets: 28686
tx_bytes: 4701596
tx_filtered: 0
tx_retry_failed: 0
tx_retries: 683
sta_state: 4
txrate: 866700000
rxrate: 6000000
signal: 200
channel: 0
noise: 18446744073709551615
ch_time: 18446744073709551615
ch_time_busy: 18446744073709551615
ch_time_ext_busy: 18446744073709551615
ch_time_rx: 18446744073709551615
ch_time_tx: 18446744073709551615
$ sudo ethtool -t wlo1
[sudo] Mot de passe de leo :
Cannot test: Operation not supported
$ ifconfig -a
docker0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
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:0
RX bytes:0 TX bytes:0
eno2 Link encap:Ethernet HWaddr C0:3E:BA:68:12:04
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:349934 errors:0 dropped:0 overruns:0 frame:0
TX packets:75634 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:480290990 TX bytes:10218206
Interrupt:16 Memory:91300000-91320000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:209505 errors:0 dropped:0 overruns:0 frame:0
TX packets:209505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:942671302 TX bytes:942671302
vboxnet0 Link encap:Ethernet HWaddr 0A:XX:XX:XX:XX
inet addr:192.168.56.1 Bcast:0.0.0.0 Mask:255.255.255.0
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 TX bytes:0
wlo1 Link encap:Ethernet HWaddr 08:XX:XX:XX:XX
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:273938 errors:0 dropped:1 overruns:0 frame:0
TX packets:189602 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:202163249 TX bytes:35610665
$ journalctl -f
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: SME: Trying to authenticate with XX:XX:XX:XX:XX (SSID='TMNL-XXXXX' freq=2437 MHz)
juil. 16 19:35:00 me kernel: wlo1: authenticate with XX:XX:XX:XX:XX
juil. 16 19:35:00 me kernel: wlo1: send auth to XX:XX:XX:XX:XX (try 1/3)
juil. 16 19:35:00 me kernel: wlo1: authenticated
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: Trying to associate with XX:XX:XX:XX:XX (SSID='TMNL-XXXXX' freq=2437 MHz)
juil. 16 19:35:00 me kernel: wlo1: associate with XX:XX:XX:XX:XX (try 1/3)
juil. 16 19:35:00 me wpa_supplicant[2933]: RRM: Ignoring radio measurement request: Not associated
juil. 16 19:35:00 me kernel: wlo1: RX AssocResp from XX:XX:XX:XX:XX (capab=0x1811 status=0 aid=1)
juil. 16 19:35:00 me kernel: wlo1: associated
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: Associated with XX:XX:XX:XX:XX
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: WPA: Key negotiation completed with XX:XX:XX:XX:XX [PTK=CCMP GTK=CCMP]
juil. 16 19:35:00 me wpa_supplicant[2933]: wlo1: CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:XX:XX completed [id=0 id_str=]
juil. 16 19:35:00 me kernel: wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by XX:XX:XX:XX:XX
juil. 16 19:35:00 me kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
juil. 16 19:35:01 me wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-47 noise=9999 txrate=1000
juil. 16 19:35:01 me avahi-daemon[2326]: Joining mDNS multicast group on interface wlo1.IPv6 with address fe80::7daa:a308:7ba8:7a8d.
juil. 16 19:35:01 me avahi-daemon[2326]: New relevant interface wlo1.IPv6 for mDNS.
juil. 16 19:35:01 me avahi-daemon[2326]: Registering new address record for fe80::7daa:a308:7ba8:7a8d on wlo1.*.
juil. 16 19:35:01 me wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=1000
juil. 16 19:35:01 me wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-47 noise=9999 txrate=300000
juil. 16 19:35:01 me avahi-daemon[2326]: Joining mDNS multicast group on interface wlo1.IPv4 with address 192.168.1.103.
juil. 16 19:35:01 me avahi-daemon[2326]: New relevant interface wlo1.IPv4 for mDNS.
juil. 16 19:35:01 me avahi-daemon[2326]: Registering new address record for 192.168.1.103 on wlo1.IPv4.
juil. 16 19:35:02 me nscd[320562]: 320562 monitored file `/etc/resolv.conf` was written to
juil. 16 19:35:02 me systemd[1]: Stopping Name Service Cache Daemon...
juil. 16 19:35:02 me avahi-daemon[2326]: Got SIGHUP, reloading.
juil. 16 19:35:02 me avahi-daemon[2326]: Failed to read /etc/avahi/services.
juil. 16 19:35:02 me systemd[1]: nscd.service: Deactivated successfully.
juil. 16 19:35:02 me systemd[1]: Stopped Name Service Cache Daemon.
juil. 16 19:35:02 me systemd[1]: Starting Name Service Cache Daemon...
[...]
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: WNM: Preferred List Available
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: SME: Trying to authenticate with YY:YY:YY:YY:YY:YY (SSID='TMNL-XXXXX' freq=5320 MHz)
juil. 16 19:35:26 bestos kernel: wlo1: disconnect from AP 08:26:97:54:b9:31 for new auth to YY:YY:YY:YY:YY:YY
juil. 16 19:35:26 bestos kernel: wlo1: authenticate with YY:YY:YY:YY:YY:YY
juil. 16 19:35:26 bestos kernel: wlo1: send auth to YY:YY:YY:YY:YY:YY (try 1/3)
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: Trying to associate with YY:YY:YY:YY:YY:YY (SSID='TMNL-XXXXX' freq=5320 MHz)
juil. 16 19:35:26 bestos kernel: wlo1: authenticated
juil. 16 19:35:26 bestos kernel: wlo1: associate with YY:YY:YY:YY:YY:YY (try 1/3)
juil. 16 19:35:26 bestos kernel: wlo1: RX ReassocResp from YY:YY:YY:YY:YY:YY (capab=0x1931 status=0 aid=4)
juil. 16 19:35:26 bestos kernel: wlo1: associated
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: Associated with YY:YY:YY:YY:YY:YY
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: WPA: Key negotiation completed with YY:YY:YY:YY:YY:YY [PTK=CCMP GTK=CCMP]
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-CONNECTED - Connection to YY:YY:YY:YY:YY:YY completed [id=0 id_str=]
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-52 noise=9999 txrate=866700
$ dmesg
[...]
[75163.268256] e1000e 0000:00:1f.6 eno2: NIC Link is Down
[75163.361617] wlo1: deauthenticating from YY:YY:YY:YY:YY:YY by local choice (Reason: 3=DEAUTH_LEAVING)
[75164.292364] PM: suspend entry (s2idle)
[75167.366280] Filesystems sync: 3.073 seconds
[75167.472136] Freezing user space processes ... (elapsed 0.004 seconds) done.
[75167.476994] OOM killer disabled.
[75167.476997] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[75167.478774] printk: Suspending console(s) (use no_console_suspend to debug)
[75167.521410] e1000e: EEE TX LPI TIMER: 00000011
[75167.521604] intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [40C], continue to suspend
[75167.814323] ACPI: EC: interrupt blocked
[84861.175306] ACPI: EC: interrupt unblocked
[84861.522196] ata1: SATA link down (SStatus 4 SControl 300)
[84861.715454] OOM killer enabled.
[84861.715458] Restarting tasks ... done.
[84861.724506] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[84861.848838] PM: suspend exit
[84862.097624] mmc0: cannot verify signal voltage switch
[84865.273312] wlo1: authenticate with XX:XX:XX:XX:XX
[84865.277307] wlo1: send auth to XX:XX:XX:XX:XX (try 1/3)
[84865.357673] wlo1: authenticated
[84865.359223] wlo1: associate with XX:XX:XX:XX:XX (try 1/3)
[84865.366324] wlo1: RX AssocResp from XX:XX:XX:XX:XX (capab=0x1811 status=0 aid=4)
[84865.393972] wlo1: associated
[84865.394618] wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by XX:XX:XX:XX:XX
[84865.546047] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[84893.182988] wlo1: disconnect from AP XX:XX:XX:XX:XX for new auth to YY:YY:YY:YY:YY:YY
[84893.223792] wlo1: authenticate with YY:YY:YY:YY:YY:YY
[84893.233310] wlo1: send auth to YY:YY:YY:YY:YY:YY (try 1/3)
[84893.273269] wlo1: authenticated
[84893.274247] wlo1: associate with YY:YY:YY:YY:YY:YY (try 1/3)
[84893.277461] wlo1: RX ReassocResp from YY:YY:YY:YY:YY:YY (capab=0x1931 status=0 aid=5)
[84893.279782] wlo1: associated
[85644.190759] kio_file.so[212217]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffffb273520 error 14 in kio_file.so[7f861c696000+9000]
[85644.190793] Code: Unable to access opcode bytes at RIP 0x9dac.
[85644.267067] kio_file.so[212220]: segfault at 9dd6 ip 0000000000009dd6 sp 00007fffbb4fa680 error 14 in kio_file.so[7f04d79e8000+9000]
[85644.267129] Code: Unable to access opcode bytes at RIP 0x9dac.
[85644.327964] kio_file.so[212223]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffd2ab44c50 error 14 in kio_file.so[7f0d8bc62000+9000]
[85644.327996] Code: Unable to access opcode bytes at RIP 0x9dac.
[85645.703837] kio_file.so[212365]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffda19c3990 error 14 in kio_file.so[7f60afc6b000+9000]
[85645.703870] Code: Unable to access opcode bytes at RIP 0x9dac.
[85645.795059] kio_file.so[212373]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffe6081c590 error 14 in kio_file.so[7f787358a000+9000]
[85645.795091] Code: Unable to access opcode bytes at RIP 0x9dac.
[85646.153270] kio_file.so[212500]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffc7cc4f5c0 error 14 in kio_file.so[7f5dfb45a000+9000]
[85646.153302] Code: Unable to access opcode bytes at RIP 0x9dac.
[85646.177202] kio_file.so[212502]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffcfe91d8d0 error 14 in kio_file.so[7f983e4b6000+9000]
[85646.177235] Code: Unable to access opcode bytes at RIP 0x9dac.
[85646.237502] kio_file.so[212508]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffe36b2f000 error 14 in kio_file.so[7f94b14d6000+9000]
[85646.237546] Code: Unable to access opcode bytes at RIP 0x9dac.
[87203.552924] kio_file.so[226296]: segfault at 9dd6 ip 0000000000009dd6 sp 00007fff0bb6e200 error 14 in kio_file.so[7f5b5f4b2000+9000]
[87203.552958] Code: Unable to access opcode bytes at RIP 0x9dac.
[87207.373304] ata1: SATA link down (SStatus 4 SControl 300)
[87207.853970] mmc0: cannot verify signal voltage switch
[88178.855710] kio_file.so[233290]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffdb6f9e5f0 error 14 in kio_file.so[7f905fc4f000+9000]
[88178.855746] Code: Unable to access opcode bytes at RIP 0x9dac.
[88971.292813] wlo1: Connection to AP YY:YY:YY:YY:YY:YY lost
[88972.452954] wlo1: authenticate with XX:XX:XX:XX:XX
[88972.457641] wlo1: send auth to XX:XX:XX:XX:XX (try 1/3)
[88972.515704] wlo1: authenticated
[88972.516536] wlo1: associate with XX:XX:XX:XX:XX (try 1/3)
[88972.535613] wlo1: RX AssocResp from XX:XX:XX:XX:XX (capab=0x1811 status=0 aid=1)
[88972.588594] wlo1: associated
[88972.589189] wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by XX:XX:XX:XX:XX
[88985.820031] wlo1: disconnect from AP XX:XX:XX:XX:XX for new auth to YY:YY:YY:YY:YY:YY
[88985.853156] wlo1: authenticate with YY:YY:YY:YY:YY:YY
[88985.857673] wlo1: send auth to YY:YY:YY:YY:YY:YY (try 1/3)
[88985.897697] wlo1: authenticated
[88985.898317] wlo1: associate with YY:YY:YY:YY:YY:YY (try 1/3)
[88985.901845] wlo1: RX ReassocResp from YY:YY:YY:YY:YY:YY (capab=0x1931 status=0 aid=5)
[88985.904816] wlo1: associated
[93588.116168] wlo1: Connection to AP YY:YY:YY:YY:YY:YY lost
[93591.654810] wlo1: authenticate with XX:XX:XX:XX:XX
[93591.662042] wlo1: send auth to XX:XX:XX:XX:XX (try 1/3)
[93591.737139] wlo1: authenticated
[93591.737471] wlo1: associate with XX:XX:XX:XX:XX (try 1/3)
[93591.751915] wlo1: RX AssocResp from XX:XX:XX:XX:XX (capab=0x1811 status=0 aid=3)
[93591.809784] wlo1: associated
[93591.810100] wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by XX:XX:XX:XX:XX
[95201.808512] wlo1: disconnect from AP XX:XX:XX:XX:XX for new auth to YY:YY:YY:YY:YY:YY
[95201.847343] wlo1: authenticate with YY:YY:YY:YY:YY:YY
[95201.852084] wlo1: send auth to YY:YY:YY:YY:YY:YY (try 1/3)
[95201.891955] wlo1: authenticated
[95201.892792] wlo1: associate with YY:YY:YY:YY:YY:YY (try 1/3)
[95201.895895] wlo1: RX ReassocResp from YY:YY:YY:YY:YY:YY (capab=0x1931 status=0 aid=3)
[95201.898679] wlo1: associated
[99826.829388] kio_file.so[317476]: segfault at 9dd6 ip 0000000000009dd6 sp 00007fffbdf18860 error 14 in kio_file.so[7fab6f2e7000+9000]
[99826.829402] Code: Unable to access opcode bytes at RIP 0x9dac.
[99927.893060] kio_file.so[318258]: segfault at 9dd6 ip 0000000000009dd6 sp 00007ffd39beabe0 error 14 in kio_file.so[7f4aa8839000+9000]
[99927.893088] Code: Unable to access opcode bytes at RIP 0x9dac.
[100223.140691] e1000e 0000:00:1f.6 eno2: NIC Link is Down
[100223.223514] wlo1: deauthenticating from YY:YY:YY:YY:YY:YY by local choice (Reason: 3=DEAUTH_LEAVING)
[100224.877133] PM: suspend entry (s2idle)
[100225.273113] Filesystems sync: 0.395 seconds
[100225.377138] Freezing user space processes ... (elapsed 0.004 seconds) done.
[100225.381964] OOM killer disabled.
[100225.381965] Freezing remaining freezable tasks ... (elapsed 0.016 seconds) done.
[100225.398729] printk: Suspending console(s) (use no_console_suspend to debug)
[100225.402910] e1000e: EEE TX LPI TIMER: 00000011
[100225.403302] intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [50C], continue to suspend
[100225.712683] ACPI: EC: interrupt blocked
[105465.198426] ACPI: EC: interrupt unblocked
[105465.567672] ata1: SATA link down (SStatus 4 SControl 300)
[105465.742632] OOM killer enabled.
[105465.742635] Restarting tasks ...
[105465.746020] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[105465.748821] done.
[105465.884713] PM: suspend exit
[105466.120846] mmc0: cannot verify signal voltage switch
[105469.353454] wlo1: authenticate with XX:XX:XX:XX:XX
[105469.356106] wlo1: send auth to XX:XX:XX:XX:XX (try 1/3)
[105469.445995] wlo1: authenticated
[105469.447582] wlo1: associate with XX:XX:XX:XX:XX (try 1/3)
[105469.457355] wlo1: RX AssocResp from XX:XX:XX:XX:XX (capab=0x1811 status=0 aid=1)
[105469.460320] wlo1: associated
[105469.651344] wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by XX:XX:XX:XX:XX
[105469.651399] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[105494.771838] wlo1: disconnect from AP XX:XX:XX:XX:XX for new auth to YY:YY:YY:YY:YY:YY
[105494.797834] wlo1: authenticate with YY:YY:YY:YY:YY:YY
[105494.801879] wlo1: send auth to YY:YY:YY:YY:YY:YY (try 1/3)
[105494.843649] wlo1: authenticated
[105494.845329] wlo1: associate with YY:YY:YY:YY:YY:YY (try 1/3)
[105494.848598] wlo1: RX ReassocResp from YY:YY:YY:YY:YY:YY (capab=0x1931 status=0 aid=4)
[105494.851004] wlo1: associated
$ systemctl status wpa_supplicant.service
● wpa_supplicant.service - WPA supplicant
Loaded: loaded (/etc/systemd/system/wpa_supplicant.service; linked; vendor preset: enabled)
Active: active (running) since Fri 2022-07-15 14:17:45 CEST; 1 day 5h ago
Main PID: 2933 (wpa_supplicant)
IP: 0B in, 0B out
IO: 0B read, 0B written
Tasks: 1 (limit: 18958)
Memory: 3.1M
CPU: 28.712s
CGroup: /system.slice/wpa_supplicant.service
└─2933 /nix/store/c6ylr22mswvxww61rz98jw3pf7az3q39-wpa_supplicant-2.10/sbin/wpa_supplicant -u
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: WNM: Preferred List Available
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: SME: Trying to authenticate with YY:YY:YY:YY:YY:YY (SSID='TMNL-XXXXX' freq=5320 MHz)
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: Trying to associate with YY:YY:YY:YY:YY:YY (SSID='TMNL-XXXXX' freq=5320 MHz)
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: Associated with YY:YY:YY:YY:YY:YY
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: WPA: Key negotiation completed with YY:YY:YY:YY:YY:YY [PTK=CCMP GTK=CCMP]
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-CONNECTED - Connection to YY:YY:YY:YY:YY:YY completed [id=0 id_str=]
juil. 16 19:35:26 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-52 noise=9999 txrate=866700
juil. 16 19:36:54 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-57 noise=9999 txrate=780000
juil. 16 19:43:31 bestos wpa_supplicant[2933]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-54 noise=9999 txrate=866700
编辑
我还尝试启动另一个系统(xubuntu 20.04),它同样很慢,所以我想这并不是我自己的配置所特有的东西(我正在运行 NixOs 不稳定)。另一方面,如果我连接到配置为热点的手机,速度很快,所以问题似乎不是我的硬件......此外,我在以太网上遇到了类似的慢速互联网(在我的工作中)。
另请注意,我预计 ping 在速度超慢时会丢失许多数据包,但实际上它不会丢弃任何数据包……每个数据包都相当快地获得(显然是 10 毫秒),但随后它会等待 5 秒才能发送下一个数据包(而不是 1 秒):
(注意这个例子中第一行是直接出现的(可能是被缓存了),有时也需要几秒钟才出现)
有些人问我关于我的resolve.conf
,所以这是我使用以太网时工作中的一个(我8.8.8.8
通过网络管理器添加作为 DNS 服务器以尝试提高速度,但似乎并没有更好),我也可以发送今天晚些时候在家:
$ cat /etc/resolv.conf
# Generated by resolvconf
search wlan.MYLAB.nl
nameserver 8.8.8.8
nameserver 192.168.1.1
options edns0
答案1
你也许可以从你的 Wifi 卡上获取信息,ethtool -i DEV_NAME
对我来说是这样ethtool -i wlan0
。您还可以运行man ethtool
查看所有其他选项,例如驱动程序、测试等等。它基本上允许您选择/设置下面的所有选项高级无线选项,那么特性如果您使用的是 Windows,则查看您的 wifi 卡。