This question already has an answer here:
- Show BSSID of an access point? 4 answers
How can I find out what the MAC address (BSSID) of the wireless access point I'm connected to is?
Any of these 3 works:
If you are using a recent desktop version of Ubuntu (with interfaces managed by
You can limit the output to specific fields e.g. to see just the access point MAC addresses (BSSIDs) and connection status, use
To return just the MAC address to which the wifi device is currently connected (i.e. the access point whose ACTIVE field is 'yes'), you can use