I’m new to using the GL-iNet devices and so far just on a travel router but LOVE IT! Looking at switching from my Google Wifi to a mesh system from GL-iNet.
One thing I’m trying to figure out is whether there’s a way to perform a speed test from the Router? Is there a plugin that supports this I could use?
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: