+ 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,310
    Thank Post
    40
    Thanked 141 Times in 116 Posts
    Rep Power
    53

    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,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    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
    19
    You can use WiFiFoFum on a PDA.

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,341
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    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,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    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,341
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    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,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    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,060
    Thank Post
    853
    Thanked 2,674 Times in 2,269 Posts
    Blog Entries
    9
    Rep Power
    768
    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, 08:04 AM
  2. Multiple MAC Address
    By Nij.UK in forum Hardware
    Replies: 13
    Last Post: 2nd May 2007, 08:01 AM
  3. IP Address to Computer Name
    By Gambit in forum Windows
    Replies: 17
    Last Post: 23rd April 2007, 03:16 PM
  4. PHP and IP Address lookup
    By plexer in forum Web Development
    Replies: 0
    Last Post: 27th March 2007, 11:17 AM

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
  •