gpt4 book ai didi

wifi - hostapd 调试级别配置

转载 作者:行者123 更新时间:2023-12-04 11:36:15 24 4
gpt4 key购买 nike

据我目前所知,hostapd 是一个二进制文件,可以进行一些网络配置。

但是,要启用 hostapd 调试级别,我是否需要重建二进制文件?我可以采取其他方法而不是重建新方法吗?

最佳答案

正在执行 hostapd没有参数表明指定 -d-dd启用调试消息:

-d show more debug messages (-dd for even more)



也可以通过 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=2

关于wifi - hostapd 调试级别配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32205140/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com