This is a package, not a repository.
You can download a package and unpack it. Depending on the package you should be able to execute/install the skript/binary/program/whatever.
You can add a repository to your customfeeds.conf, so opkg can load it and resolve dependencies automatic …
In this case you won’t need a repository, because ‘speedtest-cli’ from ookla does not have dependencies, it is a static linked executable file.
I doubt ‘both’ solutions are providing the same error, except you’re set two downloadable files in the .conf. What is ‘the other error’?
Ah, okay. The second is the second line … Nearly the same. It won’t be installed via opkg, you’ll need to unpack and execute it by yourself.
Download, open and extract the .TGZ file into a folder. There will be a speedtest.md file that is like a README to explain how to use the utility and all its options.
I do not work for and I do not have formal association with GL.iNet
My delima is I need to be able to do it remotely. as I don’t have a pc on the router to remote into in order to do one! It only will be 4G access for right now anyway, and I’m sure the router will show at least some connection stats.
It is very hard to guess what are you doing.
From your screenshot we can see there is a directory /speedtest/ in the directory /mnt/ … But why? Did you created it with mkdir -p /mnt/speedtest?
Since the command ls is showing nothing, there is no binary to execute … It don’t look like you’ve extracted the downloaded file. I can’t say, from the given information, if you have downloaded the file or extracted it…
Download the file on your computer
Extract it on your computer to a new directory
Copy the extracted directory to your router
Login to your router
Go to the file where you’ve copied the files
Search the file ‘speedtest’
Execute it…
And please give any command you are using, it is a lot more easy to understand.
ookla-speedtest-1.1.1-linux-armel.tgz was the file I downloaded days ago…
I extracted the files to the computer. below is ss of it. I deleted the original transfer out and I put it in the root directory this time.
root@GL-SFT1200:/# cd root
root@GL-SFT1200:~# ls
speedtest surfshark-wireguard
root@GL-SFT1200:~# cd speedtest
root@GL-SFT1200:~/speedtest# ls
speedtest speedtest.5 speedtest.md
root@GL-SFT1200:~/speedtest# speedtest
-ash: speedtest: not found
root@GL-SFT1200:~/speedtest#
Same error messages as before.
The only additional plugins I’ve added since turning it on was upnp.
I have no access to my Beryl, right now. Else I would have test ist myself, before recommending.
Explaination:
If you type any command in a linux shell, the filename will be searched in the directories, mentioned in the $PATH variable … echo $PATH should give something like:
/usr/local/bin:/usr/bin:/bin
but as /root/ is not in $PATH, the command cannot be found. So you’ll tell the shell with ./ ‘execute this file here, from this path.’
And in addition the root directory is /. The path /root will be called ‘home directory of the root user’. A little unlucky, that the path root and the user root is the same word, but isn’t the same meaning.
I’m out.
I have absolutely no idea what happening. I would expect this message while loading a shellscript, but not from a binary.
When you open the file in an editor on your computer, it should be some cont of jibberisch (unreadable) lines. Maybe it has the wrong line terminator, but this depends on the extracting process.
If you download the ookla-speedtest-1.1.1-linux-armel.tgz file directly into a folder on the router, then you extract and run the program there:
tar -zxvf ookla-speedtest-1.1.1-linux-armel.tgz
If you download the file and extract it on Windows, then copy the files to the router, then you have to set the Unix Execute permission to run the program:
So, today I’m at home and have a little time with my beryl (should be the same architecture as Opal … But since we’re installing via OpenWRT package manager, this should not be important).
Open the Luci webfonend: Login on the GL.iNet Frontend - On the left hand menu go to 'More settings - Advanced'
If there is no Link, click on the Button (Install), else click on the link.
Login at the Luci frontend. User ‘admin’, use the previous password.
On the Top Menu go to System - Software and on the first search field search for netperf
Behind speedtest-netperf click on the button Install
READ the dialogs!
At the end close the dialog with ‘Dismiss’ down right.
Now login via ssh and type speedtest-netperf.sh → a lot of information.
Since you have now also netperf installed, you can try other scripts. Like betterspeedtest.shLink or write a whole own script with defined/desired output.
I just now have seen this message. Just pulled my opal back out to try what you said though.
Weird… I got netperf installed. the speedtest-netperf gives
root@GL-SFT1200:/etc/speedtest# ./speedtest-netperf.sh
2023-02-14 18:18:07 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, 1 pings, 0.00% packet loss]
Min: 58.838
10pct: 0.000
Median: 0.000
Avg: 58.838
90pct: 0.000
Max: 58.838
CPU Load: [in % busy (avg +/- std dev), 0 samples]
Overhead: [in % used of total CPU available]
netperf: 0.0
.
WARNING: netperf returned errors. Results may be inaccurate!
Upload: 0.00 Mbps
Latency: [in msec, 1 pings, 0.00% packet loss]
Min: 126.649
10pct: 0.000
Median: 0.000
Avg: 126.649
90pct: 0.000
Max: 126.649
CPU Load: [in % busy (avg +/- std dev), 0 samples]
Overhead: [in % used of total CPU available]
netperf: 0.0
I downloaded betterspeedtest.sh and ran it, even adding a high -t (seconds) didn’t do nothing it seems… When I tried, it immediately gives a finished test result, even though I added more time and more connections…