Files

13 KiB
Raw Permalink Blame History

Aira Group of Technology Logo

πŸ“‘ Aira Internet Tower (AIT)

Sovereign Open-Source Community Cellular (4G/5G) & Wireless Mesh Telecommunications Blueprint

Aira Internet Tower Icon

License: MIT Core: Open5GS RAN: srsRAN Mesh: OpenWrt Security: WireGuard Telemetry Architect: Er. Adam Eehan Organization: Aira Group of Technology


🌟 Executive Overview

Aira Internet Tower (AIT) is a complete, sovereign telecommunications architecture designed to eliminate the digital divide in rural, island, and community clusters. Built from the ground up by Aira Group of Technology, AIT provides a modular, production-ready framework combining:

  1. Rooftop-to-Rooftop Wireless Mesh (OpenWrt + B.A.T.M.A.N.-adv Layer 2 routing)
  2. Private Lab 4G/LTE & 5G SA Cellular Stack (Open5GS + srsRAN SDR Core)
  3. Hardened Sovereign Edge Gateway (nftables firewall, WireGuard backhaul tunnels, CoovaChilli captive portal)
  4. Telecom Telemetry & Network Operations Center (NOC) (Prometheus + Grafana)
  5. Low-Level Socket Communication Primitives (TCP/UDP, chat relays, packet-level transfer)

Designed specifically for emerging community models (such as K-FON / BharatNet integration in Kerala/India, Panchayat-backed village Wi-Fi grids, and university testbeds), this repository contains the complete hardware schematics, software configurations, and deployment scripts necessary to operate a community-owned ISP.


βš–οΈ Important Regulatory & Legal Compliance Note (India / DoT / WPC):
Transmitting on cellular licensed spectrum (700 MHz, 800 MHz, 900 MHz, 1800 MHz, 2100 MHz, 2300 MHz, 2500 MHz, and 3.3–3.6 GHz) without an explicit DoT/WPC license or experimental trial authorization is illegal under the Indian Telegraph Act.
The 4G/5G components in lab-4g5g/ are strictly designed for cable-connected RF attenuators or Faraday shielded enclosure testing using the non-interfering test PLMN 001/01 at sub-milliwatt power. For public unlicenced community transmission, always utilize Wi-Fi unlicenced bands (2.4 GHz & 5.8 GHz) via mesh/openwrt/. See docs/01-legal-india.md.


πŸ—οΈ End-to-End System Architecture

 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                      AIRA INTERNET TOWER TOPOLOGY                      β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

    [ COMMUNITY SUBSCRIBERS ]               [ TOWER ACCESS & RADIO LAYER ]
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Smartphones & Laptops     β”‚ β—„-Wi-Fi-β–Ί β”‚ Outdoor APs / Directional Ant. β”‚
  β”‚ (Unlicensed 2.4/5.8 GHz)  β”‚           β”‚ OpenWrt + B.A.T.M.A.N.-adv Meshβ”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                         β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                          β”‚ Layer 2 Mesh
  β”‚ LTE / 5G Test Devices     β”‚ β—„--RF---β–Ί β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ (Shielded / Lab Box)      β”‚ (SMA/Att) β”‚ srsRAN eNB/gNB (SDR Transceiverβ”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                         β”‚ S1-MME / N2-N3
                                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                          β”‚ Open5GS 4G/5G Cellular Core    β”‚
                                          β”‚ (MME / SGW / SMF / UPF / HSS)  β”‚
                                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                         β”‚ SGi / N6 Interface
                                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                          β”‚ Aira Sovereign Edge Gateway    β”‚
                                          β”‚ β€’ nftables NAT / Security      β”‚
                                          β”‚ β€’ CoovaChilli Captive Portal   β”‚
                                          β”‚ β€’ WireGuard Uplink Tunnel      β”‚
                                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                         β”‚
                                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                  β–Ό                                        β–Ό
                   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”
                   β”‚ Upstream Backhaul           β”‚       β”‚ Sovereign Telecom NOC   β”‚
                   β”‚ (K-FON / BharatNet / Fibre) β”‚       β”‚ (Prometheus + Grafana)  β”‚
                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“‚ Repository Module Breakdown

Directory Component Purpose & Technologies
gateway/ Sovereign Edge Gateway Production nftables stateful NAT, WireGuard encrypted backhaul overlay (wg0), and CoovaChilli captive portal authentication.
lab-4g5g/ Private 4G/5G Cellular Core Full Open5GS containerized core (MME, AMF, SMF, UPF, PCRF, HSS) + srsRAN SDR configurations and automated SIM provisioning scripts.
mesh/openwrt/ Decentralized Rooftop Mesh OpenWrt router configurations utilizing B.A.T.M.A.N.-adv for self-healing, multi-hop community Wi-Fi backhaul without single points of failure.
monitoring/ Telemetry & NOC Dashboard Automated Prometheus metrics scrapers and Grafana dashboards tracking packet loss, SNR, active subscribers, and gateway bandwidth.
sockets/ Low-Level Network Primitives Pure Python socket engines demonstrating raw TCP state machines, UDP telemetry echoes, and resilient chunked file transmission.
docs/ Engineering & Legal Blueprints In-depth technical documentation covering Indian telecom regulations, architecture designs, roadmaps, and community funding models.

To deploy an Aira Internet Tower station for a village or campus hub, the following standard off-the-shelf hardware is recommended:

Subsystem Recommended Hardware Approximate Cost (INR)
Tower Edge Gateway & Core Raspberry Pi 5 (8GB) or Intel N100 Mini PC β‚Ή7,500 – β‚Ή14,000
Mesh Distribution Nodes GL.iNet / TP-Link Archer running OpenWrt β‚Ή2,500 – β‚Ή4,500 / node
Long-Range Outdoor APs Ubiquiti NanoStation Loco M5 / TP-Link Pharos β‚Ή4,000 – β‚Ή6,000 / link
SDR Radio (Lab 4G/5G) LimeSDR USB / BladeRF x40 / HackRF One (Shielded) Research bench
Power Autonomy 100W Monocrystalline Solar Panel + 12V 30Ah LiFePO4 Battery + MPPT β‚Ή9,000 – β‚Ή12,000
Enclosure & Antennas IP67 Weatherproof Outdoor Box + Lightning Surge Protector β‚Ή3,000

πŸš€ Quick Start Guide

1. Run Socket Foundations Demo

Test the low-level socket server locally:

# Clone the repository
git clone https://github.com/adameehanairagroup/AiraInternetTower.git
cd AiraInternetTower

# Launch TCP Chat Relay
make sockets-demo

In another terminal, connect as a client:

python3 sockets/python/tcp_chat_client.py 127.0.0.1 5000

2. Deploy Containerized 4G/5G Open5GS Core (Lab)

Start the complete 4G EPC and 5G Core network stack:

make lab-up

Provision a test SIM into MongoDB HSS/UDR:

./lab-4g5g/scripts/provision_sim.sh 001010000000001 465B5CE8B199B49FAA5F0A2EE238A6BC

3. Spin up Telecom Telemetry & NOC Dashboard

Launch Prometheus and Grafana for real-time bandwidth and signal tracking:

make monitoring-up
  • Grafana Dashboard: Visit http://localhost:3000 (Default login: admin / admin).
  • Prometheus Targets: Visit http://localhost:9090.

4. Deploy OpenWrt B.A.T.M.A.N.-adv Mesh Node

On your OpenWrt wireless node, copy and apply the mesh configuration:

scp -r mesh/openwrt/config/* root@192.168.1.1:/etc/config/
ssh root@192.168.1.1 "/etc/init.d/network restart"

🀝 Community Ownership & Governance Model

The Aira Internet Tower architecture is rooted in sustainable community participation:

  • Panchayat & Rural Fiber Tie-ups: Connecting community towers to State and Central high-speed backhauls (K-FON in Kerala, BharatNet nationwide).
  • Zero-Rated Civic Tier: Unlimited free access to government services (e-District, DigiLocker, educational resources, Kiwix offline Wikipedia).
  • Student Network Engineers: Empowering local polytechnic and engineering students to maintain and audit their own community nodes.
  • Cooperative Cost Sharing: Transparent maintenance funds pooled through local resident associations or CSR grants.

πŸ‘¨β€πŸ’» Founder, Principal Architect & Leadership


πŸ“œ License & Acknowledgments

Distributed under the MIT License. See LICENSE for full details.
Built with deep appreciation for the open-source telecom pioneers behind Open5GS, srsRAN, OpenWrt, B.A.T.M.A.N.-adv, and the Linux Kernel Networking Subsystem.