Hi there,
I'm trying to write a program in order to retrieve log information out
of my access point in order to monitor network usage
First, I've looked at the Log Viewer provided by Linksys, as it
already gives some basic information (especially the MAC address for
each new connection).
Unlike the BEF series, the access point does not use the SNMP Trap
port and protocol to communicate, but uses the unusual 514 port. This
can be easily checked by using a tool like PortPeeker (setting UDP &
514 as the port to listen to) :
192.168.0.245 : 2048 UDP
--- 07/08/2003 17:23:39.676
0000 53 79 73 6C 6F 67 64 20 73 74 61 72 74 65 64 2E Syslogd
started.
192.168.0.245 : 2048 UDP
--- 07/08/2003 17:23:39.696
0000 53 79 73 74 65 6D 20 73 74 61 72 74 65 64 2E System
started.
192.168.0.245 : 2048 UDP
--- 07/08/2003 17:48:15.458
0000 57 69 72 65 6C 65 73 73 20 50 43 20 63 6F 6E 6E Wireless
PC conn
0010 65 63 74 65 64 20 30 30 3A 30 36 3A 32 35 3A 34 ected
00:06:25:4
0020 33 3A 36 46 3A 35 46 3:6F:5F
So, listening to that port is a good start to monitor the access point
activity. But we should do better than that with the SNMP protocol....
By using the GetIf utility, I was able to find some WAP54G dedicated
OIDs : here comes some of them :
Variable = .iso.org.dod.internet.private.enterprises.3955.1.1 .0
Value = String v1.42.04, Feb 19 2003
Variable = .iso.org.dod.internet.private.enterprises.3955.2.1 .8.0
Value = IpAddress 192.168.0.245
Variable = .iso.org.dod.internet.private.enterprises.3955.2.1 .9.0
Value = IpAddress 255.255.255.0
Variable = .iso.org.dod.internet.private.enterprises.3955.2.6 .3.2.0
Value = String linksys-a
Variable = .iso.org.dod.internet.private.enterprises.3955.2.6 .4.2.0
Value = String MY_SSID
Variable = .iso.org.dod.internet.private.enterprises.3955.2.6 .4.8.0
Value = String MY_WEP_KEY_#1
You can easily check them on your computer with snmputil (from
Microsoft) and the following command :
snmputil walk 192.168.0.245 public .1.3.6.1.4.1.3955
Even if those entries are useful, none of them are related to
connected computers. As I was not able to find the MIB of the Access
point, I don't know where to search and if this information is really
available.
This is how far I went today, but now I'm stuck :-(
So, I hope that this information will be useful to you and that
someone else will be able to complete it in order to have full access
to the access point and set some trap to automatically be notified of
new connections!
Cheers,
Olivier
|