SolarLink — Off-grid rural connectivity with LoRa and 5G
Design of a fully autonomous communications node — no mains power, no fixed line and no frequent physical access — to bring connectivity and telemetry to small rural settlements that conventional solutions do not reach. ASIR final-year project, developed by a team of three.
A design project: the node was never physically built or tested. What follows is the solution we designed and documented.
Context
In Spain, around 20% of municipalities lack adequate broadband coverage, and thousands of settlements with fewer than 100 inhabitants have no fixed internet at all. Running fibre out to them is not economically viable, and satellite services come with high recurring costs and latency that rules out many uses.
SolarLink proposes a different route: an autonomous node that can be installed in a matter of hours, with no civil works, and that provides two things at once — an internet access point for the settlement and a LoRaWAN sensor network for agricultural and environmental telemetry (soil moisture, water tanks, weather). It was a joint effort by the three of us: networking, security, power and remote administration of the node were all designed as a team.
Design constraints
Design challenges
Challenge 1 — Getting the battery through the night
With Wi-Fi broadcasting around the clock, overnight consumption can drain the battery in winter: the node would be off by morning and, worse, the LoRaWAN sensors would stop recording data for hours.
Challenge 2 — A single operator is not reliable
In rural areas a single operator's coverage is patchy and can drop out on a recurring basis. A node intended as critical infrastructure cannot depend on one link.
mwan3 on OpenWRT. The system checks the health of the active link (pings to external targets) and switches to the secondary within seconds if the primary degrades, switching back automatically when it recovers. Every switchover is logged so coverage patterns can be analysed.
Challenge 3 — Administering a node behind CGNAT
Mobile connections sit behind CGNAT: the node has no public IP address, so it is not possible to open a port and connect "inwards". And exposing the node's administration to the internet, even if it were possible, was ruled out on security grounds.
Proposed architecture
Power — solar panel + MPPT + LiFePO₄
An MPPT controller to get the most out of the panel even under partial cloud, and a LiFePO₄ battery (more than 3,000 cycles, stable chemistry). The survival logic decides which services stay up depending on the state of charge.
Brain — OpenWRT
An open-source router OS with full control: firewall, DHCP, DNS, VLANs, QoS and the bridge between the LoRa network and the WAN. Root access, custom scripts and cron for all of the node's automation.
Connectivity — dual-SIM 5G/4G with failover
Two operators, automatic switchover with mwan3 and a log of every failover. Operator redundancy on low-cost hardware.
Sensors — LoRaWAN network
A LoRa gateway connected to the node. Field sensors transmit over distances of kilometres with minimal consumption — years of battery life.
Remote administration — WireGuard
An outbound WireGuard tunnel for administering the node (SSH, LuCI) without exposing ports.
Lessons learned
View the project
The project's interactive presentation:
Final-year project developed together with Raúl García and Juanma Ruiz · ASIR 2024–2026.