pointless.net  • Blog • Photos • About


February 16, 2006 : The Airport Mib is broken

Sent in the Airport patch for scli. This prompted a discussion about Apple's broken mib - it uses MAC addresses for the indexes of some of the tables (which is fine), but the mib file uses the PhysAddress type which dosn't specify the length. (and the MIB has a crazy license).

The box sends the table request results back without specifying the length of the MAC addresses. If the mib used the MacAddress type (from SNMPv2-TC) instead of PhysAddress all would be well, cos MacAddress specifys a length.

tags: hacks snmp

No comments yet!

Playing around with adding the apple airport extreme mib to scli. The scli anoncvs server appears to be down, and they don't have cvs snapshots (that i can find) any more. there is a testing/ subdirectory with version 0.3.0 in it, so i'll try that.

hmm, netbsd needs:

#include <net/if.h>
#include <netinet/in.h>

included before:

<netinet/if_ether.h>

maybe they should be using net/if_ether.h instead.

ah, the autoconf docs have some stuff to say about net/if.h on Darwin.

after some emails, found that they ditched cvs for svn:

https://svn.eecs.iu-bremen.de/svn/schoenw/src/gsnmp/
https://svn.eecs.iu-bremen.de/svn/schoenw/src/scli/

When running aclocal (usually from autogen.sh), pass:

-I /opt/local/share/aclocal -I /usr/share/aclocal -I \
/Users/jasper/stuff/share/aclocal

export:

PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/lib/pkgconfig:/Users/jasper/stuff/lib/pkgconfig

glibtoolize seems to work as libtoolize.

"gmodule" is "gmodule-2.0" (including the library filename) - scli was assuming that gmodule was "gmodule".

tags: hacks snmp

No comments yet!


Valid HTML 4.01! Valid CSS! ipv6 ready