Call for testers: wireless module for bsnmpd(1)

Adrian Chadd adrian at
Wed Jul 14 02:40:45 UTC 2010


Compiling this on MIPS gives this error:

Warning: Object directory not changed from original /usr/home/adrian/w/snmp_wlan
cc -fpic -DPIC -O -pipe -EB -msoft-float -G0 -mno-dsp -mabicalls
-DSNMPTREE_TYPES -g -I. -std=gnu99 -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c wlan_sys.c -o wlan_sys.So
cc1: warnings being treated as errors
wlan_sys.c: In function 'wlan_get_scan_results':
wlan_sys.c:2221: warning: cast increases required alignment of target type
wlan_sys.c: In function 'wlan_get_peerinfo':
wlan_sys.c:2713: warning: cast increases required alignment of target type
*** Error code 1


On 10 July 2010 19:27, Shteryana Shopova <syrinx at> wrote:
> Hi all,
> As some of you may know, I've been awarded a grant by the FreeBSD
> Foundation to make several improvements to FreeBSD's SNMP daemon. The
> first part of the project - a module for monitoring wireless
> networking under FreeBSD - is now completed and I'd really appreciate
> if I could get some help in more extensive testing in a wider range of
> wireless networking usage scenarios. A tarbal of the latest sources of
> the module is available under
> To
> compile and install the module -
> #fetch
> #tar -xvf snmp_wlan-20100710-01.tar
> #cd snmp_wlan
> #make
> #make install (as root)
> To enable loading of the module in bsnmpd(1), one should add the
> following line to bsnmpd(1) config file (usually /etc/snmpd.config) -
> begemotSnmpdModulePath."wlan" = "/usr/lib/"
> More details on how the module works may be found in the snmp_wlan(3)
> man page and in the private BEGEMOT-WIRELESS-MIB the module implements
> (installed under /usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txt).
> Know issues currently are that BITS types are not always handled
> properly, and TX rates may not always be properly set - I am working
> on fixing those.
> All feedback is wellcome - bug reports, requests for features to be
> included in future versions of the module, code style and bug fix
> patches. I will be glad to help resolve any problems that may arise
> while installing/working with the module and answer any questions you
> may have. Thanks!
> cheers,
> Shteryana
> _______________________________________________
> freebsd-net at mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at"

More information about the freebsd-current mailing list