下载文件时 Wifi 断开连接

下载文件时 Wifi 断开连接

我遇到了一个问题——通过 WiFi 下载文件时,中途 WiFi 断开连接,并收到以下消息:

RTL871X: rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 507
[sched_delayed] sched: RT throttling activated

以下是日志

#iwconfig wlan0 essid "Test"  
RTL871X: nolinked power save leave        
RTL871X: set ssid [Test] fw_state=0x00000008  
#  
# RTL871X: start auth RTL871X: auth success, start assoc RTL871X: indicate disassoc


# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B 
rfkill: Cannot open RFKILL control device RTL871X: nolinked power save leave
RTL871X: set bssid:00:00:00:00:00:00 ioctl[SIOCSIWAP]: Operation not
permitted1X: set ssid [g�isQ�J�)ͺ����F|�T���vZ.c3�ɚ]
fw_state=0x00000008

RTL871X: indicate disassoc RTL871X: set ssid [Test] fw_state=0x00000008 RTL871X: set bssid:84:c9:b2:2a:97:92 RTL871X:
start auth RTL871X: auth success, start assoc RTL871X: assoc success
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready RTL871X:
send eapol packet RTL871X: send eapol packet RTL871X: set pairwise
key camid:4, addr:84:c9:b2:2a:97:92, kid:0, type:TKIP RTL871X: set
group key camid:5, addr:84:c9:b2:2a:97:92, kid:2, type:TKIP

 # udhcpc -i wlan0 udhcpc (v1.20.2) started Sending discover... Sending discover... Sending discover...

Sending discover... Sending discover... Sending select for
192.168.0.107... Lease of 192.168.0.107 obtained, lease time 86400 deleting routers route: SIOCDELRT: No such process adding dns
192.168.0.1
# 
# 
# 
# ping 8.8.8.8 
PING 8.8.8.8 (8.8.8.8): 56 data bytes 
64 bytes from 8.8.8.8: seq=0 ttl=56 time=24.468 ms 
64 bytes from 8.8.8.8: seq=1 ttl=56 time=174.437 ms

--- 8.8.8.8 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max =
24.468/99.452/174.437 ms

# curl ftp://ftp.gnu.org/gnu/gcc/gcc-1.42.tar.gz -k >2MB_19071   
% Total  % Received % Xferd  Average Speed  Time  Time   Time  current
                              Dload  Upload Total Spent  Left    Speed  
19 1817k 19  346k    0     0   8197    0   0:03:46 0:00:43 0:03:03  0        
RTL871X: rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 507
[sched_delayed] sched: RT throttling activated
19 1817k 19  346k    0     0   7497    0  0:04:08 0:00:47 0:03:21   0  
19 1817k 19  346k    0     0   7340    0  0:04:13 0:00:48 0:03:25   0

从这里下载停止。正在运行的进程

#ps   
661 root     [RTW_XMIT_THREAD]   
662 root     [RTW_CMD_THREAD]   
663 root     [RTWHALXT-wlan0]   
673 root     wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B   
682 root     udhcpc -i wlan0   
685 root     ps

这里什么是 RT 节流?发生了什么事,我该如何解决?如果您需要任何其他信息,请发表评论,我会分享。

答案1

实时节流意味着有实时任务正在消耗大量网络带宽。在某些时候,系统会降低连接速度以保持系统正常运行。在这种情况下,罪魁祸首可能是您用来传输文件的应用程序。可能只需要在偏好设置中进行一些调整。

这可能是您断开 WiFi 连接的原因。

您的第二个问题关于如何连接和断开 wifi,知识库中已经有很多非常好的答案。

相关内容