I have followed the guide here to make the raspberry pi a Wi-Fi access point.

But how can I get MAC address of connected devices?


This command will list all connected devices on the interface wlan0 with details including the MAC address:

sudo iw wlan0 station dump
| improve this answer | |
  • 1
    You don't need sudo to run iw for this – Seamus Jul 7 '18 at 19:20

This should display the Mac addresses and associated IP addresses.

ip neigh show dev wlan0
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.