Skip to content
Snippets Groups Projects
Commit f30c96f0 authored by Carlos Antonio De Lima Filho's avatar Carlos Antonio De Lima Filho
Browse files

Merge branch 'carloslm-main-patch-82645' into 'main'

Update the README

See merge request !1
parents 3b1293a3 05552595
No related branches found
No related tags found
1 merge request!1Update the README
......@@ -53,7 +53,7 @@
A. Change the directory for ~/oai-cn5g-fed/docker-compose
B. python3 core-network.py --type start-basic --scenario 1
## FlexRIC and gNB Installation
## FlexRIC, gNB and UE Installation
### The following steps can be executed by the file flexRIC_oai_gNB_install.sh
1. Install the following dependencies
A. sudo apt-get install autotools-dev
......@@ -63,8 +63,7 @@
E. sudo apt-get install bison
F. sudo apt-get install byacc
G. sudo apt install g++
H. sudo apt install libsctp-dev python3.8 cmake-curses-gui libpcre2-dev python3-dev
H. sudo apt install libsctp-dev python3.8 cmake-curses-gui libpcre2-dev python3-dev
2. Configure swig
A. git clone https://github.com/swig/swig.git
B. cd path_to_swig
......@@ -82,8 +81,11 @@
G. sudo make
H. sudo make install
4. Install dependencies for OpenAirInterface 5G
A. sudo apt-get install libuhd4.2.0
B. sudo dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb
A. sudo add-apt-repository ppa:ettusresearch/uhd -y
B. sudo apt-get update -y
C. sudo apt-get install libuhd-dev uhd-host -y
D. sudo apt-get install libuhd4.2.0 -y
E. sudo dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb
5. Download the OpenAirInterface 5G repository
A. git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git oai
6. Change the openairinterface 5G branch for 2022.41
......@@ -91,25 +93,15 @@
B. git checkout 2022.41
7. Apply FlexRIC patch
A. git am <pathtoflexricsrc>/flexric/multiRAT/oai/oai.patch --whitespace=nowarn
8. Install the gNB
8. Download the OAI configuration files (CU/DU, OAI UE, and gNB configuration)
A. sudo wget -O ~/oai/executables/nr-softmodem.c https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/OpenAirInterface/OpenAirInterface-Conf/nr-softmodem.c?inline=false
B. sudo wget -O ~/oai/ci-scripts/conf_files/gNB_SA_CU.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/OpenAirInterface/OpenAirInterface-Conf/gNB_SA_CU.conf?inline=false
C. sudo wget -O ~/oai/ci-scripts/conf_files/gNB_SA_DU.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/OpenAirInterface/OpenAirInterface-Conf/gNB_SA_DU.conf?inline=false
D. sudo wget -O ~/oai/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/OpenAirInterface/OpenAirInterface-Conf/ue.conf?inline=false
9. Install the gNB and UE
A. source oaienv
B. cd cmake_targets
C. ./build_oai -I -w USRP -i #For OAI first time installation. it will install some dependencies
D. ./build_oai --gNB -c -C -w USRP --ninja
E. ./build_oai --gNB -c -C -w SIMU --ninja
D. ./build_oai --gNB --nrUE -c -C -w USRP --ninja --build-lib all
## UE Installation
### The following steps can be executed by the file oai_UE_install.sh
1. Download the openairinterface 5G repository
A. git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git ~/openairinterface5g
2. Change the openairinterface 5G branch for develop
A. cd ~/openairinterface5g
B. git checkout develop
3. Install the UE
A. cd ~/openairinterface5g
B. source oaienv
C. cd cmake_targets
D. ./build_oai -I -w USRP
E. ./build_oai --nrUE -w USRP
F. ./build_oai --nrUE -w SIMU
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment