Variable Ethernet MAC address
#1
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
#2
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.
#3
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.
#4
(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.

@Leoncito81
if you quote someone else's answer please attribute it.
see http://forum.pine64.org/showthread.php?t...86#pid5186
cheers
#5
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. )
#6
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,200 12-06-2018, 01:14 AM
Last Post: tenspd137
Question No more ethernet with linux... Android connection is fine?!?! cr2016 9 13,812 11-12-2016, 07:29 PM
Last Post: cr2016
  More than one Pine64 - all the same mac address Zhara 1 4,410 08-23-2016, 10:00 AM
Last Post: MarkHaysHarris777
  USB Ethernet support pleco 4 6,759 06-22-2016, 07:33 AM
Last Post: lenny.raposo-pine64.pro
  Slow ethernet in linux dipole 20 30,902 05-04-2016, 01:40 PM
Last Post: ak_hepcat

Forum Jump:


Users browsing this thread: 1 Guest(s)