librespeed / speedtest-cli

Command line client for LibreSpeed
GNU Lesser General Public License v3.0
509 stars 63 forks source link

[RFE] OpenWrt? #18

Closed atrent closed 3 years ago

atrent commented 3 years ago

Would it be possible to cross compile it for OpenWrt?

maddie commented 3 years ago

Yes, just download the appropriate binary from the releases page.

atrent commented 3 years ago

Can you elaborate better? I cannot find an openwrt binary on the release page and I'm dubious (that's why I asked) about a cross compilation. Thank you

maddie commented 3 years ago

You can see the file names are like this:

librespeed-cli_1.0.7_linux_armv7.tar.gz

1.0.7 is the version. linux is the OS. armv7 is the architecture.

You need to download the corresponding OS/arch binary to use on your router.

atrent commented 3 years ago

thanks, it (almost) works:

# ./librespeed-cli 
Retrieving server list from https://librespeed.org/backend-servers/servers.php
Retry with /.well-known/librespeed
Error when fetching server list: Get "https://librespeed.org/backend-servers/servers.php/.well-known/librespeed": x509: certificate signed by unknown authority
Terminated due to error

but I think it could be a problem on the website, not on libraries in my router

maddie commented 3 years ago

Install ca-certificates with opkg.

atrent commented 3 years ago

now it works, thanks again

varac commented 2 years ago

I just opened #44 for openwrt MIPS support

paper42 commented 1 year ago

librespeed-cli is now available in OpenWrt 21.02 and newer versions with opkg