Skip to content

Get the MAC address of a Raspberry Pi player

If you need the MAC address of a Raspberry Pi for Wi-Fi or Ethernet network registration, follow these steps.

1. Open the terminal

Press Ctrl + Alt + T on the keyboard connected to the Pi.

2. List network interfaces

bash
ip address

This prints details for every network interface on the Pi, including their MAC addresses.

3. Find the right interface

  • Wi-Fi — usually wlan0. Under wlan0, find the link/ether line. The MAC address is right after link/ether:

    3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

    MAC: aa:bb:cc:dd:ee:ff.

  • Ethernet (cable) — usually eth0. Same link/ether line:

    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff

    MAC: 11:22:33:44:55:66.

4. Hand the MAC address to your network admin

  • wlan0 for Wi-Fi
  • eth0 for cable