SNMP_WLAN(3)
β¨ SNMP_WLAN β the wireless networking module for bsnmpd(1) β¨
okay so bestie, this is the man page for snmp_wlan(3) β the wireless networking module for bsnmpd(1). it lives in the Library Functions Manual section and honestly? it's giving "let me manage your virtual wireless interfaces from SNMP" and we're obsessed. π¦
π LIBRARY π
(begemotSnmpdModulePath."wlan" = /usr/lib/snmp_wlan.so)
that's the exact path it lives at, no cap. π
π DESCRIPTION π
The snmp_wlan module implements a private BEGEMOT-WIRELESS-MIB, which lets you manage virtual wireless interfaces. The MIB defines objects similar to the state data and configuration capabilities of ifconfig(8) for configuring virtual wireless interfaces.
so likeβ¦ it can configure your virtual wireless interfaces the same way ifconfig(8) does. which is why, and I'm being so serious right now β one should consider adding write communities or loading the snmp_wlan module on systems where security is crucial. π₯
β οΈ literally read that again. write access to this thing is powerful. treat it with main character energy and lock it down. π
πΈ IMPLEMENTATION NOTES πΈ
A short description of the Tables and interesting objects in the MIB follows. buckle up bestie, there's a lot of tables and they're all iconic:
wlanInterfaceTableβ The table is used for creation and deletion of virtual wireless interfaces. To add a new interface, a SET should be executed on thewlanIfaceNamecolumn with value the desired name of the interface. Next the parent interface must be set viawlanParentIfNamecolumn. Any optional parameters may be set via thewlanIfaceOperatingMode,wlanIfaceFlags,wlanIfaceBssidandwlanIfaceLocalAddresscolumns. To finally create the interface in the system, a SET with value ofactive(1)towlanIfaceStatuscolumn should be executed. To destroy a wireless interface a SET with value ofdestroy(6)to the relevantwlanIfaceStatuscolumn should be executed.wlanIfParentTableβ The table contains information about the hardware capabilities of the parent of a wireless interface.wlanIfaceConfigTableβ The table is used to get or set various configuration parameters for a virtual wireless interface. Depending on the operating mode of the interface and the hardware capabilities of the underlying hardware interface, not all parameters and values may be supported. π (so don't come for it when a parameter isn't supported, it's the hardware's fault fr fr)wlanIfacePeerTableβ The table contains information about the associated stations for interfaces operating as access points, or the stations identified as neighbors in the IBSS for interfaces operating in adhoc mode.wlanIfaceChannelTableβ Information about the active channels for the wireless interfaces in the system.wlanIfRoamParamsTableβ The parameters that govern the roaming operation on the wireless interfaces.wlanIfTxParamsTableβ The parameters that govern the transmit operation on the wireless interfaces.wlanScanConfigTableβ The table that contains a configuration for channel scanning initiated via SNMP.wlanScanResultsTableβ The table contains the scan results from the last scan for each wireless interface on the system.wlanIfaceStatisticsTableβ Summary statistics for each wireless interface on the system.wlanWepInterfaceTableβ WEP configuration for the wireless interfaces on the system.wlanMACAccessControlTableβ Access Control configuration for wireless interfaces operating as access points.wlanMACAccessControlMACTableβ The table with Access Control MAC entries for which the configured Access Control Policy on wireless interfaces operating in Host AP mode is applied.wlanMACAccessControlMACStatuscolumn is used to add or delete MAC ACL entries. A set with valuecreateAndGo(4)will add new entry, while with valuedestroy(6)will delete an existing one. β¨wlanMeshRoutingConfigβ The subtree contains system configuration related to Wireless Mesh Routing.wlanMeshInterfaceTableβ The table contains information for wireless interfaces operating as wireless mesh points.wlanMeshNeighborTableβ The table contains information for the neighbors of wireless interfaces operating in mesh mode.wlanMeshRouteTableβ The mesh routing table for interfaces operating as mesh points, used for forwarding packets on a mesh network.wlanMeshRouteStatuscolumn is used to add or delete entries in the mesh routing table for an interface. A set with valuecreateAndGo(4)will add new entry, while with valuedestroy(6)will delete an existing one.wlanMeshStatsTableβ Summary statistics for each virtual wireless interface operating as mesh point.wlanMeshHWMPConfigβ The subtree contains system configuration related to Hybrid Wireless Mesh Protocol.wlanHWMPInterfaceTableβ The table contains HWMP information for wireless interfaces operating in mesh mode.wlanMeshHWMPStatsTableβ Summary statistics for HWMP operation on interfaces operating as mesh points.
π RESTRICTIONS π
Not all information or configuration in the MIBs is currently available in FreeBSD. π
The values of the following variables carry no information:
wlanStatsReset
π«Ά translation: it's there, it's just not telling you anything. don't trust it, don't build a personality around it.
π FILES π
/usr/share/snmp/defs/wlan_tree.defβ The description of the MIB tree implemented bysnmp_wlan./usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txtβ The private BEGEMOT-WIRELESS-MIB that is implemented by this module.
π₯ SEE ALSO π₯
bsnmpd(1), gensnmptree(1), snmpmod(3), wlan(4), wlan_acl(4), wlan_wep(4), ifconfig(8)
go read them, they're all part of the lore iykyk π
π AUTHORS π
Shteryana Shopova <syrinx@FreeBSD.org>
periodt. π
and that's the whole page bestie!! π This beauty is from the Debian build, dated June 28, 2010 β the source line read "Debian" and the version header was SNMP_WLAN(3). now go configure some virtual wireless interfaces, slay, and stay safe out there πβ¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (C) 2010 The FreeBSD Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms