+ Post New Thread
Results 1 to 8 of 8
Hardware Thread, Get AP Mac Address? in Technical; Is there anyway in Windows XP to get the MAC Address of the Wireless AP the user is connected to? ...
  1. #1
    Quackers's Avatar
    Join Date
    Jan 2006
    Posts
    1,450
    Thank Post
    45
    Thanked 160 Times in 135 Posts
    Rep Power
    57

    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.

    Any ideas?

  2. #2

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Ping it, then arp -a [ will show your arp cache, which will show IPs along with their MACs ]

  3. #3
    marco84's Avatar
    Join Date
    Jul 2005
    Location
    Manchester
    Posts
    146
    Thank Post
    4
    Thanked 5 Times in 4 Posts
    Rep Power
    20
    You can use WiFiFoFum on a PDA.

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,689
    Thank Post
    756
    Thanked 1,715 Times in 1,526 Posts
    Rep Power
    438
    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

  5. #5

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    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.........

  6. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,689
    Thank Post
    756
    Thanked 1,715 Times in 1,526 Posts
    Rep Power
    438
    But the question is how do you check which ap a laptop is connected to?

    Ben

  7. #7

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Quote Originally Posted by plexer View Post
    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.....

  8. #8

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    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



SHARE:
+ Post New Thread

Similar Threads

  1. New Email Address
    By Geoff in forum General Chat
    Replies: 0
    Last Post: 5th July 2007, 09:04 AM
  2. Multiple MAC Address
    By Nij.UK in forum Hardware
    Replies: 13
    Last Post: 2nd May 2007, 09:01 AM
  3. IP Address to Computer Name
    By Gambit in forum Windows
    Replies: 17
    Last Post: 23rd April 2007, 04:16 PM
  4. PHP and IP Address lookup
    By plexer in forum Web Development
    Replies: 0
    Last Post: 27th March 2007, 12:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •