OpenWrt – Reduce Hostapd Verbosity

by kacang bawang

A quick note about how to reduce the log level of hostapd, as it tends to dominate log entries in /var/log/messages.

Note: this is on OpenWrt 12.07

The ultimate configuration file for hostapd is placed in /var/run. This file is formed by /lib/wifi/hostapd.sh. In turn, it reads its input from /etc/config/wireless. This daisy chain was not obvious to me. I kept searching in /etc/ without results.

Anyhow, examination of /lib/wifi/hostapd.sh tells us that we need to add this to /etc/config/wireless: