_____ _ _ _ _ _
/ ____| | (_) \\ | | | |
| | __| | ______ _| \\| | ___| |_
| | |_ | | |______| | . \` |/ _ \\ __|
| |__| | |____ | | |\\ | __/ |_
\\_____|______| |_|_| \\_|\\___|\\__|
GL.iNet Utilities Toolkit
🛠️ A growing collection of practical utilities for managing and tuning GL.iNet routers via a single interactive script.
- 🖥️ Deep Hardware Insights – Total visibility into your CPU, RAM, and storage. Includes paged navigation for network interfaces and wireless radio details (Link speeds, MIMO, Channel bandwidth).
- 🛡️ VPN Crypto Audit – Instantly verify if your hardware acceleration (AES-CE, NEON) is active at the kernel level for optimized OpenVPN and WireGuard performance.
- 🛠️ AdGuardHome Control Center – A central hub to toggle the service, manage/enable UI updates, and bulk manage a pre-set list of blocklists and allowlists. Manage persisting AdGuardHome updates through firmware updates.
- 🆘 Fail-Safe Recovery – "Industrial" self-healing logic. If your AGH binary or init scripts are corrupted, the script pulls pristine copies directly from the device's /rom to restore functionality.
- 📦 Surgical Backups for AdGuardHome – Precision-tracked AdGuardHome backups. Create, manage, and restore configurations, binaries, and init scripts with automated timestamping and integrity checks.
- 💾 Zram Swap Management – Essential for lower-RAM travel routers like the Beryl 7. Easily install and tune compressed RAM swap to prevent out-of-memory crashes.
- 📊 Performance Benchmarks – Real-world testing including stressing CPU cycles, OpenSSL throughput, raw Disk and Memory I/O speeds, and DNS throughput compared to a Beryl 7 baseline.
- 📋 Secure UCI Viewer – Quick, read-only access to your system config. Audit SSIDs, Wi-Fi keys, VPN tunnels, and GoodCloud settings without digging through the CLI.
- 🚀 OpenSpeedTest Integration - Automated download and deployment of the OpenSpeedTest server script for optimized local network speed diagnostics.
- 🔄 Native Self-Updater – Stay current with zero effort. The script checks GitHub on launch and can perform an in-place update.
- 🆓 GPL-3.0 Licensed – Free, open, and community-driven.
Tested on various GL.iNet models (Beryl, Beryl AX, Beryl 7, Slate 7, Flint 3, Flint 3e, etc.) running recent firmware.
- SSH into your GL.iNet router:
ssh root@192.168.8.1
- Download the script:
wget -O glinet_utils.sh https://raw.githubusercontent.com/phantasm22/GL-iNet_utils/main/glinet_utils.sh && chmod +x glinet_utils.sh
- Run the script:
./glinet_utils.sh
When launched, the script presents an interactive menu system.
Options may vary as new utilities are added, but generally include:
1️⃣ Show Hardware Information
2️⃣ AdGuardHome Control Center
3️⃣ Manage Zram Swap
4️⃣ System Benchmarks (CPU & Disk)
5️⃣ View System Configuration (UCI)
6️⃣ Check for Update
7️⃣ Install/Manage OpenSpeedTest Server
0️⃣ Exit
AdGuardHome Control Center
1️⃣ Manage Allow/Blocklists
2️⃣ Setup, Access & UI Updates
3️⃣ Backup & Recovery Suite
4️⃣ Service, Logs & Cache Purge
🆑 Reset to Factory Settings (Start Over)
0️⃣ Back to Main Menu
❓ Help
System Benchmarks
1️⃣ CPU Thermal Stress Test
2️⃣ CPU Benchmark (OpenSSL)
3️⃣ Disk I/O Benchmark
4️⃣ Memory I/O Benchmark
5️⃣ DNS Benchmark
0️⃣ Main menu
System Configuation Viewer
1️⃣ Wireless Networks
2️⃣ Network Configuration
3️⃣ VPN Configuration
4️⃣ System Settings
5️⃣ Cloud Services
0️⃣ Main menu
Most sections include built-in help text and confirmation prompts for safety.
- GL.iNet router running OpenWrt-based firmware (most models supported)
- SSH access (root login enabled)
- Internet connection for updates, package installs & benchmarks
- Optional:
opkgpackages (lscpu, stress, etc.) are installed automatically when needed
The toolkit includes a built-in update checker (option 7 or automatic on start).
To force an update manually:
wget -O glinet_utils.sh https://raw.githubusercontent.com/phantasm22/GL-iNet_utils/main/glinet_utils.sh
chmod +x glinet_utils.sh
./glinet_utils.shSimply delete the script file:
rm glinet_utils.shNo other files are installed by default. If you installed packages via the script (zram-swap, stress, etc.), remove them manually if desired:
opkg remove zram-swap stress
Created by phantasm22
https://github.com/phantasm22
Inspired by the need for a simple, powerful toolkit tailored for GL.iNet routers. If you have a utility you run on every GL.iNet router you touch, it probably belongs here.
Contributions, bug reports & feature suggestions welcome!
Star ⭐ the repo if you find it useful!
This project is licensed under the GNU GPL v3.0 License.
See the LICENSE file for details.