summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-05-14 18:27:09 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-05-14 18:27:09 +0200
commite3d318e0775ea80413f619f691c1c33b57ffa24b (patch)
tree0329986f1c9cfb9d1fd8f055added6c0c1b635bc
parentb794d3050e6ca28c45eec5f57586850c2084b379 (diff)
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 <philippe.schenker@toradex.com>
-rw-r--r--recipes-connectivity/hostapd/hostapd/hostapd.service8
1 files changed, 8 insertions, 0 deletions
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