Script: OpenSpeedTest Installer for NGINX on GL.iNet Routers

:satellite_antenna: Easily deploy OpenSpeedTest with NGINX on OpenWRT-based routers (GL.iNet, etc.)

Features

:package: Installs and configures NGINX to run OpenSpeedTest
:wrench: Custom NGINX configuration that avoids conflicts with the GL.iNet web UI
:file_folder: Installs to /www2, with automatic detection of available storage space
:link: Supports symlinking to external drives (e.g. SD cards or USB) if internal space is insufficient
:repeat_button: Creates startup and kill scripts for boot-time operation
:broom: Clean uninstall that removes configs, startup scripts, and any symlinked orage
:stethoscope: Includes diagnostics to verify NGINX is running and reachable
:technologist: Interactive CLI with confirmations and safe prompts
:free_button: Licensed under GPLv3
:test_tube: Tested on GL-BE3600, GL-MT3000, and GL-MT1300 (with SD card) routers

Visit my GitHub page for more details

4 Likes

Really cool script :wink:

I created an issue on GitHub already - guess it's an easy fix :slight_smile:

I changed the default port to 8888. Hopefully that doesn't conflict with anything :slight_smile:

1 Like

I'm a little old school. What's the benefit of this over running iperf3 --daemon --server --format m --port 5201 --pidfile /var/run/iperf3.pid &? Does it support a responsive web design for mobile/tablets?

Yep, openspeedtest supports responsive web page.

2 Likes