Changes between Version 6 and Version 7 of Tutorials/4G5G/openairinterface
- Timestamp:
- Apr 22, 2020, 8:14:06 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/openairinterface
v6 v7 13 13 1. run /opt/oaiscripts/run_enb.sh 14 14 15 16 Example script, change parameters as needed: 17 * run_enb.sh: 18 {{{ 19 #! /bin/bash 20 #sdr_addrs takes standard uhd arguments, such as: 21 #"type=x300,addr=192.168.40.2" #x310 over direct network 22 #"type=x300,resource=rio0" #x310 over pcie 23 #"type=b210" #b210 over usb 24 #values for RUs.[0] override config file, must be set per usrp type 25 # -d enables xforms charts 26 27 cd /opt/openairinterface5g 28 source oaienv 29 cd ./cmake_targets 30 ./lte_build_oai/build/lte-softmodem \ 31 -O $OPENAIR_HOME/ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf \ 32 --nokrnmod 1 --noS1 --eNBs.[0].rrc_inactivity_threshold 0 \ 33 --RUs.[0].att_tx 40 --RUs.[0].att_rx 0 \ 34 --usrp-args "type=b200" \ 35 -d 36 }}} 37 15 38 == On Node 2 == 16 39 1. run /opt/oaiscripts/build_oai.sh to build for the current hardware and kernel 17 40 1. edit the file /opt/oaiscripts/run_ue.sh for the SDR in use, for example, set SDR IP addr and max gain 18 41 1. run /opt/oaiscripts/run_ue.sh 42 43 Example script, change parameters as needed: 44 * run_ue.sh: 45 {{{ 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 47 # -d enables xforms charts 48 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 50 }}} 19 51 20 52 … … 75 107 === sb1.orbit-lab.org === 76 108 1. set usrp address to "type=b210" 109 1. UE_rxgain: 120 110 1. UE_txgain: 30 111 1. UE_maxpower: 0 112 1. eNB_att_tx: 40 113 1. eNB_att_rx: 0 114 77 115 78 116 === sb4.orbit-lab.org ===