I use raspberry pi 3. I have followed the official documentation + some troubleshooting to get it to work. I will share my configuration files. I have a suspicion that it has something to do with my /etc/dnsmasq.conf, but I am not sure.

My /etc/dhcpcd.conf

interface wlan0
static ip_address=
static routers=
static domain_name_servers=

My /etc/dnsmasq.conf


My /etc/hostapd/hostapd.conf


* Note that ssid and wpa_passphrase are not real

My /etc/default/hostapd


This is where I stopped following the documentation because I don't need internet access just the access point.

I left on my access point overnight and another raspberry connected to it. When I checked it the following day myssid was not showing and I have no idea why after I executed the following commands the access point was working again.

sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd
sudo reboot

Does my problem has something to do with this line dhcp-range=,,12h in /etc/dnsmasq.conf?

  • I had issues once with hostapd, which I couldn't solve. So I changed to systemd-networkd and wpa_supplicant and things are working since then. I followed this tutorial.
    – jake
    Aug 2, 2019 at 11:19
  • Thank you @jake will try it because the access point mustn't stop working.
    – Stu076
    Aug 2, 2019 at 11:25

1 Answer 1


The installation of hostapd has changed since its latest update. If you have installed it with sudo apt install hostapd then its service is masked now. You have to configure it first and then unmask and enable it what you have done later. It should work now. I do not understand why it works the first time.

  • I did do that but after some time it stops working
    – Stu076
    Aug 5, 2019 at 4:36
  • @Stu076 do you get some information with systemctl status hostapd.service and systemctl status systemd-networkd.service?
    – Ingo
    Aug 5, 2019 at 8:24
  • Yes, their status is active (running)
    – Stu076
    Aug 5, 2019 at 8:35
  • @Stu076 That is trivial. I mean do you see some error messages/hints when the access point fails. You have to read the rest of the output. Can you please paste the output of the two commands into your question when the access point fails?
    – Ingo
    Aug 5, 2019 at 9:24
  • I think there were not any error messages. I tried jake's tutorial and is far better than the official one as it meets our company needs
    – Stu076
    Aug 5, 2019 at 10:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.