109cbe818SShteryana Shopova.\"- 209cbe818SShteryana Shopova.\" Copyright (C) 2010 The FreeBSD Foundation 309cbe818SShteryana Shopova.\" All rights reserved. 409cbe818SShteryana Shopova.\" 509cbe818SShteryana Shopova.\" This documentation was written by Shteryana Sotirova Shopova under 609cbe818SShteryana Shopova.\" sponsorship from the FreeBSD Foundation. 709cbe818SShteryana Shopova.\" 809cbe818SShteryana Shopova.\" Redistribution and use in source and binary forms, with or without 909cbe818SShteryana Shopova.\" modification, are permitted provided that the following conditions 1009cbe818SShteryana Shopova.\" are met: 1109cbe818SShteryana Shopova.\" 1. Redistributions of source code must retain the above copyright 1209cbe818SShteryana Shopova.\" notice, this list of conditions and the following disclaimer. 1309cbe818SShteryana Shopova.\" 2. Redistributions in binary form must reproduce the above copyright 1409cbe818SShteryana Shopova.\" notice, this list of conditions and the following disclaimer in the 1509cbe818SShteryana Shopova.\" documentation and/or other materials provided with the distribution. 1609cbe818SShteryana Shopova.\" 1709cbe818SShteryana Shopova.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1809cbe818SShteryana Shopova.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1909cbe818SShteryana Shopova.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2009cbe818SShteryana Shopova.\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 2109cbe818SShteryana Shopova.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2209cbe818SShteryana Shopova.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2309cbe818SShteryana Shopova.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2409cbe818SShteryana Shopova.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2509cbe818SShteryana Shopova.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2609cbe818SShteryana Shopova.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2709cbe818SShteryana Shopova.\" SUCH DAMAGE. 2809cbe818SShteryana Shopova.\" 2909cbe818SShteryana Shopova.\" $FreeBSD$ 3009cbe818SShteryana Shopova.\" 3109cbe818SShteryana Shopova.Dd June 28, 2010 32a6d11f71SRuslan Ermilov.Dt SNMP_WLAN 3 3309cbe818SShteryana Shopova.Os 3409cbe818SShteryana Shopova.Sh NAME 3509cbe818SShteryana Shopova.Nm snmp_wlan 36c2965cd1SJoel Dahl.Nd "wireless networking module for" 3709cbe818SShteryana Shopova.Xr bsnmpd 1 3809cbe818SShteryana Shopova.Sh LIBRARY 3909cbe818SShteryana Shopova.Pq begemotSnmpdModulePath."wlan" = "/usr/lib/snmp_wlan.so" 4009cbe818SShteryana Shopova.Sh DESCRIPTION 4109cbe818SShteryana ShopovaThe 4209cbe818SShteryana Shopova.Nm snmp_wlan 4309cbe818SShteryana Shopovamodule implements a private BEGEMOT-WIRELESS-MIB, which allows 44*dbac569bSGordon Berglingmanagement of virtual wireless interfaces. 45*dbac569bSGordon BerglingThe MIB defines objects similar to the state data and configuration capabilities of 4609cbe818SShteryana Shopova.Xr ifconfig 8 4709cbe818SShteryana Shopovafor configuring virtual wireless interfaces. 48c2025a76SJoel DahlTherefore one should consider adding write communities or loading the 4909cbe818SShteryana Shopova.Nm 5009cbe818SShteryana Shopovamodule on systems where security is crucial. 5109cbe818SShteryana Shopova.Sh IMPLEMENTATION NOTES 5209cbe818SShteryana ShopovaA short description of the Tables and interesting objects in the MIB follows. 5309cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX" 5409cbe818SShteryana Shopova.It Va wlanInterfaceTable 55*dbac569bSGordon BerglingThe table is used for creation and deletion of virtual wireless interfaces. 56*dbac569bSGordon BerglingTo add a new interface, a SET should be executed on the 5709cbe818SShteryana Shopova.Va wlanIfaceName 5809cbe818SShteryana Shopovacolumn with 59*dbac569bSGordon Berglingvalue the desired name of the interface. 60*dbac569bSGordon BerglingNext the parent interface must be set via 6109cbe818SShteryana Shopova.Va wlanParentIfName 62*dbac569bSGordon Berglingcolumn. 63*dbac569bSGordon BerglingAny optional parameters may be set via the 6409cbe818SShteryana Shopova.Va wlanIfaceOperatingMode , 6509cbe818SShteryana Shopova.Va wlanIfaceFlags , 6609cbe818SShteryana Shopova.Va wlanIfaceBssid 6709cbe818SShteryana Shopovaand 6809cbe818SShteryana Shopova.Va wlanIfaceLocalAddress 6909cbe818SShteryana Shopovacolumns. 7009cbe818SShteryana ShopovaTo finally create the interface in the system, a SET with value of active(1) to 7109cbe818SShteryana Shopova.Va wlanIfaceStatus 7209cbe818SShteryana Shopovacolumn should be executed. 7309cbe818SShteryana ShopovaTo destroy a wireless interface a SET with value of destroy(6) to the relevant 7409cbe818SShteryana Shopova.Va wlanIfaceStatus 7509cbe818SShteryana Shopovacolumn should be executed. 7609cbe818SShteryana Shopova.It Va wlanIfParentTable 7709cbe818SShteryana ShopovaThe table contains information about the hardware capabilities of the parent of 7809cbe818SShteryana Shopovaa wireless interface. 7909cbe818SShteryana Shopova.It Va wlanIfaceConfigTable 80f6ac2391SJoel DahlThe table is used to get or set various configuration parameters for a virtual 81*dbac569bSGordon Berglingwireless interface. 82*dbac569bSGordon BerglingDepending on the operating mode of the interface and the hardware capabilities 83*dbac569bSGordon Berglingof the underlying hardware interface, not all parameters and values may be supported. 8409cbe818SShteryana Shopova.It Va wlanIfacePeerTable 8509cbe818SShteryana ShopovaThe table contains information about the associated stations for interfaces 8609cbe818SShteryana Shopovaoperating as access points, or the stations identified as neighbors in the IBSS 8709cbe818SShteryana Shopovafor interfaces operating in adhoc mode. 8809cbe818SShteryana Shopova.It Va wlanIfaceChannelTable 8909cbe818SShteryana ShopovaInformation about the active channels for the wireless interfaces in the system. 9009cbe818SShteryana Shopova.It Va wlanIfRoamParamsTable 9109cbe818SShteryana ShopovaThe parameters that govern the roaming operation on the wireless interfaces. 9209cbe818SShteryana Shopova.It Va wlanIfTxParamsTable 9309cbe818SShteryana ShopovaThe parameters that govern the transmit operation on the wireless interfaces. 9409cbe818SShteryana Shopova.It Va wlanScanConfigTable 9509cbe818SShteryana ShopovaThe table that contains a configuration for channel scanning initiated via SNMP. 9609cbe818SShteryana Shopova.It Va wlanScanResultsTable 9709cbe818SShteryana ShopovaThe table contains the scan results from the last scan for each wireless 9809cbe818SShteryana Shopovainterface on the system. 9909cbe818SShteryana Shopova.It Va wlanIfaceStatisticsTable 10009cbe818SShteryana ShopovaSummary statistics for each wireless interface on the system. 10109cbe818SShteryana Shopova.It Va wlanWepInterfaceTable 10209cbe818SShteryana ShopovaWEP configuration for the wireless interfaces on the system. 10309cbe818SShteryana Shopova.It Va wlanMACAccessControlTable 10409cbe818SShteryana ShopovaAccess Control configuration for wireless interfaces operating as access points. 10509cbe818SShteryana Shopova.It Va wlanMACAccessControlMACTable 10609cbe818SShteryana ShopovaThe table with Access Control MAC entries for which the configured Access 107f6ac2391SJoel DahlControl Policy on wireless interfaces operating in Host AP mode is applied. 10809cbe818SShteryana Shopova.Va wlanMACAccessControlMACStatus 109*dbac569bSGordon Berglingcolumn is used to add or delete MAC ACL entries. 110*dbac569bSGordon BerglingA set with value createAndGo(4) will add new entry, while with value destroy(6) 111*dbac569bSGordon Berglingwill delete an existing one. 11209cbe818SShteryana Shopova.It Va wlanMeshRoutingConfig 11309cbe818SShteryana ShopovaThe subtree contains system configuration related to Wireless Mesh Routing. 11409cbe818SShteryana Shopova.It Va wlanMeshInterfaceTable 11509cbe818SShteryana ShopovaThe table contains information for wireless interfaces operating as wireless 11609cbe818SShteryana Shopovamesh points. 11709cbe818SShteryana Shopova.It Va wlanMeshNeighborTable 11809cbe818SShteryana ShopovaThe table contains information for the neighbors of wireless interfaces 11909cbe818SShteryana Shopovaoperating in mesh mode. 12009cbe818SShteryana Shopova.It Va wlanMeshRouteTable 12109cbe818SShteryana ShopovaThe mesh routing table for interfaces operating as mesh points, used for 12209cbe818SShteryana Shopovaforwarding packets on a mesh network. 12309cbe818SShteryana Shopova.Va wlanMeshRouteStatus 12409cbe818SShteryana Shopovacolumn is used to add or delete entries in the mesh routing table for an 125*dbac569bSGordon Berglinginterface. 126*dbac569bSGordon BerglingA set with value createAndGo(4) will add new entry, while with value destroy(6) 127*dbac569bSGordon Berglingwill delete an existing one. 12809cbe818SShteryana Shopova.It Va wlanMeshStatsTable 12909cbe818SShteryana ShopovaSummary statistics for each virtual wireless interface operating as mesh point. 13009cbe818SShteryana Shopova.It Va wlanMeshHWMPConfig 13109cbe818SShteryana ShopovaThe subtree contains system configuration related to Hybrid Wireless Mesh 13209cbe818SShteryana ShopovaProtocol. 13309cbe818SShteryana Shopova.It Va wlanHWMPInterfaceTable 13409cbe818SShteryana ShopovaThe table contains HWMP information for wireless interfaces operating in mesh 13509cbe818SShteryana Shopovamode. 13609cbe818SShteryana Shopova.It Va wlanMeshHWMPStatsTable 13709cbe818SShteryana ShopovaSummary statistics for HWMP operation on interfaces operating as mesh points. 13809cbe818SShteryana Shopova.El 13909cbe818SShteryana Shopova.Sh RESTRICTIONS 14009cbe818SShteryana ShopovaNot all information or configuration in the MIBs is currently available in FreeBSD. 14109cbe818SShteryana ShopovaThe values of the following variables carry no information: 14209cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX" 14309cbe818SShteryana Shopova.It Va wlanStatsReset 14409cbe818SShteryana Shopova.El 14509cbe818SShteryana Shopova.Sh FILES 14609cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX" 14709cbe818SShteryana Shopova.It Pa /usr/share/snmp/defs/wlan_tree.def 14809cbe818SShteryana ShopovaThe description of the MIB tree implemented by 14909cbe818SShteryana Shopova.Nm . 15009cbe818SShteryana Shopova.It Pa /usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txt 15109cbe818SShteryana ShopovaThe private BEGEMOT-WIRELESS-MIB that is implemented by this module. 15209cbe818SShteryana Shopova.El 15309cbe818SShteryana Shopova.Sh SEE ALSO 15409cbe818SShteryana Shopova.Xr bsnmpd 1 , 15509cbe818SShteryana Shopova.Xr gensnmptree 1 , 156914f6e62SJoel Dahl.Xr snmpmod 3 , 15709cbe818SShteryana Shopova.Xr wlan 4 , 15809cbe818SShteryana Shopova.Xr wlan_acl 4 , 15909cbe818SShteryana Shopova.Xr wlan_wep 4 , 160914f6e62SJoel Dahl.Xr ifconfig 8 16109cbe818SShteryana Shopova.Sh AUTHORS 16201c2b8acSBaptiste Daroussin.An Shteryana Shopova Aq Mt syrinx@FreeBSD.org 163