Skip to content

Simplest hostapd.conf

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

Simplest hostapd.conf

To run hostapd, you need a config file. Here’s an example of one of the simplest config files:

interface=wlan0
ssid=hostapd-mana wifi
channel=6
hw_mode=g
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
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.

There are many other options you can set. These are detailed in the [sample hostapd.conf]https://github.com/sensepost/hostapd-mana/blob/master/hostapd/hostapd.conf

Clone this wiki locally