-
-
Notifications
You must be signed in to change notification settings - Fork 22
Installing Speedtest Mod
itsmesid edited this page Oct 2, 2020
·
37 revisions
sudo apt install python-pip # not required for official CLI
sudo pip install speedtest-cli # not required for official CLI
sudo apt install sqlite3
sudo apt install jq -y
Configure correct timezone for graph *Need for graph to work correctly
sudo dpkg-reconfigure tzdata
Select your timezone
Find php version
php -v
if it is 5.x
sudo apt install php5-sqlite
if it is 7.x
sudo apt install php7.x-sqlite // change `x` to your version # if failed try php7.x-sqlite3
Restart Pi###
sudo reboot
You can try run it using
speedtest-cli -h
If Everything is ok, proceed to next step
sudo su
cd /var/www/html
mv admin org_admin
git clone https://github.com/arevindh/AdminLTE admin
cd /opt/pihole/
mv webpage.sh webpage.sh.org
wget https://github.com/arevindh/pi-hole/raw/master/advanced/Scripts/webpage.sh
Set speedtest schedule and Display range Tick Flush speedtest history (for the first time only) Set speedtest mode to Official CLI
Get your server id from here https://c.speedtest.net/speedtest-servers-static.php #56
sudo "/var/www/html/admin/scripts/pi-hole/speedtest/speedtest-official.sh"
-
-u, --update, up
also update Pi-hole -
-r, --reinstall
keep current version of the mod, if installed -
-t, --testing
install the beta version of the mod
-
-n, --uninstall, un
purge the mod, keeping the speedtest package, logs, and database -
-b, --backup
backup Pi-hole for faster offline restore -
-o, --online
force online restore of Pi-hole
-
-d, --database, db
flush/restore the database if it's not/empty -
-s, --speedtest[=<sivel|libre>]
install Ookla's or the specified CLI even if another is already installed -
-x, --verbose
show the commands being run -
-v, --version
display the version of the mod and exit -
-h, --help
display this help message and exit