23 | | === Setup === |
| 24 | Follow the steps below to gain access to the [wiki:/hardware/Domains/sb1 sandbox 1 console] and set up nodes with appropriate images. |
| 25 | 1. If you don't have one already, sign up for a [https://www.cosmos-lab.org/portal-2/ COSMOS account] |
| 26 | 1. [Documentation/Short/CreateRes Create a resource reservation] on sandbox 1 |
| 27 | 1. [Documentation/Short/Login Login] into sandbox 1 console (console.sb1.cosmos-lab.org) with two SSH sessions. |
| 28 | 1. Make sure all the nodes and devices used in the experiment are turned off: |
| 29 | {{{#!shell |
| 30 | omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev3-1,rfdev3-2,rfdev3-5,rfdev3-6 |
| 31 | }}} |
| 32 | 1. The image rfnoc_wigig.ndz has aforementioned RFNoC 802.11ad preamble processing blocks and Sivers control software installed. |
| 33 | Load rfnoc_wigig.ndz on srv3,srv4. |
| 34 | {{{#!shell |
| 35 | omf load -i rfnoc_wigig.ndz -t srv3-lg1,srv4-lg1 |
| 36 | }}} |
| 37 | 1. Turn all the required resources on and check the status |
| 38 | {{{#!shell |
| 39 | omf tell -a on -t srv3-lg1,srv4-lg1,rfdev3-1,rfdev3-2,rfdev3-5,rfdev3-6 |
| 40 | }}} |
| 41 | {{{#!shell |
| 42 | omf stat -t system:topo:allres |
| 43 | }}} |
| 44 | 1. ssh to the nodes, use option -Y for using GUI. |
42 | | * Check the status |
43 | | {{{#!shell |
44 | | omf stat -t system:topo:allres |
45 | | }}} |
46 | | |
47 | | |
48 | | {{{#!shell-session |
49 | | ----------------------------------------------- |
50 | | Node: rfdev1-1.sb1.cosmos-lab.org State: POWERON |
51 | | Node: rfdev1-2.sb1.cosmos-lab.org State: POWERON |
52 | | Node: rfdev2-1.sb1.cosmos-lab.org State: POWERON |
53 | | Node: rfdev2-2.sb1.cosmos-lab.org State: POWERON |
54 | | Node: rfdev3-1.sb1.cosmos-lab.org State: POWERON |
55 | | Node: rfdev3-2.sb1.cosmos-lab.org State: POWERON |
56 | | Node: rfdev3-3.sb1.cosmos-lab.org State: POWERON |
57 | | Node: rfdev3-4.sb1.cosmos-lab.org State: POWERON |
58 | | Node: rfdev3-5.sb1.cosmos-lab.org State: POWERON |
59 | | Node: rfdev3-6.sb1.cosmos-lab.org State: POWERON |
60 | | Node: sdr1-md1.sb1.cosmos-lab.org State: POWERON |
61 | | Node: sdr1-s1-lg1.sb1.cosmos-lab.org State: POWERON |
62 | | Node: sdr2-md1.sb1.cosmos-lab.org State: POWERON |
63 | | Node: sdr2-s1-lg1.sb1.cosmos-lab.org State: POWERON |
64 | | Node: srv1-lg1.sb1.cosmos-lab.org State: POWERON |
65 | | Node: srv2-lg1.sb1.cosmos-lab.org State: POWERON |
66 | | Node: srv3-lg1.sb1.cosmos-lab.org State: POWERON |
67 | | Node: srv4-lg1.sb1.cosmos-lab.org State: POWERON |
68 | | ----------------------------------------------- |
69 | | }}} |
70 | | |
71 | | * ssh to the nodes in 2 terminal sessions, use option -Y if using GUI. |
72 | | {{{#!shell |
73 | | ssh root@srv3-lg1 -Y |
74 | | }}} |
75 | | |
76 | | * The IP addresses for Ethernet Port 1(10G) on the X310s sdr2-md2 and sdr2-md3 were hard-coded to 10.115.2.2 and 10.115.2.3 respectively. To access them from srv3-lg1 or srv4-lg1, configure the network interface as follows |
| 50 | * The IP addresses for Ethernet Port 1(10G) on the X310s rfdev3-1 and rfdev3-2 were hard-coded to 10.115.2.2 and 10.115.2.3 respectively. To access them from srv3-lg1 or srv4-lg1, configure the network interface enp1s0 as follows |
78 | | root@srv2-lg1:~# ifconfig eno2 10.115.1.1 netmask 255.255.0.0 mtu 9000 up |
79 | | root@srv2-lg1:~# ifconfig -a |
80 | | eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
81 | | inet6 fe80::9a03:9bff:fe61:b0b0 prefixlen 64 scopeid 0x20<link> |
82 | | ether 98:03:9b:61:b0:b0 txqueuelen 1000 (Ethernet) |
83 | | RX packets 802837 bytes 110409834 (110.4 MB) |
84 | | RX errors 0 dropped 691507 overruns 0 frame 0 |
85 | | TX packets 22003 bytes 6983546 (6.9 MB) |
| 52 | root@srv3-lg1:~# ifconfig enp1s0 10.115.1.1 netmask 255.255.0.0 mtu 9000 up |
| 53 | root@srv3-lg1:~# ifconfig enp1s0 |
| 54 | enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 |
| 55 | inet 10.115.1.1 netmask 255.255.0.0 broadcast 10.115.255.255 |
| 56 | inet6 fe80::f652:14ff:fe83:b930 prefixlen 64 scopeid 0x20<link> |
| 57 | ether f4:52:14:83:b9:30 txqueuelen 1000 (Ethernet) |
| 58 | RX packets 2839670 bytes 20838442698 (20.8 GB) |
| 59 | RX errors 0 dropped 0 overruns 0 frame 0 |
| 60 | TX packets 78864 bytes 6661472 (6.6 MB) |
87 | | |
88 | | eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 |
89 | | inet 10.115.1.1 netmask 255.255.0.0 broadcast 10.115.255.255 |
90 | | inet6 fe80::9a03:9bff:fe61:b0b1 prefixlen 64 scopeid 0x20<link> |
91 | | ether 98:03:9b:61:b0:b1 txqueuelen 1000 (Ethernet) |
92 | | RX packets 4661357820 bytes 37005247545892 (37.0 TB) |
93 | | RX errors 0 dropped 692293 overruns 0 frame 0 |
94 | | TX packets 59454137 bytes 3576874343 (3.5 GB) |
95 | | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
96 | | |
97 | | enp94s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
98 | | inet 10.113.1.2 netmask 255.255.0.0 broadcast 10.113.255.255 |
99 | | inet6 fe80::6a05:caff:fe1e:e595 prefixlen 64 scopeid 0x20<link> |
100 | | ether 68:05:ca:1e:e5:95 txqueuelen 1000 (Ethernet) |
101 | | RX packets 2580061 bytes 179676082 (179.6 MB) |
102 | | RX errors 0 dropped 0 overruns 0 frame 0 |
103 | | TX packets 3041138 bytes 918629092 (918.6 MB) |
104 | | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
105 | | device interrupt 38 memory 0xb8880000-b88a0000 |
106 | | |
107 | | lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 |
108 | | inet 127.0.0.1 netmask 255.0.0.0 |
109 | | inet6 ::1 prefixlen 128 scopeid 0x10<host> |
110 | | loop txqueuelen 1000 (Local Loopback) |
111 | | RX packets 190683 bytes 17539929 (17.5 MB) |
112 | | RX errors 0 dropped 0 overruns 0 frame 0 |
113 | | TX packets 190683 bytes 17539929 (17.5 MB) |
114 | | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
115 | | |
135 | | ==== Prepare Sivers front-ends ==== |
136 | | * To demonstrate the experiment here, we use Sivers front-end SN0243 as transmitter and SN0240 as receiver |
137 | | * Configure SN0243 as transmitter using "TX enable" on the GUI |
| 83 | || SN0240 as transmitter || SN0243 as receiver || |
| 84 | || root@srv4-lg1:~/ederenv# ./start_mb1.sh --gui SN0240 || root@srv3-lg1:~/ederenv# ./start_mb1.sh --gui SN0243 || |
| 85 | || Click "TX enable" and "LO leakage Cal" || Click "RX enable" || |
| 86 | || [[Image(Sivers_TX_SN0240.jpg, 500px)]] || [[Image(Sivers_RX_SN0243.jpg, 500px)]] || |
| 87 | |
| 88 | * Make sure the RF switch boxes are configured to use X310s (all switches set to port 1) |
139 | | root@srv3-lg1:~/ederenv# ./start_mb1.sh --gui SN0243 |
| 90 | root@console:~# curl am1.cosmos-lab.org:5054/rf_switch/status?name=rfsw1.sb1.cosmos-lab.org,rfsw2.sb1.cosmos-lab.org |
| 91 | |
| 92 | <response status="OK"> |
| 93 | <rf_switch name="rfsw1.sb1.cosmos-lab.org" num_of_switches="4"> |
| 94 | <switch number="1" port="1"/> |
| 95 | <switch number="2" port="1"/> |
| 96 | <switch number="3" port="1"/> |
| 97 | <switch number="4" port="1"/> |
| 98 | </rf_switch> |
| 99 | <rf_switch name="rfsw2.sb1.cosmos-lab.org" num_of_switches="4"> |
| 100 | <switch number="1" port="1"/> |
| 101 | <switch number="2" port="1"/> |
| 102 | <switch number="3" port="1"/> |
| 103 | <switch number="4" port="1"/> |
| 104 | </rf_switch> |
| 105 | </response> |