Skip to main content

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.

This guide walks you through cloning the repository, setting up your environment, and opening the router dashboard for the first time. The entire process takes around five minutes on a machine that already has PHP and Node.js installed.
1

Check prerequisites

Make sure the following tools are available on your machine before you begin.
ToolRequired versionCheck
PHP8.2 or laterphp --version
Composer2.xcomposer --version
Node.js18 LTS or laternode --version
npmbundled with Node.jsnpm --version
Your machine must be connected to the same local network as the OpenWrt router. A direct Ethernet connection to the router is strongly recommended.
2

Clone the repository

git clone https://github.com/KevinCruz-cell/Redes-de-comunicaciones-.git
cd Redes-de-comunicaciones-
3

Configure your environment

Copy the example environment file and open it in your editor.
cp .env.example .env
Add your router’s connection details. These variables are not present in .env.example by default, so add them at the end of the file:
ROUTER_IP=192.168.10.1
ROUTER_USER=root
ROUTER_PASSWORD=your_router_password
ROUTER_PORT=22
ROUTER_TIMEOUT=5
VariableDefaultDescription
ROUTER_IP192.168.10.1IP address of your OpenWrt router
ROUTER_USERrootSSH username (OpenWrt default is root)
ROUTER_PASSWORD(empty)SSH password set on the router
ROUTER_PORT22SSH port
ROUTER_TIMEOUT5HTTP reachability check timeout in seconds
Never commit your .env file to version control. It is already listed in .gitignore by default.
4

Run the setup script

A single Composer script installs all PHP and JavaScript dependencies, generates the application key, runs database migrations, and compiles frontend assets:
composer run setup
This command runs the following steps in sequence:
composer install
php artisan key:generate
php artisan migrate --force
npm install
npm run build
If you are on a fresh SQLite setup (the default), no additional database configuration is needed. The migration creates the sessions, cache, and jobs tables automatically.
5

Start the development server

composer run dev
This starts four concurrent processes:
ProcessRole
php artisan serveLaravel HTTP server on http://localhost:8000
php artisan queue:listenBackground job worker
php artisan pailReal-time log viewer
npm run devVite asset bundler with hot reload
Leave this terminal running for the duration of your session.
6

Open the app and log in

Navigate to http://localhost:8000 in your browser. You will see a login form asking for a username and password.Enter your router’s credentials — the same values you set in ROUTER_USER and ROUTER_PASSWORD. The application will:
  1. Check that the router is reachable at ROUTER_IP.
  2. Authenticate against the LuCI web interface.
  3. Store the session token (sysauth cookie) in your PHP session.
If the login page shows “No se detecto el router en 192.168.10.1”, verify that your machine is on the same network as the router and that ROUTER_IP is set correctly in .env.
7

Explore the dashboard

After a successful login you are redirected to /dhcp, the DHCP configuration page. Use the sidebar to navigate to any feature: dashboard stats, Wi-Fi control, network interfaces, static routes, system settings, and more.
Visit the dashboard first to confirm the SSH connection is working — it displays live hostname, uptime, and memory data pulled directly from the router.

Next steps

Configure your connection

Learn about all available environment variables and how the SSH and HTTP auth flows work.

Dashboard

Understand what system metrics the dashboard collects and how they are fetched.

Build docs developers (and LLMs) love