Open lealog opened 3 years ago
It seems that for Speedtest 1, the wiperf is checking the route:
2021-03-21 01:01:58,875 - Probe_Log - INFO - Checked interface route to : 142.250.184.174. Result: 142.250.184.174 via 192.168.1.1 dev wlan0 src 192.168.1.73 uid 0 2021-03-21 01:01:58,901 - Probe_Log - INFO - Checked interface route to : 142.250.184.174. Result: 142.250.184.174 via 192.168.1.1 dev wlan0 src 192.168.1.73 uid 0
But for Speedtest 2 will not verify.
This issue is also related with #18.
I'm not sure I totally understand this issue. "If the librespeed test is not using wlan0, the test will be executed via eth0. This is not the expected behaviour." I'm not sure why librespeed would not use wlan0, as all traffic should be forced out of wlan0 as the default route due to the metric added to eth0.
Each speedtest, regardless of whether ookla or librespeed is subject to a check to ensure that the route to the "WAN" (Internet) is still via wlan0.
This may be cleared up once we fix issue #18
Reviewing supplied logs, it appears that the route check is being completed, but it is not obvious that it is for the second speedtest:
The red arrow shows where the second speedtest test cycle actually starts. Added additional logging message to clearly indicate start of testing cycle. Fix pushed to dev branch of GitHub repo - available on next install of dev branch.
During the V3 tests I realize that the wiperf is not checking if the interface route is the right.
I have configured two speedtest servers:
The librespeed server (192.168.1.228) is on the same eth0 and WLAN0 subnet (192.168.1.0/24)
Logs:
If the librespeed test is not using wlan0, the test will be executed via eth0. This is not the expected behaviour.