SDR之Open5gs搭建使用篇

阅读: 评论:0

SDR之Open5gs搭建使用篇

SDR之Open5gs搭建使用篇

 

关于国内使用开源的SDR软件,Open5GS的搭建使用(和真实的LTE基站和商用手机进行组网测试)

Open5gs硬件平台使用树莓派P4,需要安装Ubuntu系统,可以从下面连接下载需要的系统

树莓派资源下载 | 树莓派实验室

配置好树莓派连到wifi,可以上网获取open5gs的源码

Required HW 

The test program has been run on [VirtualBox - CPU: 1, Memory: 4.00 GB] and [Docker for Mac - CPU: 2, Memory: 2.00 GB] with default setting (max.ue: 4,096, pool.packet: 32,768). 

树莓派  Pi 系统  

Ubuntu System(Ubuntu 16.04(xenial) and earlier versions, and Debian 9(stretch) and earlier versions are not supported)  

Getting MongoDB (安装HSS Database)

Install MongoDB with package manager. It is used as database for NRF/PCF/UDR and PCRF/HSS. 

$ sudo apt update  

$ sudo apt install mongodb  

$ sudo systemctl start mongodb (if '/usr/bin/mongod' is not running)  

$ sudo systemctl enable mongodb (ensure to automatically start it on system boot) 
 Setting up TUN device (not persistent after rebooting) # 建立UE通信接口

Create the TUN device with the interface name ogstun. 

$ sudo ip tuntap add name ogstun mode tun  

$ sudo ip addr add 10.45.0.1/16 dev ogstun  

$ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun  

$ sudo ip link set ogstun up 
  

Building Open5GS 

Install the dependencies for building the source code.  

$ sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson 
 Git clone. 

本文发布于:2024-02-04 14:42:43,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170709583056470.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:SDR   Open5gs
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23