Skip to main content

Running iPerf in Docker on Synology NAS >6.1

I have a DS713+ that supports Docker and needed a way to install an iPerf3 server for WLAN testing. Fortunately, that is pretty easy.

  • Activate SSH on your Synology so you can remote in.
  • Using PuTTY, login as an admin user and type the following:
  • sudo docker pull networkstatic/iperf3 (then type your admin password again)
  • It should present you with a screen similar to the one below. This means the image was downloaded.

    image
  • If you look at Docker on your NAS, you should have the latest iPerf3 image now.

    image
  • Now run the following command to launch a container with an iPerf3 server running in it.
  • sudo docker run -it --rm -p 5201:5201 networkstatic/iperf3 -s (then type your admin password again) or better yet
  • sudo docker run -it --rm --name=iperf3-server -p 5201:5201 networkstatic/iperf3 -s (as this will name the container correctly on your NAS)
  • You should get feedback your iPerf3 server is running

    image
  • You can now run the iPerf client with something like the following transposing the for the IP address of your Synology NAS.
  • Upload:   iperf3 -c -w 640k -P 5 -t 60
    Download:   iperf3 -c -w 640k -P 5 -t 60 -R

    To kill the container, simply use CTRL + C in PuTTY or turn it off using the container switch inside Docker on your NAS.

    Good luck.

    References and thanks to:
    https://hub.docker.com/r/networkstatic/iperf3/
    https://forum.synology.com/enu/viewtopic.php?t=115257
    https://www.shadowandy.net/2017/01/synology-router-rt2600ac-review.htm/7 (my Router!)


Comments

Popular posts from this blog

Using ESPEasy with Home Assistant via MQTT

Preface: I've just started playing around with Home Assistant on a Raspberry Pi and exploring the world of MQTT to control devices on the network. Learning curve is a bit steep but worth the effort as MQTT is very fast. The hardware and software tools I'm using are as follows: 2 x Sonoff relay units 2 x NodeMCU Boards ESPEasy firmware (must be version 121 or above as that contains the MQTT 'retain' flag option. Home Assistant software on Raspberry Pi2 MQTT Test Software: PC: MQTT.fx Android: MQTT Dashboard

My Notepad++ tricks when editing YAML files in Home Assistant

To comment out a whole section in one go: Highlight the text you want to comment out and use CTRL + Q. If you do this at the start of a line, it will only comment that line. CTRL + Q is toggle mode (comment on/off). CTRL + K will allow you to add multiple comments one after the other.

How to check what entities are filling up your Home Assistant database

If you use the Home Assistant MariaDB add-on, this tip will show you how to query the database so see what Home Assistant entity states are triggering the most, filling up your database. What were going to do: Install the phMyAdmin add-on for MariaDB. Query the MariaDB database. See what entity state changes have the most action. Paste the code below into the SQL query box:  select entity_id,count( * ) from states group by entity_id order by count ( * ) desc; And if you're using the internal home-assistant_v2.db instead, you can use the SQLite Web add-on to achieve the same thing.