Skip to content

Simplest hostapd.conf

Dominic White edited this page Jul 23, 2018 · 4 revisions

To run hostapd, you need a config file. Here’s an example of a very simple config file:

interface=wlan0
ssid=hostapd-mana wifi
channel=6
hw_mode=g

This will:

  • create an open access point

  • on the device wlan0

  • with the name "hostapd-mana wifi"

  • It will run in 802.11g in the 2.4GHz spectrum

  • on channel 6.

None of these options are mana-specific, these are hostapd core options.

There are many other options you can set. These are detailed in the sample hostapd.conf