Closed Black6spdZ closed 10 months ago
Turn off the dhcp allocation function of one of them. If there are multiple devices in a LAN competing for IP allocation, there will be conflicts.
I thought the network interfaces were client by default? It gets an IP just fine from my DHCP server. Also, if I use a USB ethernet adapter on the second Amlogic box that is fine too.
run: armbian-fix
doesn't help.. I forgot that I do have a third amlogic s912 box on my network, but it is running LibreElec and doesn't cause any issues.. only when I bring up two running Armbian at a time
problem is simple.. all armbian flashed amlogic devices are sharing the same MAC.. how is this even possible? This looks promising https://patchwork.kernel.org/project/linux-arm-kernel/patch/20190727194647.15355-3-martin.blumenstingl@googlemail.com/ found this work-around https://forum.libreelec.tv/thread/2139-how-to-change-duplicate-mac-address/?postID=62287#post62287
attempting to set new u-boot env MAC but:
root@Armbian:~# apt-get reinstall u-boot-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 171 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://deb.debian.org/debian bullseye/main arm64 u-boot-tools arm64 2021.01+dfsg-5 [171 kB]
Fetched 171 kB in 0s (543 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 16082 files and directories currently installed.)
Preparing to unpack .../u-boot-tools_2021.01+dfsg-5_arm64.deb ...
Unpacking u-boot-tools (2021.01+dfsg-5) over (2021.01+dfsg-5) ...
Setting up u-boot-tools (2021.01+dfsg-5) ...
root@Armbian:~# fw_printenv
-bash: fw_printenv: command not found
so will we need to manually change the MAC in the future?
have an existing S912 Amlogic box running Armbian and when I start up a second S905x box both have sporadic network connectivity issues similar to an IP conflict even though that is not the issue here. As soon as I unplug the s905x box the network is restored.