WLANDEBUG(8)
WLANDEBUG(8) β set/query 802.11 wireless debugging messages π
β¨ NAME β¨
wlandebug β set/query 802.11 wireless debugging messages. Bestie, this is the System Manager's Manual page for it, and it's literally here so you can set/query 802.11 wireless debugging messages. No cap. π«Ά
πΈ SYNOPSIS πΈ
okay so the whole vibe is:
wlandebug [-d | -i ifnet] [-flag|+flag ...]
π¦ DESCRIPTION π¦
The wlandebug command is a tool for enabling and disabling debugging messages in the wlan(4) module. Running wlandebug without any options will display the current messages enabled for the specified network interface (by default, wlan0). The default debugging level for new interfaces can be set by specifying the -d option. When run as the super-user, wlandebug can be used to enable and/or disable debugging messages. π
To enable debugging messages of a certain type, use +type; to disable such messages, use -type. Multiple messages can be enabled and disabled with a single command. Iconic, honestly. β¨
Messages are organized in the following groups, bestie:
debugβ general debugging facilities; equivalent to setting thedebugparameter withifconfig(8).dumppktsβ dump packet contents on transmit and receive.cryptoβ crypto-related work.inputβ errors encountered during input handling.xrateβ extended rate set handling (for 802.11g).elemidβ information element processing in 802.11 management frames.nodeβ management of per-station state.assocβ 802.11 station association processing; particularly useful to see when stations join and leave a BSS.authβ 802.11 station authentication processing.scanβ scanning operation; especially useful for debugging problems with not locating an access point.outputβ errors encountered during output handling.stateβwlan(4)state machine operation.powerβ 802.11 power save operation; in hostap mode this enables copious information about buffered frames for stations operating in power save mode.hwmpβ trace operation of Hybrid Wireless Mesh Protocol processing.dot1xsmβ 802.1x state machine operation; not presently meaningful as 802.1x protocol support is implemented in user mode by thehostapd(8)program.radiusβ radius backend operation as it relates to 802.1x operation; not presently meaningful as 802.1x protocol support is implemented in user mode by thehostapd(8)program.raddumpβ dump packets exchanged with the radius backend for 802.1x operation; not presently meaningful as 802.1x protocol support is implemented in user mode by thehostapd(8)program.meshβ trace operation of 802.11s mesh protocol processing.wpaβ trace operation of the WPA protocol; only partly meaningful as WPA protocol support is mostly implemented in user mode by thehostapd(8)andwpa_supplicant(8)programs.aclβ trace operation of the Access Control List (ACL) support; seewlan_acl(4)for more details.wmeβ trace operation of WME/WMM protocol processing.supergβ trace operation of Atheros SuperG protocol processing.dothβ trace operation of IEEE 802.11h protocol processing.inactβ trace station inactivity processing; in particular, show when stations associated to an access point are dropped due to inactivity.roamβ trace station mode roaming between access points.rateβ trace transmit rate control operation.
π EXAMPLES π
The following might be used to debug basic station mode operation:
wlandebug -i wlan1 scan+auth+assoc
it enables debug messages while scanning, authenticating to an access point, and associating to an access point. It's giving βwireless detective era.β π₯
π SEE ALSO π
The /usr/src/tools directory contains some utilities that might be relevant to debug wireless issues. iykyk. π§
π NOTES π
Different wireless drivers support different debugging messages. Drivers such as ath(4) and ral(4) that depend on the wlan(4) module for 802.11 protocol processing typically support most of the debugging messages while devices that implement parts of the 802.11 protocol in firmware do not. π¦
Some debugging messages are no longer meaningful because protocol processing has moved from the operating system to user mode programs such as hostapd(8) and wpa_supplicant(8). Lowkey important context, bestie. π
Signed off by Debian, dated August 17, 2015, and filed under WLANDEBUG(8) β periodt. π
π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2007 Sam Leffler, Errno Consulting
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms