Changes between Version 60 and Version 61 of Tutorials/Wireless/mmwave Paam Basics


Ignore:
Timestamp:
Jul 18, 2024, 8:29:49 PM (2 months ago)
Author:
dchen51
Comment:

Update PAAM tutorial to use a UHD 4.1 image (prior image had incompatible UHD)

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Basics

    v60 v61  
    6060    omf tell -a offh -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1
    6161    }}}
    62  1. Use the {{{paam28GHz-tutorial-cosmos.ndz}}} node image with Ubuntu 18.04, UHD 3.15, gnuradio 3.8, and a grc example used in this tutorial. Load {{{paam28GHz-tutorial-cosmos.ndz}}} on the server. 
    63     {{{#!shell
    64     omf load -i paam28GHz-tutorial-cosmos.ndz -t srv1-lg1
     62 1. Use the {{{paam28GHz-tutorial-cosmos-tone.ndz}}} node image with Ubuntu 20.04, UHD 4.1, gnuradio 3.9, and a grc example used in this tutorial. Load {{{paam28GHz-tutorial-cosmos-tone.ndz}}} on the server.
     63    {{{#!shell
     64    omf load -i paam28GHz-tutorial-cosmos-tone.ndz -t srv1-lg1
    6565    }}}
    6666 1. Turn all the required resources on and check the status of all the resources. Use the following commands for SB1 and SB2.
     
    8181=== Experiment Execution ===
    8282==== Find and prepare USRPs  ====
    83 
    84 Updated eth_config.sh script:
    85    {{{#!shell
    86 ipaddr_2=$(ip -o -s -4 addr show CTRL | awk '{print $4}' | cut -d/ -f1 | cut -d. --fields 2)
    87 ipaddr_3_4=$(ip -o -s -4 addr show CTRL | awk '{print $4}' | cut -d/ -f1 | cut -d. --fields 3,4)
    88 echo $ipaddr_3_4
    89 ifconfig DATA1 10.$(($ipaddr_2 + 1)).$ipaddr_3_4 netmask 255.255.0.0 mtu 9000 up
    90 ifconfig DATA2 10.$(($ipaddr_2 + 2)).$ipaddr_3_4 netmask 255.255.0.0 mtu 9000 up
    91 sysctl -w net.core.rmem_max=62500000
    92 sysctl -w net.core.wmem_max=62500000
    93    }}}
    9483
    9584* Upon logging into the server, run eth_config.sh script. This sets up the 10G data interfaces eno1, eno2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per the tables for [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment SB1] and [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb2#IPAddressAssignment SB2].
     
    144133
    145134
    146 * Run {{{uhd_find_devices}}} to make sure that both USRP N310s can be reached:
     135* Run {{{uhd_find_devices --args "product=n310"}}} to make sure that both USRP N310s can be reached:
    147136{{{#!td
    148137   SB1
    149138   {{{#!shell
    150 root@srv1-lg1:~# uhd_find_devices
    151 [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
     139root@srv1-lg1:~# uhd_find_devices --args "product=n310"
     140[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
    152141--------------------------------------------------
    153142-- UHD Device 0
    154143--------------------------------------------------
    155144Device Address:
    156     serial: 3176DF5
    157     addr: 10.38.2.1
    158     claimed: False
    159     mgmt_addr: 10.37.2.1
    160     mgmt_addr: 10.38.2.1
    161     mgmt_addr: 10.39.2.1
    162     product: n310
    163     type: n3xx
     145        serial: 3176DEB
     146        addr: 10.39.6.1
     147        claimed: False
     148        fpga: XG
     149        mgmt_addr: 10.37.6.1
     150        mgmt_addr: 10.38.6.1
     151        mgmt_addr: 10.39.6.1
     152        name: ni-n3xx-3176DEB
     153        product: n310
     154        type: n3xx
    164155--------------------------------------------------
    165156-- UHD Device 1
    166157--------------------------------------------------
    167158Device Address:
    168     serial: 3196937
    169     addr: 10.38.3.1
    170     claimed: False
    171     mgmt_addr: 10.37.3.1
    172     mgmt_addr: 10.38.3.1
    173     mgmt_addr: 10.39.3.1
    174     product: n310
    175     type: n3xx
     159        serial: 3176DFA
     160        addr: 10.39.6.2
     161        claimed: False
     162        fpga: XG
     163        mgmt_addr: 10.37.6.2
     164        mgmt_addr: 10.38.6.2
     165        mgmt_addr: 10.39.6.2
     166        name: ni-n3xx-3176DFA
     167        product: n310
     168        type: n3xx
    176169   }}}
    177170}}}
     
    179172   SB2
    180173   {{{#!shell
    181       root@srv1-lg1:~# uhd_find_devices
    182       [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.HEAD-0-gaea0e2de
    183       --------------------------------------------------
    184       -- UHD Device 0
    185       --------------------------------------------------
    186       Device Address:
    187           serial: 315A35A
    188           addr: 10.117.2.1
    189           claimed: False
    190           mgmt_addr: 10.116.2.1
    191           mgmt_addr: 10.117.2.1
    192           mgmt_addr: 10.118.2.1
    193           product: n310
    194           type: n3xx
    195       --------------------------------------------------
    196       -- UHD Device 1
    197       --------------------------------------------------
    198       Device Address:
    199           serial: 3176DF7
    200           addr: 10.117.3.1
    201           claimed: False
    202           mgmt_addr: 10.116.3.1
    203           mgmt_addr: 10.117.3.1
    204           mgmt_addr: 10.118.3.1
    205           product: n310
    206           type: n3xx
     174root@srv1-lg1:~# uhd_find_devices --args "product=n310"
     175[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
     176--------------------------------------------------
     177-- UHD Device 0
     178--------------------------------------------------
     179Device Address:
     180        serial: 315A35A
     181        addr: 10.117.2.1
     182        claimed: False
     183        fpga: XG
     184        mgmt_addr: 10.116.2.1
     185        mgmt_addr: 10.117.2.1
     186        name: ni-n3xx-315A35A
     187        product: n310
     188        type: n3xx
     189--------------------------------------------------
     190-- UHD Device 1
     191--------------------------------------------------
     192Device Address:
     193        serial: 3176DF7
     194        addr: 10.118.3.1
     195        claimed: False
     196        fpga: XG
     197        mgmt_addr: 10.116.3.1
     198        mgmt_addr: 10.117.3.1
     199        mgmt_addr: 10.118.3.1
     200        name: ni-n3xx-3176DF7
     201        product: n310
     202        type: n3xx
    207203   }}}
    208204}}}
     
    315311For SB1:\\
    316312{{{#!shell
    317 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev4-in1.sb1.cosmos-lab.org"
     313root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev4-in1.sb1.cosmos-lab.org"
     314root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup[b]?dev_name=rfdev4-in1.sb1.cosmos-lab.org"
     315root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev4-in1.sb1.cosmos-lab.org"
    318316root@console:~# omf tell -a offh -t rfdev4-in1.sb1.cosmos-lab.org
     317root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev4-in2.sb1.cosmos-lab.org"
    319318root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev4-in2.sb1.cosmos-lab.org"
     319root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev4-in2.sb1.cosmos-lab.org"
    320320root@console:~# omf tell -a offh -t rfdev4-in2.sb1.cosmos-lab.org
    321321}}}
     
    324324For SB2:\\
    325325{{{#!shell
     326root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev2-1.sb2.cosmos-lab.org"
    326327root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev2-1.sb2.cosmos-lab.org"
     328root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev2-1.sb2.cosmos-lab.org"
    327329root@console:~# omf tell -a offh -t rfdev2-1.sb2.cosmos-lab.org
     330root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev2-1.sb2.cosmos-lab.org"
    328331root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev2-2.sb2.cosmos-lab.org"
     332root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev2-1.sb2.cosmos-lab.org"
    329333root@console:~# omf tell -a offh -t rfdev2-2.sb2.cosmos-lab.org
    330334}}}