LeonStraathof / pfsense-speedtest-widget

GNU General Public License v3.0
41 stars 5 forks source link

Installing the widget #3

Closed chrisalibby closed 4 days ago

chrisalibby commented 2 months ago

Unless I missed something, the README does not explain how to download the widget prior to moving the file:

curl -o /tmp/speedtest.widget.php https://raw.githubusercontent.com/LeonStraathof/pfsense-speedtest-widget/main/speedtest.widget.php

erssonleo99 commented 1 month ago

Hi!

First you need to download the speedtest CLI

Copy: env ABI=FreeBSD:13:x86:64 pkg add "https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-freebsd13-x86_64.pkg"

then you need to accept: Copy: speedtest --accept-license

Accept again Copy: speedtest --accept-gdpr

You download the code: Bild2

Then upload the "speedtest .widget.php"

Then you run the command: mv -f /tmp/speedtest.widget.php /usr/local/www/widgets/widgets/

After you upload the PHP