From e3d318e0775ea80413f619f691c1c33b57ffa24b Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Thu, 14 May 2020 18:27:09 +0200 Subject: hostapd: hostapd-service: Add comment about hostapd startup reliability Add a comment to hostapd.service that explains how hostapd can be started reliable on our demo images and point to a source where it is explained more. Related-to: ELB-1303 Signed-off-by: Philippe Schenker --- recipes-connectivity/hostapd/hostapd/hostapd.service | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'recipes-connectivity') diff --git a/recipes-connectivity/hostapd/hostapd/hostapd.service b/recipes-connectivity/hostapd/hostapd/hostapd.service index 151c050..7cb308c 100644 --- a/recipes-connectivity/hostapd/hostapd/hostapd.service +++ b/recipes-connectivity/hostapd/hostapd/hostapd.service @@ -1,6 +1,14 @@ [Unit] Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator After=network.target +# If using Toradex's demo-image, the default After=network.target should be +# overwritten with the below provided BindsTo and After lines to reliably start +# hostapd. +# Please refer to the developer website for further information: +# https://developer.toradex.com/knowledge-base/wi-fi-access-point-mode +# +# BindsTo=sys-subsystem-net-devices-uap0.device +# After=sys-subsystem-net-devices-uap0.device [Service] Type=forking -- cgit v1.2.3