summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2025-04-11 11:10:38 +0200
committerStefan Eichenberger <eichest@gmail.com>2025-04-11 11:21:19 +0200
commite4dc40da3fe4c2dfd3bc9382aca86a96e84357ba (patch)
tree40e55de697b8c965d5e31831d7180567f984d8eb
parent168339bb80da694a793de5bd2dbbffdeaae5101d (diff)
hostapd: Make hostapd-example network optional for online state
The hostapd-example network is not always present or required for the system's network connectivity to be considered generally "online" by systemd-networkd. However, the current configuration requires it. Therefore, set 'RequiredForOnline=no' in the 'hostapd-example.network' configuration file. This ensures that systemd-networkd-wait-online.service can still succeed and the network-online.target can be reached even if the RNDIS interface is not available or configured. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.network5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.network b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.network
index b498584f..30442b32 100644
--- a/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.network
+++ b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.network
@@ -1,5 +1,10 @@
[Match]
Name=uap0
+
+[Link]
+# This link is not required to end in network-online.target
+RequiredForOnline=no
+
[Network]
Address=192.168.8.1/24
DHCPServer=yes