[ap-utils] Associated stations MAC addresses

CyZooNiC ap-utils@kiev.iorta.com
Tue, 8 Oct 2002 23:55:46 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0033_01C26F26.381A18F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I was wondering if anyone can tell me what the command is to get the MAC =
addresses of the associated stations. I can use the following to get the =
number of stations but I can't figure out how to get the MAC addresses.

get station #
snmpget xxx.xxx.xxx.xxx passwd enterprises.410.1.2.5.1.0

I sniffed the network packets while using my WAP11 SNMP utility but I =
can't figure it out from that either. I do see that it first gets the =
number of clients and then gets the MAC for each. Here is what I was =
able to gather:

x =3D my 6 digit password which is sent in clear text!!

get station #

05 B5 00 A1 00 34 B2 CB 30 2A 02 01 00=20
04 06 xx xx xx xx xx xx A0 1D 02 01 46=20
02 01 00 02 01 00 30 12 30 10 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 01 00 05 00

return station #s

00 A1 05 B5 00 35 00 00 30 2B 02 01 00=20
04 06 xx xx xx xx xx xx A2 1E 02 01 46=20
02 01 00 02 01 00 30 13 30 11 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 01 00 02 01 03    <-- three stations =
returned.

Get mac of station 1

05 B5 00 A1 00 4C 99 37 30 42 02 01 00=20
04 06 xx xx xx xx xx xx A3 35 02 01 47=20
02 01 00 02 01 00 30 2A 30 28 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 02 00 04 18=20
01 00 00 00 00 00 00 00 00 00 00 00 00=20
00 00 00 00 00 00 00 00 00 00 00

return mac of station 1

00 A1 05 B5 00 4C 00 00 30 42 02 01 00=20
04 06 xx xx xx xx xx xx A2 35 02 01 47=20
02 01 00 02 01 00 30 2A 30 28 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 02 00 04 18=20
01 00 00 06 25 56 65 62 03 03 00 06 25   <-- the mac is: 00 06 25 56 65 =
62=20
51 70 9C 00 00 00 00 00 00 00 00

Get mac of station 2

05 B5 00 A1 00 4C 98 36 30 42 02 01 00=20
04 06 xx xx xx xx xx xx A3 35 02 01 48=20
02 01 00 02 01 00 30 2A 30 28 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 02 00 04 18=20
02 00 00 00 00 00 00 00 00 00 00 00 00=20
00 00 00 00 00 00 00 00 00 00 00

return mac of station 2

00 A1 05 B5 00 4C 00 00 30 42 02 01 00=20
04 06 xx xx xx xx xx xx A2 35 02 01 48=20
02 01 00 02 01 00 30 2A 30 28 06 0C 2B=20
06 01 04 01 83 1A 01 02 05 02 00 04 18=20
02 00 00 06 25 56 7A 41 03 03 00 06 25   <-- the mac is: 00 06 25 56 7A =
41
51 70 9C 00 00 00 00 00 00 00 00

so on......

thanks

-Stefan
------=_NextPart_000_0033_01C26F26.381A18F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I was wondering if anyone can tell me =
what the=20
command is to get the MAC addresses of the associated stations. I can =
use the=20
following to get the number of stations but I can't figure out how to =
get the=20
MAC addresses.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>get station #</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>snmpget&nbsp;xxx.xxx.xxx.xxx&nbsp;passwd=20
enterprises.410.1.2.5.1.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I sniffed the network packets while =
using my WAP11=20
SNMP utility but I can't figure it out from that either. I do see that =
it first=20
gets the number of clients and then gets the MAC for each. Here is what =
I was=20
able to gather:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>x =3D my 6 digit password which is sent =
in clear=20
text!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>get station #</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>05 B5 00 A1 00 34 B2 CB 30 2A 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A0 1D 02 01 46 <BR>02 01 00 02 01 00 30 12 30 10 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 01 00 05 00</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>return station #s</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>00 A1 05 B5 00 35 00 00 30 2B 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A2 1E 02 01 46 <BR>02 01 00 02 01 00 30 13 30 11 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 01 00 02 01 03&nbsp;&nbsp;&nbsp; &lt;-- three =
stations=20
returned.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Get mac of station 1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>05 B5 00 A1 00 4C 99 37 30 42 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A3 35 02 01 47 <BR>02 01 00 02 01 00 30 2A 30 28 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 02 00 04 18 <BR>01 00 00 00 00 00 00 00 00 00 00 =
00 00=20
<BR>00 00 00 00 00 00 00 00 00 00 00</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>return mac of station 1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>00 A1 05 B5 00 4C 00 00 30 42 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A2 35 02 01 47 <BR>02 01 00 02 01 00 30 2A 30 28 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 02 00 04 18 <BR>01 00 00 06 25 56 65 62 03 03 00 =
06=20
25&nbsp;&nbsp; &lt;-- the mac is: 00 06 25 56 65 62 <BR>51 70 9C 00 00 =
00 00 00=20
00 00 00</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Get mac of station 2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>05 B5 00 A1 00 4C 98 36 30 42 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A3 35 02 01 48 <BR>02 01 00 02 01 00 30 2A 30 28 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 02 00 04 18 <BR>02 00 00 00 00 00 00 00 00 00 00 =
00 00=20
<BR>00 00 00 00 00 00 00 00 00 00 00</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>return mac of station 2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>00 A1 05 B5 00 4C 00 00 30 42 02 01 00 =
<BR>04 06 xx=20
xx xx xx xx xx A2 35 02 01 48 <BR>02 01 00 02 01 00 30 2A 30 28 06 0C 2B =
<BR>06=20
01 04 01 83 1A 01 02 05 02 00 04 18 <BR>02 00 00 06 25 56 7A 41 03 03 00 =
06=20
25&nbsp;&nbsp; &lt;-- the mac is: 00 06 25 56 7A 41<BR>51 70 9C 00 00 00 =
00 00=20
00 00 00</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>so on......</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Stefan</FONT></DIV></BODY></HTML>

------=_NextPart_000_0033_01C26F26.381A18F0--