Redes de Comunicaciones is a PHP/Laravel web application that gives you a browser-based control panel for your OpenWrt router. Instead of logging into the router’s LuCI interface directly, you connect through this app, which translates your actions into SSH commands executed on the router in real time.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/KevinCruz-cell/Redes-de-comunicaciones-/llms.txt
Use this file to discover all available pages before exploring further.
Key features
Dashboard
View live system info: hostname, uptime, load averages, memory usage, CPU model, and active network interfaces.
Wi-Fi and switch
Manage wireless interfaces, scan nearby networks, and configure VLAN switch port assignments.
DHCP configuration
Configure dnsmasq: DHCP ranges, static leases, TFTP boot, and DNS forwarding rules.
Network interfaces
Create, edit, restart, stop, and delete network interfaces over SSH using UCI commands.
Static routes
Add, update, and remove static IPv4 and IPv6 routing table entries on the router.
System settings
Change the router’s hostname, timezone, log verbosity, and remote syslog server.
Administration
Manage SSH port, password auth, root login, and authorized public keys for Dropbear.
Scheduled tasks
View and edit cron jobs running on the router; changes take effect immediately.
LED control
Turn LEDs on or off and assign kernel triggers like netdev, timer, or heartbeat.
Backup and restore
Download a configuration backup, restore from an archive, or flash new firmware.
Diagnostics
Run ping, traceroute, and nslookup directly from the router to verify connectivity.
Logs
View the router’s syslog, kernel messages, process list, firewall rules, and routing table.
Architecture
The application is built on three layers:- Laravel 12 (PHP 8.2+) handles routing, session management, and Blade-rendered views. The frontend assets are compiled with Vite.
- phpseclib 3 (
phpseclib/phpseclib) provides a pure-PHP SSH2 client.SystemRouterServiceopens an SSH connection per request and executes shell commands (UCI reads/writes, system queries) directly on the router. - RouterService uses Laravel’s HTTP client to communicate with the router’s LuCI web interface for authentication. It performs a form
POSTto/cgi-bin/luci, extracts thesysauthcookie on a302redirect, and stores it in the PHP session.
Requirements
| Requirement | Minimum version |
|---|---|
| PHP | 8.2 |
| Composer | 2.x |
| Node.js | 18 LTS |
| npm | bundled with Node.js |
| OpenWrt router | Any release with SSH enabled |
The machine running this app must be on the same local network as the router. The default router address is
192.168.10.1. A direct Ethernet connection is recommended for reliability.Next steps
Get started
Clone the repo, configure your environment, and have the dashboard running in minutes.
Configure your connection
Set router credentials and SSH options through environment variables.