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. 

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值