Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The WiFiMon Hardware Probe (WHP) performs performance tests towards the WiFiMon Test Server (WTS) in an automated manner. It uses crontab to schedule the tests. To do that, open the terminal (as user "pi") and enter the command: crontab -e. You will have to pick the text editor that you prefer. Then scroll to the bottom of the file and add the following code block (which you will modify as explained below):

00,10,20,30,40,50 * * * * Xvfb :100 &
02,12,22,32,42,52 * * * *  export DISPLAY=:100 && firefox-esr --new-tab URL_TO_nettest.html /usr/local/bin/nettest.sh >/dev/null 2>&1
04,14,24,34,44,54 * * * *  
export DISPLAY=:100 && firefox-esr --new-tab URL_TO_speedworker.html /usr/local/bin/boomerang.sh >/dev/null 2>&1
06,16,26,36,46,56 * * * *  
export DISPLAY=:100 && firefox-esr --new-tab URL_TO_boomerang.html /usr/local/bin/speedtest.sh >/dev/null 2>&1
59 * * * * sudo killall firefox-esr

...

You have to modify the following parts of the crontab in lines 2-4:

...

appropriate lines within nettest.sh, boomerang.sh and speedtest.sh scripts to point to the testpages URL.

You should put the URL or IP address of the WTS in which the NetTest, LibreSpeed Speedtest and Akamai Boomerang JS scripts are injected. Details about the configuration of the WiFiMon testtools are included in the WiFiMon Test Server (WTS) installation documentation. Following the assumptions/notations of the WTS guide, examples of the URLs for NetTest, speedtest and boomerang respectively are (i) https://WTS_FQDN/wifimon/measurements/nettest.html, (ii) https://WTS_FQDN/wifimon/measurements/speedworker.html and (iii) https://WTS_FQDN/wifimon/measurements/boomerang.html.

...