Speedtest client error when I try to execute

Hi all
I have this router

I got the file for the installation for this link

wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-aarch64.tgz

tar zxvf ookla-speedtest-1.2.0-linux-aarch64.tgz

ls -l
ll

./speedtest

why did I get this error?? How to fix it

./speedtest: line 1: syntax error: unterminated quoted string

You can use speedtest-netperf, likely ookla script is for bash not busybox.

Your device has a dual-core 32-bit Cortex-A9 processor with ARMv7 architecture, so you should try another prebuilt binary.

wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-armhf.tgz
2 Likes

why are you DLing the package from speedtest, when it's available in the openwrt repo ...?

3 Likes

Thanks for your replay. Look is not working

root@OpenWrt:~# /usr/bin/speedtest-netperf.sh
2024-08-13 14:17:12 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
................................................................................                       ..................................................
WARNING: netperf returned errors. Results may be inaccurate!

 Download:   0.00 Mbps
  Latency: [in msec, 131 pings, 0.00% packet loss]
      Min:  12.033
    10pct:  12.158
   Median:  12.311
      Avg:  12.316
    90pct:  12.456
      Max:  12.614
 CPU Load: [in % busy (avg +/- std dev), 128 samples]
     cpu0:   0.9 +/-  0.9
     cpu1:   0.5 +/-  0.9
 Overhead: [in % used of total CPU available]
  netperf:   0.6
................................................................................                       .....................................................
WARNING: netperf returned errors. Results may be inaccurate!

   Upload:   0.00 Mbps
  Latency: [in msec, 133 pings, 0.00% packet loss]
      Min:  11.900
    10pct:  12.187
   Median:  12.357
      Avg:  12.354
    90pct:  12.493
      Max:  12.742
 CPU Load: [in % busy (avg +/- std dev), 131 samples]
     cpu0:   0.8 +/-  0.7
     cpu1:   0.5 +/-  1.1
 Overhead: [in % used of total CPU available]
  netperf:   0.6
root@OpenWrt:~#

Thanks for your replay. Look I got this error

root@OpenWrt:~# wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-armhf.tgz
Downloading 'https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-armhf.tgz'
Connecting to 151.101.218.219:443
Writing to 'ookla-speedtest-1.2.0-linux-armhf.tgz'
ookla-speedtest-1.2. 100% |*******************************|  1014k  0:00:00 ETA
Download completed (1039260 bytes)
root@OpenWrt:~# tar zxvf ookla-speedtest-1.2.0-linux-armhf.tgz
speedtest
speedtest.md
speedtest.5
root@OpenWrt:~# ./speedtest
Illegal instruction
root@OpenWrt:~#

Sorry Sir :fearful:

sddefault

you mean this speedtest-netperf??

1 Like

Wrong CPU architecture binary.

... which wouldn't had been an issue, if you would have used the package from the repo.

I use this and as you can see i had a problem. Is not working

So? How should I fix it?

you're asking us why a 3rd party application doesn't work on openwrt ?
shouldn't you be directing the question towards the people who provided you with it ?

start by using

3 Likes