From 467be807cde370b1ec6f514bcb519842140c192f Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 30 Jul 2025 11:55:19 +0200 Subject: fw: sim: srv: Move server configs here This folder should explain how to setup the network environment for the firmware simulation. --- fw/sim/srv/mosquitto.conf | 7 +++++++ fw/sim/srv/radvd.conf | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 fw/sim/srv/mosquitto.conf create mode 100644 fw/sim/srv/radvd.conf (limited to 'fw/sim') diff --git a/fw/sim/srv/mosquitto.conf b/fw/sim/srv/mosquitto.conf new file mode 100644 index 0000000..5bc3c01 --- /dev/null +++ b/fw/sim/srv/mosquitto.conf @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +listener 1883 +bind_interface zeth +allow_anonymous true diff --git a/fw/sim/srv/radvd.conf b/fw/sim/srv/radvd.conf new file mode 100644 index 0000000..98c703f --- /dev/null +++ b/fw/sim/srv/radvd.conf @@ -0,0 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +interface zeth +{ + AdvSendAdvert on; + MinRtrAdvInterval 3; + MaxRtrAdvInterval 10; + AdvDefaultPreference low; + prefix 2001:db8::/64 + { + AdvOnLink on; + AdvAutonomous on; + }; +}; -- cgit v1.2.3-70-g09d2