Quackers Posted July 7, 2008 Posted July 7, 2008 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. Any ideas?
mattx Posted July 7, 2008 Posted July 7, 2008 Ping it, then arp -a [ will show your arp cache, which will show IPs along with their MACs ]
plexer Posted July 7, 2008 Posted July 7, 2008 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. Ben
mattx Posted July 7, 2008 Posted July 7, 2008 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.........
plexer Posted July 7, 2008 Posted July 7, 2008 But the question is how do you check which ap a laptop is connected to? Ben
mattx Posted July 7, 2008 Posted July 7, 2008 But the question is how do you check which ap a laptop is connected to? Ben Clear the arp cache first, after the user logs on - check the arp cache..... 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.....
SYNACK Posted July 7, 2008 Posted July 7, 2008 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/Misc/Papers/wifiwmd4win32.pdf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now