christianix.de

-> Main -> Access Point Tutorial -> hostapd.conf

interface=wlan0
driver=nl80211

# Module bitfield: -1 = all
logger_syslog=-1
# Levels: 0 (verbose debug), 1 (debug), 2 (info), 3 (notify), 4 (warning)
logger_syslog_level=2
# Module bitfield: -1 = all
logger_stdout=-1
# Levels: 0 (verbose debug), 1 (debug), 2 (info), 3 (notify), 4 (warning)
logger_stdout_level=4

# Dump file for state information (on SIGUSR1)
dump_file=/tmp/hostapd.dump

# Interface for separate control program.
ctrl_interface=/var/run/hostapd

# SSID to be used in IEEE 802.11 management frames
ssid=XXX

# Country code (ISO/IEC 3166-1).
#country_code=US

# Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g)
hw_mode=b

# Channel number (IEEE 802.11)
channel=1

# Maximum number of stations allowed in station table.
max_num_sta=16

# MAC address filter: 0 (allow if not denied), 1 (deny if not allowed), 2 (radius)
macaddr_acl=0

# Hide SSID: 0 (don't), 1 (use emtpy), 2 (use ASCII 0)
ignore_broadcast_ssid=0

# Enable WPA (1), WPA2 (2) or both (3)
wpa=3

# WPA pre-shared key (8..63 ASCII passphrase)
wpa_passphrase=XXX

# Set of accepted cipher suites
wpa_pairwise=TKIP CCMP

Verantwortlich/Responsible: Martin Christian (martin at christianix dot de)