Overview

There’s annoying bug on cheap Amlogic ARM-Based Single Board Computer running Armbian with Debian 11 version. I recently instaling multiple devices with single image Armbian (Debian 11). Once the process completed, all devices were unable to connect to the network due to the MAC duplicate. The originial MAC Address was gone, and instead, it generated new MAC address on each devices lead to MAC duplicatation. Because all devices were using same MAC Addresses, the network connection was rejected by the router or firewall.

Resolution

Fixing this issue temporarily is simple, If you can recall the original MAC address before the device was installed, you can manually add the MAC addresson the network settings by adding hwaddress ether XX:XX:XX:XX:XX:X. Alternatively, if you cannot remember the MAC address, you have the option to generate a new one and assign it to the network interface.

Edit the network setting on the following:

nano /etc/network/interfaces
  • For DHCP
auto eth0
iface eth0 inet dhcp
        hwaddress ether XX:XX:XX:XX:XX:X

There’s another bug if using DHCP. The device might get two IP on 1 interface. Aleternatively, you can use static as the following:

  • For Static IP
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 10.10.10.6
netmask 255.255.255.0
gateway 10.10.10.1
        hwaddress ether XX:XX:XX:XX:XX:XX
dns-nameservers 10.10.10.4 10.10.10.5

Change the xx. with the valid MAC address.

Once done, reboot the devices. You should see the devices is back accesible from the network.