Roadrunner technical documentation Buy

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

Related products

RoadRunner D2

Info Doc Buy

  • CPU Microchip SAMA5D27
  • Cortex A5 @ 500 MHz
  • Very low power consumption:
    396mW in full speed mode
    198mW at Linux prompt
    17mW in standby mode
    10mW in suspend to RAM mode
  • Armhf architecture
  • DDR3L RAM 256 MB
  • QuadSPI 0/16/64/128MB
  • Size: 40x30 mm
  • Plug-in module
  • 200 pins 0.4 mm pitch
  • TFT parallel interface
  • Boot from internal Quad SPI or external uSD/eMMC
  • Linux Kernel 5.15 LTS
  • Debian, Buildroot and Yocto
  • Open source drivers
H10

Info Doc Buy

  • Single Board Computer based on RoadRunner Linux SOM (Included)
  • Classic "Credit Card" form factor
  • Two USB Host 2.0 ports (one configurable as USB client on the USB-C connector)
  • One 10/100 Mbit/s Lan port
  • Two AcmeSensor ports
  • Double placements for 2.54mm pitch 20x2 pinstrips (not soldered) for GPIOS, SPI, I2C, Serial etc ports
  • Credit Card footprint

Info Buy

  • All the circuitries you need to test the RoadRunner SOM
  • USB host, USB device, Ethernet port, MicroSD socket
  • Test points for power consumption measurements
  • All the Roadrunner signals exposed on 2.54mm pitch pins
  • On-board supercap for RTC and backup memory circuit

Home page Roadrunner technical documentation Buy