Roadrunner technical documentation

Fix the MAC address of RoadRunner

Unfortunately RoadRunner doesn't have a its own unique hardware MAC address on port eth0 so you have to provide in a software manner. This article explains how to set the MAC address using maccharger utility

GNU MAC Changer is an utility that makes the maniputation of MAC addresses of network interfaces easier.

Install maccharger o Raspbian distribution:

sudo apt update
sudo apt install macchanger

Select No to "Change MAC automatically?" answer during the installation.

Create a systemd file called setmac@eth0.service

sudo nano /lib/systemd/system/setmac@eth0.service

insert on it this content using the MAC address you need to set on the eth0 interface (use https://miniwebtool.com/mac-address-generator/ to generate a random MAC address):

[Unit]
Description=Set the MAC address for %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%I.device
After=sys-subsystem-net-devices-%I.device

[Service]
Type=oneshot
ExecStart=/usr/bin/macchanger -m b2:aa:0e:56:ed:f7 %I
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Enable the systemd service at startup:

sudo systemctl daemon-reload
sudo systemctl enable setmac@eth0.service

then reboot:

sudo reboot

Links

Roadrunner technical documentation