Roadrunner technical documentation Buy on-line

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 to generate a random MAC address):

Description=Set the MAC address for %I

ExecStart=/usr/bin/macchanger -m b2:aa:0e:56:ed:f7 %I


Enable the systemd service at startup:

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

then reboot:

sudo reboot


Roadrunner technical documentation Buy on-line

Bruna Mandolino