Skip to content

Instantly share code, notes, and snippets.

@zupo
zupo / synology_iperf3.md
Last active March 6, 2025 00:39
Synology NAS with DSM 7.1 that starts iperf3 at startup

Synology NAS with DSM 7.1 that starts iperf3 at startup

I wanted to run iperf3 on my Synology NAS to monitor WiFi speeds on different devices around my location.

Steps to install iperf3 are:

  1. Follow https://synocommunity.com/#easy-install to install SynoCommunity package repository.
  2. Log into DSM, Package Center -> Community -> SynoCli Monitor Tools -> Install.
  3. Temporarily enable SSH via Control Panel -> Terminal -> Enable SSH Service
  4. SSH into the NAS:
@kampfgnu
kampfgnu / mkvextractTracks.sh
Last active March 13, 2024 05:19
batch extract subtitles from mkv files
#!/bin/bash -e
# a script that extracts the subtitle file of every mkv movie file and saves it with the same name
# copy to the folder where the mkv files live and run "./mkvextractTracks.sh" in terminal
# options: [trackID]
# example: ./mkvextractTracks.sh 1
#
# info:
# mkvextract is used to extract the subtitles, so mkvtoolnix app (which contains the mkvextract binary) is used:
# https://mkvtoolnix.download/downloads.html