From owner-freebsd-net@FreeBSD.ORG Wed Jul 14 02:40:45 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66EC7106566C; Wed, 14 Jul 2010 02:40:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2758FC14; Wed, 14 Jul 2010 02:40:44 +0000 (UTC) Received: by iwn35 with SMTP id 35so8069239iwn.13 for ; Tue, 13 Jul 2010 19:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=Gw6g22hkdqzNefRELoNMPursY3ZAwnyWnN0FNmriDgE=; b=xUC+P2004lryqDCVWquGn/bsKyOeSIQvASeU6fmuYg1/fJFGpnnWn4icyBZt6tK19z /EmmukGki3QYwX2lsVEh78ALMrnkvWA85kP8Mh4sp21x/uantNBebXVaTKlYRWzPiUtr s+rsoNooS2UDDNEvtIjBI+YetsHKPKR40CM4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=RI459jsvBzgTuvLPpQk+b5KWn1xG3G3bCZOdYN1np1OH+7UnDoumht0GUwi2TVrc5x 6gtg2oK3S4+dBA6EzjlzVEPAFcwJUuVjMqQsan/UpPcAhloCcgYfAT4qOuvnVH0LFt06 UpwB55LidPGwCIxMgW2Y3Cjxw4d1twMgNJ8IY= MIME-Version: 1.0 Received: by 10.231.85.206 with SMTP id p14mr14577910ibl.89.1279075244229; Tue, 13 Jul 2010 19:40:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.152.79 with HTTP; Tue, 13 Jul 2010 19:40:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Jul 2010 10:40:44 +0800 X-Google-Sender-Auth: CASV7cdSPd3wWGwOCDrCGyMdZsw Message-ID: From: Adrian Chadd To: syrinx@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-net@FreeBSD.org" , freebsd-current@freebsd.org Subject: Re: Call for testers: wireless module for bsnmpd(1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 02:40:45 -0000 Howdy! 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 Adrian On 10 July 2010 19:27, Shteryana Shopova 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 > http://people.freebsd.org/~syrinx/snmp/snmp_wlan-20100710-01.tar. To > compile and install the module - > #fetch http://people.freebsd.org/~syrinx/snmp/snmp_wlan-20100710-01.tar > #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/snmp_wlan.so" > > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >