Install from source - my5G/my5G-RANTester GitHub Wiki

Recommended environment

  • CPU type: x86-64 (specific model and number of cores only affect performance)
  • RAM: 1 GB
  • Operating System (OS): Linux Ubuntu 20.04 LTS.

The installation can be done directly in the host OS or inside a virtual machine (VM).

Requirements

Install Go (assuming there is no previous version installed):

$ wget https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz
$ sudo tar -C /usr/local -zxvf go1.14.4.linux-amd64.tar.gz
$ mkdir -p ~/go/{bin,pkg,src}
$ echo 'export GOPATH=$HOME/go' >> ~/.bashrc
$ echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
$ echo 'export PATH=$PATH:$GOPATH/bin:$GOROOT/bin' >> ~/.bashrc
$ source ~/.bashrc

Tester installation

1- Download the source code:

$ git clone https://github.com/my5G/my5G-RANTester.git

2- Install the dependencies:

$ cd my5G-RANTester
$ go mod download

3- Build the binary:

$ cd cmd 
$ go build app.go

4- Edit configuration file and make the following procedures. For more details see the page configuration.

  1. Configure amfif with the AMF IP address and its port that you are testing. For example:
amfif:
  ip: "127.0.0.1"
  port: 38412
  1. Check the values in UE (key,opc,amf), as illustrated below. The same values must be registered in the 5G core under evaluation since they are used by the my5G-RANTester during the tests. For example:
  key: "70d49a71dd1a2b806a25abe0ef749f1e"
  opc: "6f1bf53d624b3a43af6592854e2444c7"
  amf: "8000"

Done! The software is successfully installed.