[Solved] 2 new ODROID HC1 units have same eth0 MAC

Post Reply
grep54
Posts: 4
Joined: Fri Dec 20, 2019 12:30 am
languages_spoken: english
ODROIDs: HC1
Has thanked: 0
Been thanked: 0
Contact:

[Solved] 2 new ODROID HC1 units have same eth0 MAC

Unread post by grep54 » Fri Dec 20, 2019 1:08 am

Hi,

I've just received 2 new ODROID HC1 units having identical eth0 MAC addresses.

Code: Select all

macchanger -s eth0
shows both units have the same current and permanent MAC.

This obviously causes a problem when both units are present on the same LAN at the same time.

What can be done to handle this case, especially in an environment where multiple HC1 units will be provisioned in an automated way and added to a network? Is it best to return one of the units to the distributor?

Thanks!
Last edited by grep54 on Tue Dec 24, 2019 5:41 am, edited 1 time in total.

User avatar
mad_ady
Posts: 7348
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 350 times
Been thanked: 254 times
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by mad_ady » Fri Dec 20, 2019 3:08 am

I think they had a program to burn a different mac in the ethernet rom...

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by odroid » Fri Dec 20, 2019 11:41 am

The MAC address must be unique.
Which OS image do you use?
Try our official Ubuntu minimal image and let us know the result.
https://wiki.odroid.com/odroid-xu4/os_i ... 10-minimal

grep54
Posts: 4
Joined: Fri Dec 20, 2019 12:30 am
languages_spoken: english
ODROIDs: HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by grep54 » Fri Dec 20, 2019 12:31 pm

Normally, I run Arch Linux ARM. I have setup about 20 HC1 units so far, coming in several orders spread out over more than a year. The duplicate MAC addresses appeared in the most recent order of 2 units.

Right now, I have 3 HC1 units on my desk: unit 1 is much older than units 2 and 3. Units 2 and 3 are the new devices with duplicate MAC addresses.

As a check, I have downloaded the Ubuntu minimal image and booted all 3 units from the same microSD card, one at a time. The results look like this. Note that units 2 and 3 show the same MAC address, 00:1e:06:36:dd:ac.
I only power up one at a time, because the DHCP server cannot distinguish between units 2 and 3.

Code: Select all

# unit 1, EL1708 000110
root@odroid:~# uname -a
Linux odroid 4.14.141-169 #1 SMP PREEMPT Sat Aug 31 23:19:59 -03 2019 armv7l armv7l armv7l GNU/Linux
root@odroid:~# cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
root@odroid:~# ip a show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1e:06:30:c0:e0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.222/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 3069099588sec preferred_lft 3069099588sec
    inet6 fdab:c3e9:1725::bca/128 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fdab:c3e9:1725:0:6d7f:1087:1e6d:cb29/64 scope global temporary dynamic
       valid_lft 3069099588sec preferred_lft 3069099588sec
    inet6 fdab:c3e9:1725:0:7adf:a57f:e584:8166/64 scope global mngtmpaddr noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::66e1:7186:5540:e60b/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

# unit 2, EL1806 002423
root@odroid:~# uname -a
Linux odroid 4.14.141-169 #1 SMP PREEMPT Sat Aug 31 23:19:59 -03 2019 armv7l armv7l armv7l GNU/Linux
root@odroid:~# cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
root@odroid:~# ip a show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1e:06:36:dd:ac brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.121/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 3069685316sec preferred_lft 3069685316sec
    inet6 fdab:c3e9:1725::9ce/128 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fdab:c3e9:1725:0:7920:d2b4:95c9:cb22/64 scope global temporary dynamic
       valid_lft 3069685316sec preferred_lft 3069685316sec
    inet6 fdab:c3e9:1725:0:d3e8:c975:6fd6:867e/64 scope global mngtmpaddr noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::8c32:8ef6:e68e:9932/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

# unit 3, EL1806 002414
root@odroid:~# uname -a
Linux odroid 4.14.141-169 #1 SMP PREEMPT Sat Aug 31 23:19:59 -03 2019 armv7l armv7l armv7l GNU/Linux
root@odroid:~# cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
root@odroid:~# ip a show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1e:06:36:dd:ac brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.121/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 3069566532sec preferred_lft 3069566532sec
    inet6 fdab:c3e9:1725::9ce/128 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fdab:c3e9:1725:0:1cab:fc63:62b:e6f9/64 scope global temporary dynamic
       valid_lft 3069566532sec preferred_lft 3069566532sec
    inet6 fdab:c3e9:1725:0:d3e8:c975:6fd6:867e/64 scope global mngtmpaddr noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::8c32:8ef6:e68e:9932/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by odroid » Fri Dec 20, 2019 3:57 pm

Something could be wrong in our production line.
I will check whether you can reprogram the MAC address or not.

grep54
Posts: 4
Joined: Fri Dec 20, 2019 12:30 am
languages_spoken: english
ODROIDs: HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by grep54 » Mon Dec 23, 2019 12:08 pm

Please let me know if there is any more information about these two HC1s that would be helpful.

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by odroid » Mon Dec 23, 2019 3:41 pm

We've made a special Ubuntu OS image which has an application and driver software to flash the MAC address in the Ethernet controller IC.
We are testing it now and we can share the image and instruction guide within 24 hours.
Please be patient one more day.

grep54
Posts: 4
Joined: Fri Dec 20, 2019 12:30 am
languages_spoken: english
ODROIDs: HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: 2 new ODROID HC1 units have same eth0 MAC

Unread post by grep54 » Tue Dec 24, 2019 5:41 am

I have received support in a PM. The instructions supplied there were clear. I have been able to flash a new permanent MAC address on one of the HC1 units.

Thanks!

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: [Solved] 2 new ODROID HC1 units have same eth0 MAC

Unread post by odroid » Tue Dec 24, 2019 7:30 am

Thank you for the confirmation.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest