This forum is for supported devices using an ARMv7 Samsung SoC.
by renegat » Sun Nov 19, 2017 7:35 am
I'am running into the same issue: On every boot of my U3 the MAC changed to a new one spamming my DNS leases and make the DNS fail after max. leases are reached.
Unfortunately there is absolutely no hint how to stop this.
Setting optargs=usbethaddr="c6:49:e2:af:cc:03" in /boot/uEnv.txt did not help
Doing
$this->bbcode_second_pass_quote('', '
')ifconfig eth0 down
rmmod smsc95xx
modprobe smsc95xx
rmmod smsc95xx
modprobe smsc95xx
reboot
as mentioned
here does not help
and the hint from
here to
$this->bbcode_second_pass_quote('', '
')delete /etc/smsc95xx_mac_addr and reboot
did also change nothing as this file does not even exist.
At
com.odroid.com it is said, that:
$this->bbcode_second_pass_quote('', '
')- Ethernet MAC address is defined in /etc/smsc_95xx_addr instead of /usr/
but that file does not exist and creating it with a MAC in it changes: nothing!
I found an entry in journalctl:
$this->bbcode_second_pass_code('', '
alarm systemd-udevd[211]: Could not generate persistent MAC address for eth0: No such file or directory
')
but I do not know to which file it refers to and in which format the MAC has to be set there.
EDIT II:
At last I found something about this udev error above
here:
$this->bbcode_second_pass_quote('', '
')you should be able work around it by copying /usr/lib/systemd/network/99-default.link to /etc/systemd/network/99-default.link and replace MACAddressPolicy=persistent with MACAddressPolicy=none in the latter, which should prevent udev from doing anything relevant.
After that the error is gone - but you will still get a random MAC no matter what you have set in /boot/uEnv.txt or /etc/smsc_95xx_addr
Please help me to set a persisting MAC on my U3 or I can only use it as a paperweight anymore!
Thank you in advance.
Kernel: Linux alarm 4.14.0-1-ARCH #1 SMP Tue Nov 14 05:03:13 UTC 2017 armv7l GNU/Linux