-
-
Notifications
You must be signed in to change notification settings - Fork 22
Installing Speedtest Mod
sudo pip3 uninstall speedtest-cli
OR
sudo pip uninstall speedtest-cli
OR
sudo apt-get remove speedtest-cli
The official test methord will only work after you have removed Python CLI and installed Install Speedtest CLI
Please follow the following guide
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
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
cp /var/www/html/admin/scripts/pi-hole/speedtest/speedtest.db /etc/pihole/
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 (Thanks to Afraidium)
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