Changes between Version 14 and Version 15 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Jan 21, 2022, 5:11:29 PM (2 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v14 v15  
    4242
    4343=== Tutorial Execution ===
    44 * Upon logging into the nodes, run eth_config.sh script to setup the 10G data interfaces on the nodes, DATA1, DATA2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per the table https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment
    45 {{{#!shell
     44==== Check SDRs =====
     45* Upon logging into the nodes, run eth_config.sh script to setup the 10G data interfaces on the nodes, DATA1, DATA2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per the table https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment.The nodes should then be able to access the USRP N310s sdr1-s1-lg1 and sdr1-md1 which can be checked by running uhd_find_devices.
     46
     47{{{#!td
     48   {{{#!shell
    4649root@srv1-lg1:~# ./eth_config.sh
    47 }}}
    48 {{{#!shell
     50   }}}
     51
     52   {{{#!shell
    4953root@srv1-lg1:~# ifconfig DATA1
    5054DATA1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
     
    5761        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    5862
     63
    5964root@srv1-lg1:~# ifconfig DATA2
    6065DATA2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
     
    6671        TX packets 282  bytes 82239 (82.2 KB)
    6772        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    68 }}}
    69 * The nodes should now be able to access the USRP N310s sdr1-s1-lg1 and sdr1-md1
    70 {{{#!shell
     73
     74   }}}
     75}}}
     76{{{#!td
     77   {{{#!shell
    7178root@srv1-lg1:~# uhd_find_devices
    7279[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
     
    8390    product: n310
    8491    type: n3xx
    85 
    86 
    8792--------------------------------------------------
    8893-- UHD Device 1
     
    97102    product: n310
    98103    type: n3xx
    99 }}}
    100 
    101 
    102 
    103 
    104 ==== MME ====
    105 
    106 ==== eNodeB/gNodeB ====
    107 ==== UE ====
     104
     105   }}}
     106}}}
     107
     108==== Run MME ====
     109*
     110{{{#!shell
     111root@srv1-lg1:~# cd /opt/amarisoft/ltemme-linux-2021-09-18
     112root@srv1-lg1:/opt/amarisoft/ltemme-linux-2021-09-18# ./lte_init.sh
     113Select CTRL default interface
     114root@srv1-lg1:/opt/amarisoft/ltemme-linux-2021-09-18# ./ltemme config/mme.cfg
     115Core version 2021-09-18, Copyright (C) 2012-2021 Amarisoft
     116This software is licensed to Rutgers University (The State University of New Jersey).
     117License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     118Support and software update available until 2022-08-18.
     119
     120(mme)
     121
     122}}}
     123
     124==== Run eNodeB/gNodeB ====
     125{{{#!shell
     126root@srv1-lg1:~# cd /opt/amarisoft/lteenb-linux-2021-09-18
     127root@srv1-lg1:/opt/amarisoft/lteenb-linux-2021-09-18# ./lteenb config/gnb-sa-n310.cfg
     128Base Station version 2021-09-18, Copyright (C) 2012-2021 Amarisoft
     129This software is licensed to Rutgers University (The State University of New Jersey).
     130License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     131Support and software update available until 2022-08-18.
     132
     133[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
     134[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.38.2.1,type=n3xx,product=n310,serial=3176DF5,claimed=False,addr=10.38.2.1,master_clock_rate=122.88e6
     135[INFO] [MPM.PeriphManager] init() called with device args `product=n310,mgmt_addr=10.38.2.1,time_source=internal,clock_source=internal,master_clock_rate=122.88e6'.
     136[INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004)
     137[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312)
     138[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312)
     139[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
     140[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
     141[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
     142[INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002)
     143[INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000)
     144[INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
     145[INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000)
     146[INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
     147RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=2 ul_ant=1
     148(enb) WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked.
     149Chan Gain(dB)   Freq(MHz)
     150 TX1     35.0 3489.420000
     151 TX2     35.0 3489.420000
     152 RX1     40.0 3489.420000
     153
     154(enb) ng
     155gNB NG connection state:
     156  - server=127.0.1.100:38412 state=setup_done PLMN=310014
     157(enb) cell phy
     158[gnb0012345] PLMN=310014 gNB_ID=0x12345
     159--------Global-------- ----------DL---------- ----------UL---------- ----SSB---
     160Cell    RAT BAND  BW P  ARFCN ANT NL SCS  QAM  ARCFN ANT NL SCS  QAM  ARFCN SCS
     1610x001    NR  n78  20 0 632628   2  2  30  256 632628   1  1  30  256 632544  30
     162(enb)
     163
     164}}}
     165==== Run UE ====
     166{{{#!shell
     167root@srv2-lg1:~# cd /opt/amarisoft/lteue-linux-2021-09-18
     168root@srv2-lg1:/opt/amarisoft/lteue-linux-2021-09-18# ./lteue config/ue-nr-sa-n310.cfg
     169LTE UE version 2021-09-18, Copyright (C) 2012-2021 Amarisoft
     170This software is licensed to Rutgers University (The State University of New Jersey).
     171License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     172Support and software update available until 2022-08-18.
     173
     174[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
     175[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.38.3.1,type=n3xx,product=n310,serial=3196937,claimed=False,addr=10.38.3.1,master_clock_rate=122.88e6
     176[INFO] [MPM.PeriphManager] init() called with device args `clock_source=internal,mgmt_addr=10.38.3.1,time_source=internal,master_clock_rate=122.88e6,product=n310'.
     177[INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004)
     178[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312)
     179[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312)
     180[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
     181[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
     182[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
     183[INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002)
     184[INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000)
     185[INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
     186[INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000)
     187[INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
     188RF0: sample_rate=30.720 MHz dl_freq=3489.420 MHz ul_freq=3489.420 MHz (band n78) dl_ant=2 ul_ant=1
     189(ue) WARNING: The GPS is not locked. If you need time synchronization, you should restart the program when the GPS is locked.
     190Chan Gain(dB)   Freq(MHz)
     191 TX1     35.0 3489.420000
     192 RX1     45.0 3489.420000
     193 RX2     45.0 3489.420000
     194
     195(ue) ue
     196      # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
     1975G    0     1  0    0      offline               power off     0
     1985G    1     2  0    0      offline               power off     0
     199(ue) power_on 1
     200(ue) power_on 2
     201(ue) ue
     202      # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
     2035G    0     1  0    0         idle              registered     1 192.168.2.2
     2045G    1     2  0 4602      running              registered     1 192.168.2.6
     205(ue)
     206
     207}}}
     208
     209{{{#!shell
     210(mme) gnb
     211  PLMN     RAN_ID                        IP:Port #UEctx     TACs
     212310014    0x12345                127.0.1.1:49526      0     0x64
     213(mme) ue
     214            SUPI           IMEISV  CN M-TMSI/5G-TMSI REG           TAC #BEARER IP_ADDR
     215 001010123456789 0123456700000101 5GC     0x526d3bcc   Y 310014.  0x64       1 192.168.2.2
     216 001010123456790 0123456700000201 5GC     0xf33020aa   Y 310014.  0x64       1 192.168.2.6
     217(mme)
     218
     219}}}
    108220==== Connecting Phones ====
    109221