04-24-2016, 12:29 PM
(04-23-2016, 07:16 PM)patrickhwood Wrote: See this post: http://forum.pine64.org/showthread.php?t...86#pid5186
hi @patrickhwood,
thank you for the quick response & help.
i read over that forum post. where, exactly, on the card, is the MAC address? is it the set of numbers below the serial number & 2nd bar code? —
[^^^^ the back of my Pine64 A64+ 2 GB board]
if it is that 2nd number, the one below the serial number ("410640113374"), then that would be the 0006dc8b7526 number, or 00:06:dc:8b:75:26.
so i tried putting that at the end of my /boot/uEnv.txt on the Arch Linux MicroSD card —
Code:
ethaddr=00:06:dc:8b:75:26
... and tried rebooting, several times, after that. each time, it still came up with a random MAC address, still.
i then used pacman to download and install macchanger, like the post your referenced suggests —
Code:
$ pacman -Sy macchanger
and did this —
Code:
$ macchanger --mac=00:06:dc:8b:75:26 eth0
that did change the MAC address, for sure, when i did ifconfig -a that confirmed that it was changed, and at times, my Xfinity/Comcast cable modem/router with my port forwarding rule saw that and assigned it accordingly to the Pine64 board (10.0.0.14), but on each next reboot, it would then be a random MAC address number again. and i was back to having to use macchanger to re-assign the MAC address number on each re-boot.
so is there another method, or way of using macchanger, or maybe iproute2, to permanently set the MAC address on the Pine64 board running the Arch MicroSD? this does not happen when running an Ubuntu image - that stays the same assigned static IP from my Xfinity/Comcast cable modem/router, every time.
please let me know.
best,
— faddah
portland, oregon, u.s.a.