PINE64

Full Version: Variable Ethernet MAC address
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have 64+ with 2GB, and I did noticed that every time I power cycle the board Ethernet is getting a different MAC address, anyone noticed the same?

I normally do MAC reservation and assign fixed IP to all devices I have home, but with this one every time I setup the reservation with MAC, next boot it kept using the old dynamic IP with new MAC address, this is first time I see a device like that.

I am using Arch Linux Image with XFCE4 Base, no HDMI output like most. I am sure it is the same board, same CPU.

[alarm@alarm ~]$ uname -a
Linux alarm 3.10.65-2-pine64-longsleep #39 SMP PREEMPT Fri Mar 4 21:55:14 CET 2016 aarch64 GNU/Linux
[alarm@alarm ~]$ cat /proc/cpuinfo 
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
processor : 1
processor : 2
processor : 3
Features : fp asimd aes pmull sha1 sha2 crc32 
CPU implementer : 0x41
CPU architecture: AArch64
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

[alarm@alarm ~]$ cat /proc/meminfo 
MemTotal:        1002164 kB
MemFree:          815492 kB
Buffers:           10392 kB
Cached:            73076 kB
Add a line:
ethaddr=xx:xx:xx:xx:xx:xx to /boot/uEnv.txt
where xx:xx:xx:xx:xx:xx is the mac address printed on the sticker on the board. If you don't like that particular MAC address you can assign whatever you wish, just make sure it is unique on your network.
Thanks, will try that once I got the board working again, it is not staying online, it seems to be in a power cycle loop.
(04-10-2016, 02:38 PM)Leoncito81 Wrote: [ -> ]Add a line:
ethaddr=xx:xx:xx:xx:xx:xx to /boot/uEnv.txt
where xx:xx:xx:xx:xx:xx is the mac address printed on the sticker on the board. If you don't like that particular MAC address you can assign whatever you wish, just make sure it is unique on your network.


if you quote someone else's answer please attribute it.
see http://forum.pine64.org/showthread.php?t...86#pid5186
cheers
Sorry, not trying to take credit. Couldn't figure out how to like the answer. :-) (like an idiot, didn't even think about pasting the link. )
I was looking at the boot log someone had posted on a different forum. Longsleep's build doesn't seem to set the MAC address for the Ethernet. I'm a relative newby to Arch, but I've never noticed this before.