到目前为止,据我所知,hostapd是一个能够执行某些网络配置的二进制文件。
但是,要启用hostapd调试级别,我需要重新构建二进制文件吗?有没有其他方法可以代替重建一个新的方法?
发布于 2015-08-26 00:50:50
在不带参数的情况下执行hostapd表明,指定-d或-dd将启用调试消息:
-d显示更多调试消息(-dd提供更多)
还可以通过hostapd's configuration file配置事件记录器的详细信息
# hostapd event logger configuration
#
# Two output method: syslog and stdout (only usable if not forking to
# background).
#
# Module bitfield (ORed bitfield of modules that will be logged; -1 = all
# modules):
# bit 0 (1) = IEEE 802.11
# bit 1 (2) = IEEE 802.1X
# bit 2 (4) = RADIUS
# bit 3 (8) = WPA
# bit 4 (16) = driver interface
# bit 5 (32) = IAPP
# bit 6 (64) = MLME
#
# Levels (minimum value for logged events):
# 0 = verbose debugging
# 1 = debugging
# 2 = informational messages
# 3 = notification
# 4 = warning
#
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2https://stackoverflow.com/questions/32205140
复制相似问题