Skip to content

Installing Speedtest Mod

itsmesid edited this page Jul 25, 2020 · 37 revisions

Install Speedtest CLI

Install Speedtest CLI

Start with installing required packages on your Raspberry Pi / Linux

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

Restart Pi###

sudo reboot

You can try run it using

speedtest-cli -h

If Everything is ok, proceed to next step

Backup original admin folder

sudo su
cd /var/www/html
mv admin org_admin
git clone https://github.com/arevindh/AdminLTE admin

Get latest webscripts file

cd /opt/pihole/
mv webpage.sh webpage.sh.org
wget https://github.com/arevindh/pi-hole/raw/master/advanced/Scripts/webpage.sh

Test Pihole speedtest from commandline

sudo pihole -a -sn

Done

Instructions

Clone this wiki locally