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
    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 that you have read and understand our privacy policy and code of conduct.

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