summaryrefslogtreecommitdiff
path: root/fw/simulate-network.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-07-26 21:43:38 +0200
committerxengineering <me@xengineering.eu>2025-07-26 21:43:38 +0200
commit288d036a8bcc83ef9bb310256e0813f122b5e41b (patch)
treecd78f811e007bd9244c8bf1b898ecf0bb8cb0f8f /fw/simulate-network.sh
parent11078651756014631166cb8f0bf2d8bce18e56d1 (diff)
downloadiot-contact-288d036a8bcc83ef9bb310256e0813f122b5e41b.tar
iot-contact-288d036a8bcc83ef9bb310256e0813f122b5e41b.tar.zst
iot-contact-288d036a8bcc83ef9bb310256e0813f122b5e41b.zip
fw: Document TAP iface with NetworkManager
This will be moved later to the user documentation so that the native sim build of the application firmware can easily be used on Linux machines using NetworkManager.
Diffstat (limited to 'fw/simulate-network.sh')
-rwxr-xr-xfw/simulate-network.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/simulate-network.sh b/fw/simulate-network.sh
index 1f28a03..880a5f9 100755
--- a/fw/simulate-network.sh
+++ b/fw/simulate-network.sh
@@ -17,6 +17,11 @@
# escalation program to call this script like this:
#
# sudo ./simulate-network.sh
+#
+# The creation of a TAP interface can be done persistently with NetworkManager
+# too:
+#
+# nmcli connection add type tun con-name zeth ifname zeth mode tap
set -euf