How can someone get the BSSID of a router without connecting to it?

Viewed 71459
  1. How can someone get the BSSID of a router without connecting to it in order to differentiate between duplicate SSIDs?

  2. Does a router broadcast the BSSID?

7 Answers

For Mac OS and macOS that's

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I

for the currently connected wifi, which you can also get by alt+click on the wifi menu.

To get a list of all hotspots/network available use

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s

in cmd: netsh wlan show networks mode=Bssid (Windows 7)

Related