mac address of associated Access point

M

Maincat

bla_xxo24_ said:
How to get mac address of associated access point in windows command
prompt?

Type ipconfig /all (space before the /).

Let us know if that worked.
 
J

John Wunderlich

Type ipconfig /all (space before the /).

Let us know if that worked.

That will give him the MAC address of the wireless card in his PC.

To get the MAC address of the associated access point:
1) Type the command: ping <access point IP>
to get its information in the ARP table
2) Type the command: arp -a
to get the MAC address that is associated with the Access Point's IP.

HTH,
John
 
G

Guest

This isn't the answer.

If I'm in a place with 2 or more AP's how do I know to wich of them I am
connected???

The answer lies somewhere in the 802.11 protocol.

Regards,
 
J

John Wunderlich

This isn't the answer.

It was an answer to the question that you asked.
If I'm in a place with 2 or more AP's how do I know to wich of
them I am connected???

This is a different question.

What Wireless configuration client are you using?

This information is provided by the wireless configuration client.
Sometimes wireless card vendors provide their own client (e.g. Intel
ProSet, Broadcomm, Atheros, etc) or you may be using Windows Zero
Configuration Service.
Usually there is an icon in the tray that you can right-click on and
open. It will display the current connections and usually there is a
"Properties" button that will give connection particulars. I use Intel
ProSet and that's how it works for me.

HTH,
John
 
G

Guest

John Wunderlich said:
It was an answer to the question that you asked.

No my friend it's not. I asked for the mac address of the AP, not the mac
address of my local interface.
This is a different question.

What Wireless configuration client are you using?

This information is provided by the wireless configuration client.
Sometimes wireless card vendors provide their own client (e.g. Intel
ProSet, Broadcomm, Atheros, etc) or you may be using Windows Zero
Configuration Service.
Usually there is an icon in the tray that you can right-click on and
open. It will display the current connections and usually there is a
"Properties" button that will give connection particulars. I use Intel
ProSet and that's how it works for me.


Ok, I use Wireless zero configuration. My card doesn't have any kind of
client, and it's automatic recognized by windows.

I know that 802.11 protocol have in it's header the mac address of the AP.
But I don't know any way using windows command prompt to seen the properties
of a 802.11 connection.

Regards,
 
G

Gerald Vogt

bla_xxo24_ said:
Ok, I use Wireless zero configuration. My card doesn't have any kind of
client, and it's automatic recognized by windows.

I know that 802.11 protocol have in it's header the mac address of the AP.
But I don't know any way using windows command prompt to seen the properties
of a 802.11 connection.

AFAIK, there is none. Windows does not know about which access point it
uses. All Windows cares about is that there is an association of the
wireless card with an access point. Anything else is done in the
wireless driver and card. (One indication that Windows does not know
about it is that Windows is not involved when your wireless card roams
in a roaming network.)

Thus, unless your wireless driver tells you this information or you have
an utility which came with the wireless driver which allows you to
extract this information or you use a wireless card utility to establish
the connection and that shows you the information you won't be able to
find out at all. I think for Windows the wireless connection is a simple
layer two connection. The frames windows sends are normal ethernet
packets which address the mac address of the receiver and not the access
point. The information you want is below and IMO driver-specific.

If I use a packet sniffer I don't see the access point mac address on
the wireless connection...

Gerald
 
G

Guest

Ok, after lots and lots of investigation I found something.

Doing a "netsh ras set tracing * enable"

In the file windir\tracing\eapol.log the mac address of the AP appears there.

This might not be the best way but it looks that it works


Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top