Changes between Version 7 and Version 8 of Tutorials/4G5G/openairinterface


Ignore:
Timestamp:
Apr 22, 2020, 8:28:50 PM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/openairinterface

    v7 v8  
    11This tutorial contains instructions for running the openairinterface eNB and UE on various platforms.
     2It adapts the Eurecom tutorial at : https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/HowToConnectOAIENBWithOAIUEWithoutS1Interface
     3for the ORBIT and COSMOS testbeds.
    24
    35== Prerequisites ==
    461. Two nodes, with appropriate hardware, within RF range
    571. Currently supported: USRP x310, USRP 2974, USRP b210
    6 1. Load the image {{{omf-baseline-oai-1804.ndz}}} onto both nodes
     81. Load the image {{{tutorial-oai.ndz}}} onto both nodes
    791. Turn the nodes on
    8101. If graphical display is desired, enable x11 tunneling to console and then to nodes
     111. ssh to the nodes
    912
    1013== On node 1 ==
     
    4447* run_ue.sh:
    4548{{{
    46 #! /bin/bash                                                                                                                                                                                                                                                                                                                                                                            #sdr_addrs takes standard uhd arguments, such as:                                                                                                                                           #"type=x300,addr=192.168.40.2"  #x310 over direct network                                                                                                                                          #"type=x300,resource=rio0"      #x310 over pcie                                                                                                                                             #"type=b210"                    #b210 over usb                                                                                                                                              #values for RUs.[0] override config file, must be set per usrp type
     49#! /bin/bash
     50#sdr_addrs takes standard uhd arguments, such as:
     51#"type=x300,addr=192.168.40.2"  #x310 over direct network
     52#"type=x300,resource=rio0"      #x310 over pcie
     53#"type=b210"                    #b210 over usb
     54#values for RUs.[0] override config file, must be set per usrp type
    4755# -d enables xforms charts
    4856
    49                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  cd /opt/openairinterface5g                                                                                                                                                                  source oaienv                                                                                                                                                                               cd ./cmake_targets/lte_build_oai/build                                                                                                                                                      ./lte-uesoftmodem \                                                                                                                                                                         -C 2680000000 -r 25 \                                                                                                                                                                       --ue-scan-carrier --nokrnmod 1 --noS1 \                                                                                                                                                     --ue-rxgain 120 --ue-txgain 30 --ue-max-power 0 \                                                                                                                                           --ue-nb-ant-tx 1 --ue-nb-ant-rx 1 \                                                                                                                                                         --usrp-args "type=b200" \                                                                                                                                                                   -d
     57cd /opt/openairinterface5g
     58source oaienv
     59cd ./cmake_targets/lte_build_oai/build
     60./lte-uesoftmodem \
     61-C 2680000000 -r 25 \
     62--ue-scan-carrier --nokrnmod 1 --noS1 \
     63--ue-rxgain 120 --ue-txgain 30 --ue-max-power 0 \
     64--ue-nb-ant-tx 1 --ue-nb-ant-rx 1 \
     65--usrp-args "type=b200" \
     66-d
    5067}}}
     68
     69== Once Both nodes are running ==
     70* if all is successfull, you shouuld see new interfaces on the two nodes, with addresses:
     71  * 10.0.1.1
     72  * 10.0.1.2
     73* you should be able to run ping, iperf, and so on
    5174
    5275