1

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?

2 Answers 2

3

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

sudo iw wlan0 station dump
1
  • 1
    You don't need sudo to run iw for this
    – Seamus
    Commented Jul 7, 2018 at 19:20
3

This should display the Mac addresses and associated IP addresses.

ip neigh show dev wlan0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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