arevindh / AdminLTE

Pi-hole Dashboard for stats and more
https://pi-hole.net
Other
16 stars 14 forks source link

Upgrade speedtest-official.sh to Speedtest V2.0.2 #68

Closed MrDrache333 closed 1 year ago

MrDrache333 commented 1 year ago

Compatibility to Speedtest-Cli 2.0.2 Speedtest 2.0.2 doesn't allow Parameters like --accept-gdpr --accept-license -f json-pretty. Now we need to use --json for Json output and --share to generate the Speedtest-Url.

Also the output json changed.

arevindh commented 1 year ago

@MrDrache333 Will it work on the old version?

MrDrache333 commented 1 year ago

@arevindh Now yes.

ipitio commented 1 year ago

My speedtest version is 2.1.1 and I get this error: /usr/bin/speedtest: Unrecognized option: --json

The old script worked fine.

MrDrache333 commented 1 year ago

Nvm. That was for the "old" speedtest-cli and not for the "new" speedtest by ookla. So a update is not necessary using the installation method described in the speedtest repository.