From 23551d56ac3265e9c6406ec36d18689b1dcb964b Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 14 May 2025 18:58:22 -0600 Subject: [PATCH] Installing and enabling iperf3 for terminal speed testing of the network. --- debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot | 3 +++ debian-live-config/config/package-lists/wrolpi.list.chroot | 3 ++- pi-gen/stage2/04-wrolpi/01-packages | 3 ++- pi-gen/stage2/04-wrolpi/03-run-chroot.sh | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot b/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot index 6895a90d..1b5f5d14 100644 --- a/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot +++ b/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot @@ -65,6 +65,9 @@ cp /opt/wrolpi/etc/raspberrypios/motd_first /etc/motd # NetworkManager for the hotspot. systemctl enable NetworkManager +# Enable iperf3 for speed testing. +systemctl enable iperf3 + set +x echo diff --git a/debian-live-config/config/package-lists/wrolpi.list.chroot b/debian-live-config/config/package-lists/wrolpi.list.chroot index 4869ac3c..ef10efa6 100644 --- a/debian-live-config/config/package-lists/wrolpi.list.chroot +++ b/debian-live-config/config/package-lists/wrolpi.list.chroot @@ -32,6 +32,7 @@ gpsd hostapd htop iotop +iperf3 kiwix kiwix-tools libagg-dev @@ -101,4 +102,4 @@ vim vlc wget wpasupplicant -zim-tools \ No newline at end of file +zim-tools diff --git a/pi-gen/stage2/04-wrolpi/01-packages b/pi-gen/stage2/04-wrolpi/01-packages index e3020583..1f96d62c 100644 --- a/pi-gen/stage2/04-wrolpi/01-packages +++ b/pi-gen/stage2/04-wrolpi/01-packages @@ -32,6 +32,7 @@ gpsd gpsd-tools hostapd iotop +iperf3 kiwix kiwix-tools libagg-dev @@ -98,4 +99,4 @@ unzip vim vlc wget -zim-tools \ No newline at end of file +zim-tools diff --git a/pi-gen/stage2/04-wrolpi/03-run-chroot.sh b/pi-gen/stage2/04-wrolpi/03-run-chroot.sh index ea9c8eab..06e6e4c4 100755 --- a/pi-gen/stage2/04-wrolpi/03-run-chroot.sh +++ b/pi-gen/stage2/04-wrolpi/03-run-chroot.sh @@ -58,6 +58,9 @@ cp /opt/wrolpi/etc/raspberrypios/motd_first /etc/motd # NetworkManager for the hotspot. systemctl enable NetworkManager +# Enable iperf3 for speed testing. +systemctl enable iperf3 + set +x echo