arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
215 stars 22 forks source link

cant switch to CLI mode #80

Closed flipptx closed 3 years ago

flipptx commented 3 years ago

been running the python version for all this time, updated yesterday saw the test hasn't ran since, so figured i should update to the CLI version but i cant seem to get it to work. do you have a nice BASH script to remove the python version and swap over to the new CLI version?

arevindh commented 3 years ago

No scripts currently .

Try any of the below

sudo pip3 uninstall speedtest-cli

OR

sudo pip uninstall speedtest-cli

OR

sudo apt-get remove speedtest-cli

Installs https://www.speedtest.net/apps/cli

flipptx commented 3 years ago

which option for raspbian

arevindh commented 3 years ago

Try everything ..

flipptx commented 3 years ago

it seems to install but when i type speedtest in terminal "-bash: /usr/local/bin/speedtest: No such file or directory" guessing this is why i get nothing in pihole.

flipptx commented 3 years ago

got it, looks like its a bug with ssh sessions!

arevindh commented 3 years ago

Did this one ? Install https://www.speedtest.net/apps/cli

Ps. use the debian/ ubuntu option

flipptx commented 3 years ago

yep the debian one works in terminal have i had to clear my SSH Sessions, but the results from term don't seem show in pihole, ill have to wait a few hours for it to auto run then i guess? (not sure if its possible but it would be great if there was a "test now option" in the GUI

arevindh commented 3 years ago

Did you set the Test interval ?

Test now using . sudo /var/www/html/admin/scripts/pi-hole/speedtest/speedtest-official.sh

I am making a standalone version with more features .

flipptx commented 3 years ago

its working now, thanks