Forum Navigation
Please or Register to create posts and topics.

Test rig setup instructions

Relates to test rig in the link below.

Our New Test Rig

What you need:

  • Test rig - wood, screws
  • 2x Raspberry Pi with their respective chargers
  • 7 inch screen - with USB-A to micro-USB cable, HDMI to HDMI cable, HDMI to micro-USB cables
  • Power supply for ethernet switch
  • Ethernet switch
  • USB Keyboard



  1. Screw in the 7 inch screen (ensure that the cables are coming out of the right side as this means the screen is the right way up). Then screw in Pis, ensuring that at least one fo the Pis is close to the ends of the cables connected to the 7inch screen.
  2. Chose of the Raspberry Pis to be the ‘master’, power it and plug it into the 7inch screen by connecting the USB-A to USB-A to one of the USB ports on the Pi and the HMDI to micro-USB to ‘HDMI0’ micro-USB port. Do not connect the screen to the ‘HDMI1’. micro-USB port! One should see that the RaspbianOS is booted on the screen.
  3. Connect the USB keyboard to the ‘master’ Pi via USB.
  4. Power up the other Pi (the ‘slave’ PI). On the ‘master’ Pi, touch the ‘terminal’ icon in the topbar and run command ‘ifconfig’. From this, look at the ‘wlan0’ network and note the IP address of the device (something like ‘’). Because you powered in the ‘master’ Pi before the ‘slave’ Pi, the ‘slave’ Pi will have an IP address of + E.g. ‘master’ IP =, ‘slave’ IP =
  5. On the ‘master’ terminal, run ‘ssh pi@<slave IP address>’, enter ‘yes’ for manual authentication and enter the password ‘raspberry’. You are now in control of the ‘slave’ raspberry from the terminal of the ‘master’. Open a new terminal and put them side by side on the screen. You now have a ‘slave’ controlling terminal and a ‘master’ controlling terminal - confirm this with command ‘ifconfig’ in the ‘slave’ terminal..
  6. Connect the two Pis to an ethernet network by connecting them to a powered BotBlox ethernet switch. Note down the ports used and wait a few moments.
  7. Run the command ‘ifconfig’ on both terminals and look at the ‘eth0’ network. You should notice two IP address assigned on the ethernet network (something like 
  8. On the ‘slave’ terminal, run ‘iperf3 -s’ to set up an iperf server - this should run in the foreground continuously until Ctrl+C force exit - leave it listening in the foreground till the test is over. On the ‘master’ run command ‘iperf3 -c <slave ethernet IP address>’ and you will see a TCP/IP network test run!
  9. For UDP/IP tests, leave the ‘slave’ terminal as a listening server and run ‘iperf3 -c <slave ethernet IP address> -u -b 100m’ if you want to test 100Mbit/s ethernet (i.e. SwitchBlox) OR  ‘iperf3 -c <slave ethernet IP address> -u -b 1000m’ if you want to test 1000Mbit/s ethernet (i.e. GigaBlox). 
  10. Use the ‘-t <length of the test in seconds>’ to run a longer or shorter test - simply append ‘-t <length of the test in seconds>’ to the run commands listed in step (8).
  11. Try a new port pair and repeat the process. You just plug the ethernet wires in and out of the SwitchBlox to new pairs and rerun the command on the ‘master’ Pi - no other configuration should be needed.