meta-digi-dey: init-ifupdown: add commented code for softAP example

Add commented lines as example to configure and run the wlan0 interface in AP
mode using hostapd daemon.

https://jira.digi.com/browse/DEL-2913

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2016-08-23 10:45:27 +02:00
parent 5444d3e8f8
commit d3f1b0b18a
2 changed files with 4 additions and 0 deletions

View File

@ -4,3 +4,5 @@ iface wlan0 inet dhcp
udhcpc_opts -b
wpa-driver ##WPA_DRIVER##
wpa-conf /etc/wpa_supplicant.conf
# post-up /etc/init.d/hostapd start
# pre-down /etc/init.d/hostapd stop

View File

@ -7,3 +7,5 @@ iface wlan0 inet static
dns-nameservers ##WLAN0_STATIC_DNS##
wpa-driver ##WPA_DRIVER##
wpa-conf /etc/wpa_supplicant.conf
# post-up /etc/init.d/hostapd start
# pre-down /etc/init.d/hostapd stop