8000 GitHub - limx59/OAI-5GC-PI: [MIRROR] See https://gitlab.com/limx59/oai-5gc-pi for contributions · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

About

[MIRROR] See https://gitlab.com/limx59/oai-5gc-pi for contributions

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

66 Commits

Folders and files

Repository files navigation

OAI-5GC Raspberry Pi Port

This project focuses on porting OAI-5GC (OpenAirInterface 5G Core) to Raspberry Pi devices.
It enables lightweight and portable 5G core testing environments on ARM-based hardware, particularly Raspberry Pi 4 and Raspberry Pi 5.


Table of Contents


Overview

The main goal of this project is to adapt Open5GS and OAI 5G Core for Raspberry Pi, providing:

  • Containerized 5G Core images for ARM architecture
  • Deployment and execution on Raspberry Pi 4 / 5
  • Basic 5G core functionality for experimentation and learning

Currently, the project has successfully:

  • Built and tested Open5GS container images for ARM
  • Verified containerized Open5GS running on Raspberry Pi 4 and Raspberry Pi 5

Features

  • ✅ ARM-compatible Open5GS and OAI-5GC container images
  • ✅ Supports Raspberry Pi 4 / 5
  • ✅ Deployable via Docker and Docker Compose
  • ✅ Lightweight 5G core environment for testing and education
  • ✅ Includes example configurations and startup scripts

Requirements

  • Raspberry Pi 4 (4GB or 8GB recommended) or Raspberry Pi 5
  • Docker ≥ 20.x
  • Docker Compose ≥ 1.29.x
  • Linux-based OS (Raspberry Pi OS, Ubuntu Server, etc.)
  • Network connectivity for 5G core containers

Installation

  1. Clone the repository
git clone https://gitlab.com/limx59/oai-5gc-pi.git
cd oai-5gc-pi
  1. Install Docker and Docker Compose
# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

# Install Docker Compose
sudo apt install -y docker-compose
  1. (Optional) Add your user to the Docker group
sudo usermod -aG docker $USER
newgrp docker

Deployment and Running

  1. Build or pull container images
docker-compose build      # Build locally
docker-compose pull       # Pull pre-built images
  1. Start the containers
docker-compose up -d
  1. Check running containers
docker ps
  1. Stop the containers
docker-compose down

Docker Images

Pre-built Open5GS ARM Docker images are available on Docker Hub:

👉 https://hub.docker.com/u/limx59

These images have been tested and verified to run properly on Raspberry Pi 5.
You can directly pull and use them without manual build steps:

docker pull limx59/open5gs-amf:latest
docker pull limx59/open5gs-smf:latest
docker pull limx59/open5gs-upf:latest
docker pull limx59/open5gs-hss:latest
docker pull limx59/open5gs-pcrf:latest
docker pull limx59/open5gs-webui:latest

ReDroid Android UI (ARM64)

A tested mirror of the official ReDroid Android 12 ARM64 image is available on Docker Hub:

sudo docker pull --platform linux/arm64 limx59/redroid:12.0.0-arm64

ReDroid provides the Android UI; UERANSIM performs simulated 5G registration. Android browser traffic can use the UE PDU session through Tinyproxy.

The published image is an upstream mirror. The source build procedure has not yet been validated by a complete build.

To start all services using Docker Compose:

docker-compose -f docker-compose.open5gs.yaml up -d

Testing and Verification

  • Check logs of key Open5GS components:
docker logs open5gs-amf
docker logs open5gs-smf
docker logs open5gs-upf
  • Test with UE simulators or test devices.
  • Confirm Open5GS attach/detach and session creation procedures.
  • Validate web interface (WebUI) is accessible for subscriber management.

Contributing

Contributions are welcome! You can contribute by:

1. Code Contributions

# Fork the repository
git checkout -b feature/my-feature
# Commit changes
git commit -m "Add new feature"
# Push and open Merge Request
git push origin feature/my-feature

2. Documentation

  • Improve setup instructions or add Raspberry Pi optimization tips.

3. Testing

  • Test container deployment on different Raspberry Pi models and report feedback.

License

Specify your license here (e.g., MIT License)

This project references:


Acknowledgements


Contact

For questions or support, contact:
📧 limx59@163.com

About

[MIRROR] See https://gitlab.com/limx59/oai-5gc-pi for contributions

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0