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/mosquitto.conf | 7 ------- fw/radvd.conf | 16 ---------------- fw/sim/srv/mosquitto.conf | 7 +++++++ fw/sim/srv/radvd.conf | 16 ++++++++++++++++ 4 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 fw/mosquitto.conf delete mode 100644 fw/radvd.conf create mode 100644 fw/sim/srv/mosquitto.conf create mode 100644 fw/sim/srv/radvd.conf (limited to 'fw') diff --git a/fw/mosquitto.conf b/fw/mosquitto.conf deleted file mode 100644 index 5bc3c01..0000000 --- a/fw/mosquitto.conf +++ /dev/null @@ -1,7 +0,0 @@ -# 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/radvd.conf b/fw/radvd.conf deleted file mode 100644 index 98c703f..0000000 --- a/fw/radvd.conf +++ /dev/null @@ -1,16 +0,0 @@ -# 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; - }; -}; 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