| 63 | ==== Find and prepare USRPs and the Sounder software ==== |
| 64 | |
| 65 | * The IP addresses for Ethernet Port 1(10G) on {{{sdr2-s1-lg1}}} and {{{sdr2-md1}}} were hard-coded to {{{10.118.2.2}}} and {{{10.118.3.2}}} respectively. To access them from {{{srv2-lg1}}}, configure the network interface {{{eno2}}} as follows: |
| 66 | {{{#!shell |
| 67 | root@srv2-lg1:~# ifconfig eno2 10.118.1.2 netmask 255.255.0.0 mtu 9000 up |
| 68 | root@srv2-lg1:~# sudo sysctl -w net.core.wmem_max=24862979 |
| 69 | net.core.wmem_max = 24862979 |
| 70 | root@srv2-lg1:~# sudo sysctl -w net.core.rmem_max=24862979 |
| 71 | net.core.rmem_max = 24862979 |
| 72 | root@srv2-lg1:~# ifconfig |
| 73 | eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 |
| 74 | inet 10.118.1.2 netmask 255.255.0.0 broadcast 10.118.255.255 |
| 75 | inet6 fe80::9a03:9bff:fe61:9609 prefixlen 64 scopeid 0x20<link> |
| 76 | ether 98:03:9b:61:96:09 txqueuelen 1000 (Ethernet) |
| 77 | RX packets 4053772 bytes 17770502341 (17.7 GB) |
| 78 | RX errors 0 dropped 0 overruns 0 frame 0 |
| 79 | TX packets 1727950 bytes 2972166223 (2.9 GB) |
| 80 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
| 81 | |
| 82 | }}} |
| 83 | |
| 84 | * Run {{{uhd_find_device}}} to make sure that the USRP-2974s can be reached: |
| 85 | {{{#!shell |
| 86 | root@srv2-lg1:~# uhd_find_devices --args="addr=10.118.2.2" |
| 87 | [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.HEAD-0-gaea0e2de |
| 88 | -------------------------------------------------- |
| 89 | -- UHD Device 0 |
| 90 | -------------------------------------------------- |
| 91 | Device Address: |
| 92 | serial: 318F20F |
| 93 | addr: 10.118.2.2 |
| 94 | fpga: XG |
| 95 | name: |
| 96 | product: NI-2974 |
| 97 | type: x300 |
| 98 | |
| 99 | root@srv2-lg1:~# uhd_find_devices --args="addr=10.118.3.2" |
| 100 | [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.HEAD-0-gaea0e2de |
| 101 | -------------------------------------------------- |
| 102 | -- UHD Device 0 |
| 103 | -------------------------------------------------- |
| 104 | Device Address: |
| 105 | serial: 3165747 |
| 106 | addr: 10.118.3.2 |
| 107 | fpga: XG |
| 108 | name: |
| 109 | product: X310 |
| 110 | type: x300 |
| 111 | }}} |
| 112 | |
| 113 | * Download and build the RENEW Sounder software **on the {{{develop}}} branch** at [https://github.com/renew-wireless/RENEWLab/ here] and follow the [https://docs.renew-wireless.org/dev-suite/design-flows/cpp/sounder/ instructions] to build it. Note that the {{{master}}} branch does not have UHD support. |
| 114 | |
| 115 | * Include in {{{files/usrp-bs-serials.txt}}} the IP address {{{10.118.2.2}}}, i.e., use {{{sdr2-s1-lg1}}} as the base station (BS). In {{{files/usrp-bs-only.json}}}, set {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-s1-lg1}}}. |
| 116 | |
| 117 | * Similarly, in {{{files/usrp-client-only.json}}}, set {{{"sdr_id" : [ "10.118.3.2" ]}}} (i.e., use {{{sdr2-md1}}} as the user) and {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-md1}}}. |
| 118 | |