rt-n56u
rt-n56u copied to clipboard
RM2100 web page problem
The manage web page will respond very slowly on mobile device browsers ( Only tested on iOS devices ) and works fine on a wireless connected laptop. I located the bug through iperf3 test:
Test firmware version: Latest action workflow after commit c41551f
AP mode, Padavan IP address: 192.168.1.253
iOS device 192.168.1.219 ( First one )
Windows PC 192.168.1.141 ( Last one )
Client: iperf3 -c 192.168.1.253 -t 10
BusyBox v1.24.2 (2021-05-21 11:13:36 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
____ __
/ __ \____ _____/ /___ __ ______ _____
/ /_/ / __ `/ __ / __ `/ | / / __ `/ __ \
/ ____/ /_/ / /_/ / /_/ /| |/ / /_/ / / / /
/_/ \__,_/\__,_/\__,_/ |___/\__,_/_/ /_/
Version: 3.4.3.9-099_c41551f
Velop:/home/root # iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.219, port 56109
[ 5] local 192.168.1.253 port 5201 connected to 192.168.1.219 port 56110
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 63.6 KBytes 521 Kbits/sec 0 14.1 KBytes
[ 5] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
[ 5] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 14.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.01 sec 63.6 KBytes 52.1 Kbits/sec 0 sender
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.141, port 60433
[ 5] local 192.168.1.253 port 5201 connected to 192.168.1.141 port 60434
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 19.5 MBytes 164 Mbits/sec
[ 5] 1.00-2.00 sec 21.9 MBytes 183 Mbits/sec
[ 5] 2.00-3.00 sec 20.6 MBytes 173 Mbits/sec
[ 5] 3.00-4.00 sec 21.1 MBytes 177 Mbits/sec
[ 5] 4.00-5.00 sec 21.2 MBytes 178 Mbits/sec
[ 5] 5.00-6.00 sec 21.1 MBytes 177 Mbits/sec
[ 5] 6.00-7.00 sec 21.3 MBytes 179 Mbits/sec
[ 5] 7.00-8.00 sec 21.4 MBytes 179 Mbits/sec
[ 5] 8.00-9.00 sec 21.4 MBytes 180 Mbits/sec
[ 5] 9.00-10.00 sec 21.2 MBytes 178 Mbits/sec
[ 5] 10.00-10.01 sec 229 KBytes 221 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.01 sec 211 MBytes 177 Mbits/sec receiver
Almost no connection between iOS device and rm2100, but iOS to the network gate and other devices in this subnet works normally. This problem appeared a few month ago.
Gratitude~
I have the same problem - slow web pages on iphone and ipad - on other devices(xiaomi mini, newifi d2). On android and windows everything work fine
Same issue with usage xiaomi mini and newifi d2. :( Reproduced on macOS and iPadOS/iOS from Safari and Google Chrome
hi, I don't have any iOS devices so can not debug this problem.
But recently I am developing padavan with linux kernel 4.4, so soon you can try the new firmware.
many cases, look at here 🤒️
update at 20210801:
After capturing the packet, I found that there were many retransmissions of TCP handshakes on macOS. In addition, the TCP options length of the macOS handshake is 24 bytes, while Windows is 20 bytes.
However, the above is for HTTP only, SSH's TCP handshake is normal. 😢
update at 20210801:
After capturing the packet, I found that there were many retransmissions of TCP handshakes on macOS. In addition, the TCP options length of the macOS handshake is 24 bytes, while Windows is 20 bytes.
However, the above is for HTTP only, SSH's TCP handshake is normal. 😢
Thank you very much for your test, hope k4.4 will come out ASAP
hi, I don't have any iOS devices so can not debug this problem.
But recently I am developing padavan with linux kernel 4.4, so soon you can try the new firmware.
wete is new linux kernel 4.4 ? how ready is he?
Good news, looks like hanwckf found the problem: https://github.com/hanwckf/padavan-4.4/commit/ed67df5b8ff58d7cc7deb0dc1a878ef596e4fb17
Also, by using the keyword tcp_tw_recycle
, I found a similar case.
By the way, I'm looking forward to 4.4 😄