Rock64 mac address ignores boot.txt changes

This is for ARMv8 based devices

Re: Rock64 mac address ignores boot.txt changes

Postby kb4fxc » Tue Aug 25, 2020 1:48 pm

Anyone else able to duplicate this issue?

At the moment, it's a show-stopper for me!

Any thoughts?

Thanks!
kb4fxc
 
Posts: 9
Joined: Mon Apr 28, 2014 5:56 pm

Re: Rock64 mac address ignores boot.txt changes

Postby ramsey » Thu Sep 10, 2020 12:02 am

What works for me, mentioned here

viewtopic.php?f=67&t=14576

Create a /usr/lib/systemd/system/macspoof@.service with contents (change mac to whatever you want),

$this->bbcode_second_pass_code('', '
[Unit]
Description=MAC Address Change %I
Wants=network-pre.target
Before=network-pre.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=oneshot
ExecStart=/usr/bin/ip link set dev %i address FE:ED:DE:AD:BE:EF
ExecStart=/usr/bin/ip link set dev %i up

[Install]
WantedBy=multi-user.target
')

Finally, $sudo systemctl enable macspoof@eth0.service and reboot.
ramsey
 
Posts: 28
Joined: Mon Aug 14, 2017 3:46 pm

Previous

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 11 guests