Get AP Mac Address?
Is there anyway in Windows XP to get the MAC Address of the Wireless AP the user is connected to?
Would like on our laptop trolleys, for the correct printers to be added depending on where the laptop is, only way i can think of that happening is with the MAC of the AP as the location identifier.
Ping it, then arp -a [ will show your arp cache, which will show IPs along with their MACs ]
You can use WiFiFoFum on a PDA.
Yes but that is not going to help with access point awareness.
He wants a laptop once logged on to know which access point it is connected to so that the nearest printer can be assigned.
In that case, I would knock up a script which checked what AP the laptop was connected to via a lookup table [ .txt file with the MACs in ] and depending on what MAC, depends on how the script progresses further etc..... [ assigns a printer ]
If there are only a few possible MACs [ say 5 to 10 ] then I would just have a load of 'Ifs' and 'ElseIfs' statements until one of them is true....
Another way round this.........
But the question is how do you check which ap a laptop is connected to?
Clear the arp cache first, after the user logs on - check the arp cache.....
Originally Posted by plexer
There are plenty of other tools most probably which will show you what AP you are connected to - the clever bit is working it into the script.....
Just use WMI, It is all stored under MSNdis_80211_BaseServiceSetIdentifier. This page is in german but has a script that may work vb@rchiv · Diskussionsforen · VB.NET - Fortgeschrittene · Re: wlan RSSI (signalstärke)
It was originally written as part of the WWMD (Wireless Weapons of Mass Destruction) presentation. http://www.leetupload.com/database/M...iwmd4win32.pdf