Changes between Version 60 and Version 61 of Tutorials/Wireless/mmwave Paam Basics
- Timestamp:
- Jul 18, 2024, 8:29:49 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/mmwave Paam Basics
v60 v61 60 60 omf tell -a offh -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1 61 61 }}} 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-lg162 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 65 65 }}} 66 66 1. Turn all the required resources on and check the status of all the resources. Use the following commands for SB1 and SB2. … … 81 81 === Experiment Execution === 82 82 ==== Find and prepare USRPs ==== 83 84 Updated eth_config.sh script:85 {{{#!shell86 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_489 ifconfig DATA1 10.$(($ipaddr_2 + 1)).$ipaddr_3_4 netmask 255.255.0.0 mtu 9000 up90 ifconfig DATA2 10.$(($ipaddr_2 + 2)).$ipaddr_3_4 netmask 255.255.0.0 mtu 9000 up91 sysctl -w net.core.rmem_max=6250000092 sysctl -w net.core.wmem_max=6250000093 }}}94 83 95 84 * 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]. … … 144 133 145 134 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: 147 136 {{{#!td 148 137 SB1 149 138 {{{#!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-release139 root@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 152 141 -------------------------------------------------- 153 142 -- UHD Device 0 154 143 -------------------------------------------------- 155 144 Device 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 164 155 -------------------------------------------------- 165 156 -- UHD Device 1 166 157 -------------------------------------------------- 167 158 Device 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 176 169 }}} 177 170 }}} … … 179 172 SB2 180 173 {{{#!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 174 root@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 -------------------------------------------------- 179 Device 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 -------------------------------------------------- 192 Device 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 207 203 }}} 208 204 }}} … … 315 311 For SB1:\\ 316 312 {{{#!shell 317 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev4-in1.sb1.cosmos-lab.org" 313 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev4-in1.sb1.cosmos-lab.org" 314 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup[b]?dev_name=rfdev4-in1.sb1.cosmos-lab.org" 315 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev4-in1.sb1.cosmos-lab.org" 318 316 root@console:~# omf tell -a offh -t rfdev4-in1.sb1.cosmos-lab.org 317 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev4-in2.sb1.cosmos-lab.org" 319 318 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev4-in2.sb1.cosmos-lab.org" 319 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev4-in2.sb1.cosmos-lab.org" 320 320 root@console:~# omf tell -a offh -t rfdev4-in2.sb1.cosmos-lab.org 321 321 }}} … … 324 324 For SB2:\\ 325 325 {{{#!shell 326 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev2-1.sb2.cosmos-lab.org" 326 327 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev2-1.sb2.cosmos-lab.org" 328 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev2-1.sb2.cosmos-lab.org" 327 329 root@console:~# omf tell -a offh -t rfdev2-1.sb2.cosmos-lab.org 330 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/connect?dev_name=rfdev2-1.sb2.cosmos-lab.org" 328 331 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/cleanup?dev_name=rfdev2-2.sb2.cosmos-lab.org" 332 root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/disconnect?dev_name=rfdev2-1.sb2.cosmos-lab.org" 329 333 root@console:~# omf tell -a offh -t rfdev2-2.sb2.cosmos-lab.org 330 334 }}}