Bachelor's Thesis — Bachelor's Degree in Computer Engineering, University of Extremadura.
A monitoring and management tool for a private 5G network deployed entirely with open-source technologies: srsRAN Project as the base station (gNB) and Open5GS as the core network, running in Docker containers. Its operation is validated on a real deployment, including the registration of a physical user equipment on the network.
It builds upon a predecessor project focused only on monitoring (a Bachelor's Thesis by a student from another year, but the same degree and university) by adding real active management capabilities (starting/stopping network functions, reconfiguring the gNB, adding and removing subscribers), always under a least-privilege model.
🇬🇧 English | 🇪🇸 Español
- Radio and data plane: the user equipment (UE) connects to the gNB (srsRAN Project on a USRP B210), which communicates with the core network's ten network functions (Open5GS, in Docker) through the standard 5G interfaces (N2, N3).
- Management plane: a Python backend (FastAPI) monitors the status of the core and the gNB, and manages both always through narrowly scoped least-privilege scripts (
sudoers), never with direct access. A React frontend consumes that information.
backend/ FastAPI API: monitoring, management, authentication
frontend/ Web interface in React + Vite + Tailwind CSS
docs/ Architecture diagram
Each project has its own README.md with installation, configuration, and test-running instructions.
# 1. Backend
cd backend
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # adjust credentials and paths -- see the backend README
uvicorn app.main:app --host 0.0.0.0 --port 8000
# 2. Frontend (in another terminal)
cd frontend
npm install
cp .env.example .env # adjust the backend URL if it is not on the same machine
npm run devImportant: for the management features (starting/stopping the core or the gNB) you also need to configure least privilege via sudoers. This is a manual step, with detailed instructions in the backend README.
Everything specific to your machine or network (IP addresses, installation paths, credentials) lives in two non-versioned files, generated from their templates (.env.example, deployment.conf.example). This way, there is no need to touch the code itself. See the "Portability" section of the backend README for the full information.
The complete Bachelor's Thesis report (justification of every technical decision, real issues resolved during development, results) is available here.
This project is released under the GNU GPLv3 license.
