On Friday 11 August 2006 10:10, Dave Shield wrote: > On 10/08/06, David Goodenough <[EMAIL PROTECTED]> wrote: > > Is there a corresponding value for wireless cards that does reflect the > > current speed (an 802.11b card can for instance operate at 11, 5, 2 and 1 > > Mb/s)? Is this something that the wireless driver has to support > > specifically, or does snmp find it from the same place that iwconfig > > finds it (I am here talking about a linux 2.6 system). > > Do you happen to know where iwconfig obtains this information? > I've looked briefly, and there seems to be some mention of > /proc/net/wireless What does this look like on your system? How do the > contents relate to the output of iwconfig? > > I'm pretty sure that the Net-SNMP code doesn't refer to this file. As > far as I can tell (and Robert is the expert on the new IF-MIB code), > the interface speed is determined using an ioctl call (at least for > Ethernet-based interfaces). What does the SNMP agent report for your > system, and how does this compare with the iwconfig figures? > > Dave I found some code (from 2003) which did this from Avantcom. I have talked to the original author and he has not done anything much with it and it currently does not compile. He is happy that I should enhance it to fit the current Wireless Extensions framework and net-snmp and that I should then submit it to you. I am working on it currently. It will then provide complete support for the wireless extensions (initially get only not set, but set can be added later).
The current code reports 10M speed for an 801.11b link (I have not tried it on a 802.11g or 11a link). David ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
