Setting a MAC on Rock64 U-Boot
#1
Hello everyone,

I just updated a cluster of Rock64 4G boards I have and they all forgot their MAC address now and have defaulted to 82:57:28:5d:f7:9d (no idea where this MAC comes from, the ones I had set where very different and started with "da:19:c8").

I was setting the MACs in the bootloader script via boot.txt and ./mkscr using this guide (wiki tab) but now that evidently does not work.

Asking that the OS side (forum post) did not produce much so I came here to ask:

How can I set the MAC of my Rock64s in uboot?

Thanks,
K
  Reply
#2
I don't know about u-boot, but you can fix this on OS level fairly easily.

nano /etc/systemd/network/00-default.link

Code:
[Match]
MACAddress= 12:ac:66:34:01:32

[Link]
MACAddress=12:ac:66:02:02:02
NamePolicy=kernel database onboard slot path

That "da:19:c8" was done during Kernel change from 4.19 to 5.1 i believe, as they had to build a new u-boot since the old one wasn't working with the new Kernel.
  Reply
#3
Oh! That works really well! I wasn't aware that I could do that! Thank You very much!!! :-D
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian for Rock64 pineadmin 33 26,270 Yesterday, 01:40 PM
Last Post: Rocklobster
  openwrt for the rock64 wilsonYan 17 7,623 09-22-2021, 06:38 PM
Last Post: wilsonYan
  DietPi OS for ROCK64 MichaIng 19 5,198 09-17-2021, 02:38 PM
Last Post: MichaIng
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 117 76,591 09-10-2021, 03:01 PM
Last Post: mara
  rock64-debian-mrfixit-190531.img.xz : missing /usr/lib/dri/rockchip_dri.so popi 5 656 08-12-2021, 04:55 AM
Last Post: igorp
  Centos 8 Stream on Rock64 ayoungdukie 1 643 06-07-2021, 11:50 AM
Last Post: zer0sig
  Talos on ROCK64 cjyar 2 750 06-04-2021, 11:50 AM
Last Post: cjyar
  CentOS 7 for Rock64 pineadmin 3 3,793 05-30-2021, 08:20 AM
Last Post: ayoungdukie
  Rock64 CRUX-ARM (aarch64) mara 0 503 05-27-2021, 02:22 PM
Last Post: mara
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 32 28,103 05-22-2021, 07:01 AM
Last Post: fartadeadrian

Forum Jump:


Users browsing this thread: 1 Guest(s)