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
  openwrt for the rock64 wilsonYan 8 5,093 6 hours ago
Last Post: gechu
  Armbian for Rock64 pineadmin 31 18,911 05-08-2021, 09:35 AM
Last Post: Wizzard
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 113 56,124 05-02-2021, 04:48 AM
Last Post: mara
  Getting from zero to spidev on ROCK64? MikeInMass 0 192 03-22-2021, 10:31 AM
Last Post: MikeInMass
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 11 10,706 03-15-2021, 02:59 PM
Last Post: kiriakos
  DietPi OS for ROCK64 MichaIng 11 3,015 03-10-2021, 11:00 AM
Last Post: MichaIng
  Linux Images (ROCK64) pineadmin 164 143,244 02-12-2021, 10:14 AM
Last Post: useful64
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 31 22,648 12-21-2020, 08:17 AM
Last Post: hermes73
  Boot from USB 3.0 with hub Turbo 0 431 12-20-2020, 02:24 PM
Last Post: Turbo
  RetroPie on Rock64 Luke 40 28,093 10-31-2020, 07:12 AM
Last Post: BigSkyEntertainment

Forum Jump:


Users browsing this thread: 1 Guest(s)