Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

orangepi-one MAC address

Featured Replies

I'm trying to get my MAC address on my orangepi-one to be what it used to be before the upgrade to "ARMBIAN 5.27 stable Debian GNU/Linux 8 (jessie) 4.10.11-sun8i" but I'm having dificulty :(

 

I tried decompiling /boot/dtb/sun8i-h3-orangepi-one.dtb and adding


mac-address = [52 53 3d 80 aa 0c];

 

few other tries, then tried

 


mac-address = <0x52 0x53 0x3d 0x80 0xaa 0x0c>;

 

in the ethernet@1c30000 { section:

latest version looks like:

 



                ethernet@1c30000 {
                        compatible = "allwinner,sun8i-h3-emac";
                        syscon = <0x20>;
                        reg = <0x1c30000 0x104>;
                        interrupts = <0x0 0x52 0x4>;
                        resets = <0x2 0xc>;
                        reset-names = "ahb";
                        clocks = <0x2 0x1b>;
                        clock-names = "ahb";
                        #address-cells = <0x1>;
                        #size-cells = <0x0>;
                        status = "okay";
                        phy-handle = <0x21>;
                        phy-mode = "mii";
                        allwinner,leds-active-low;
                        linux,phandle = <0x57>;
                        phandle = <0x57>;
                        mac-address = <0x52 0x53 0x3d 0x80 0xaa 0x0c>;

                        mdio {
                                #address-cells = <0x1>;
                                #size-cells = <0x0>;
                                linux,phandle = <0x58>;
                                phandle = <0x58>;

                                ethernet-phy@1 {
                                        reg = <0x1>;
                                        clocks = <0x2 0x43>;
                                        resets = <0x2 0x27>;
                                        linux,phandle = <0x21>;
                                        phandle = <0x21>;
                                };
                        };
                };


 

I recompile this DTS to DTB (over the old one that I have backed up)


    dtc -I dtb -O dts -o sun8i-h3-orangepi-one.dts sun8i-h3-orangepi-one.dtb

    mv sun8i-h3-orangepi-one.dtb sun8i-h3-orangepi-one.dtb.original

    vi sun8i-h3-orangepi-one.dts
    dtc -O dtb -I dts -o sun8i-h3-orangepi-one.dtb sun8i-h3-orangepi-one.dts

 

but I'm still getting old mac address after reboot !?

 

I have zero experience with u-boot (if that's what's being used to boot this, I don't know for sure) or armbian till today so any help appreciated :)

 

  • Author

that's weird :(

 

what's even weirder, if I go and edit /etc/network/interfaces and add hwaddress ether ... and reboot it boots with old mac address but does not get ip from the dhcp server :( ..

if I manually ifconfig eth0 hw ether .. it changes the mac address but again restarting networking won't get dhcp ip addr ?!?! totally weird..

 

will reconfigure other devices for the new mac on this one but weird that I can't change it :(

 

will have to look how the u-boot works, it's attm complete mystery to me :(

  • Author

thanks for confirming I'm not doing anything wrong :D .. that's important 'cause I was running in circles for a while.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.