I try to create an access point with my Raspberry 3 with the new Raspian strech lite (2017-09-07-raspbian-stretch-lite.img)
In this version, we don't use the /etc/network/interfaces file. So most of the documentation on internet is obsolete.
My problem:
dnsmasq seems to start BEFORE the wlan0 interface is ready. So it fail:
Code: Select all
nov. 23 08:22:12 jlACE systemd[1]: Starting dnsmasq - A lightweight DHCP and cac
nov. 23 08:22:13 jlACE dnsmasq[514]: dnsmasq: vérification de syntaxe OK.
nov. 23 08:22:13 jlACE dnsmasq[535]: dnsmasq: interface wlan0 inconnue
nov. 23 08:22:13 jlACE systemd[1]: dnsmasq.service: Control process exited, code
nov. 23 08:22:13 jlACE systemd[1]: Failed to start dnsmasq - A lightweight DHCP
nov. 23 08:22:13 jlACE systemd[1]: dnsmasq.service: Unit entered failed state.
nov. 23 08:22:13 jlACE systemd[1]: dnsmasq.service: Failed with result 'exit-cod
Code: Select all
sudo systemctl restart dnsmasq.service
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Active: active (running) since Thu 2017-11-23 08:53:21 CET; 30s ago
Is there a way to say to dnsmasq to start AFTER wlan0 become ready to use ?