5 comments on “Setting up hostapd with DNS, DHCP, and WPA encryption

  1. Hi,
    Thanks for the info above regarding hostapd. However, I still can’t get WPA to work for me. I thought maybe you found the magic configuration but using your config still does nothing for me.
    Can you tell me what version of hostapd your running?


  2. Thank you rage for sharing this post. It has greatly helped me configuring hostapd.

    Just one note: in dhcpd configuration files I would suggest adding external well-known DNS servers in order to avoid problems with url resolutions with the local machine:
    (eg. Google’s main DNS)

    option domain-name-servers,

    Have a great day! Cheers!

  3. Some questions: So do I need wpa_supplicant to run hostapd? How to configure the AP-interface in “/etc/conf.d/net”?

  4. Pingback: gentoo wifi ap / repeater

Leave a Reply

Your email address will not be published. Required fields are marked *