[ap-utils] find associated macs w/ ap-mrtg ?

Eli Criffield ap-utils at criffield.net
Thu Mar 11 00:30:56 EET 2004


I just realized i was using snmpget and you said snmpset. I tried using
snmpset -OT wap -c public .1.3.6.1.4.1.410.1.2.5.2.0 i 1 with anything i
could think of in place of 1 and i still get

public: Bad object type: .

Any idea what I'm supposed to use here?

All i want is just the associated mac address outputted

eli


On Tue, Mar 09, 2004 at 03:08:57PM -0600, Eli Criffield wrote:
> 
> OK so whats a "nr" ?
> 
> snmpget -OT wap -c public .1.3.6.1.4.1.410.1.2.5.2.0
> gives me 
> enterprises.410.1.2.5.2.0 =  Hex: B5 81 [ .] 
> 
> but snmpget -OT wap -c public .1.3.6.1.4.1.410.1.2.5.2.0 i 1 (or anything i
> can think of in place of 1) gives
> --
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: .ccitt.1
>  
> Error in packet
> Reason: (tooBig) Response message would have been too large.
> Failed object: enterprises.410.1.2.5.2.0
>  
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: system
> --
> 
> Oh and thanks for the quick responses
> 
> eli
> 
> On Tue, Mar 09, 2004 at 09:14:54PM +0100, Jacek Pliszka wrote:
> > On Tue, 2004-03-09 at 21:05, Eli Criffield wrote:
> > > Is there a way to use snmpget or something else to query associated 
> > > mac addresses?
> > 
> > atmel=".1.3.6.1.4.1.410.1."
> > wireless=atmel+"2."
> > 
> > snmpset   -OT  -v 1  -c public 192.168.200.3 \ ${wireless}5.2.0 i $i
> > 
> > $i contains nr of the MAC you want.
> > 
> > 
> > But it would be nicer to have some tool that nows the AP type and
> > options.
> > 
> > BR,
> > 
> > Jacek
> > 
> > 
> > _______________________________________________
> > ap-utils mailing list
> > ap-utils at lists.polesye.net
> > http://lists.polesye.net/mailman/listinfo/ap-utils
> 
> 
> _______________________________________________
> ap-utils mailing list
> ap-utils at lists.polesye.net
> http://lists.polesye.net/mailman/listinfo/ap-utils



More information about the ap-utils mailing list