How to change and flash MAC

By | May 17, 2015
Networking-Technology-HD-Wallpaper960

How to change and flash MAC address of the network card

For firmware required:

  • Valid MAC address (see more >>)
  • Branded utility for the firmware from the manufacturer
  • USB stick with the DOS operating system

Firmware is reduced in 3 stages:

Consider the network card firmware on the example
of the most popular models of home NAS HP N54L

1. Create a bootable USB stick with the DOS in any way known to you

Creating MS DOS Boot USB stick

2. Download and copy files to in root directory on a USB stick from B57udiag-15.6.1.iso image

3. Boot from the resulting USB stick

4. Go to the directory where the B57UDIAG.EXE (program from the image of stage 2),
and run the command:
B57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXX

where 0 – number of your network card in the system and XXXXXXXXXXXX – MAC-address

In order to automate the process
For example, if a server without a monitor and input devices use the autoexec.bat 
Create a autoexec.bat file with the contents from previous stage:

B57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXX

and put in the root of the USB stick

Attention!
File utility firmware also must be at the root directory of USB stick
or specify the path to the file B57UDIAG.EXE in autoexec.bat

Commands for other chips firmware
MS DOS Files
Utilities for MAC firmware

34 thoughts on “How to change and flash MAC

  1. Khoo

    Hi,

    I’m using Intel Atom D945GCLF motherboard, which MAC firmware should I use?
    Is it Realtek RTL8111 ?

    Reply
  2. Robert

    HI, is it possible make this instruction on my server HP microserver Gen8? Which firmware can I use it? Thanks Robert

    Reply
    1. CripleOne

      NIC would be: HP Ethernet 1Gb 2-port 332i
      I belive that it can be done with the B57udiag-15.6.1 but I’m not sure. Please anyone correct me if I’m wrong.

      Reply
    2. CripleOne

      Yup. I can confirm. You can do it exactly like on the N54L. No difference.

      Reply
  3. René

    I’m not able to create a boot stick that way.
    One one side, a only ms-dos usb stick works, but on the other side it’s not possible to add the B57diag folder to usb.
    Is it possible to create a more understanding howto?
    Thank you!

    Reply
    1. Gary

      mount the iso file “B57udiag-15.6.1.iso” use “Daemon tools lite” as a CDRom, than copy the files to the DOS bootable USB, use this USB to boot up in DOS mode, use dos command go to the directary B57diag, and run the command.
      (I tested it is for Boardcom chipset, not work for Realtek!)

      Reply
      1. René

        Well, now flashing the nic worked for me.
        I flashed the mac address of my old Synology DS212j, which is out of use.
        Than I put the serial number into the syslinux.cfg of the xpenology boot stick.
        After that I tried to connect to the Synology services, but it failed.
        The system information shows correct details, but Quickconnect says unknown failure.
        What can I do?

        Reply
          1. Marc

            Realtek RTL8168 Family Ethernet Family
            PG8168.EXE /nodeid XXXXXXXXXXXX
            PG8168.EXE /efuse /nodeid XXXXXXXXXXXX

  4. Yiannis

    Dump question: Why do we need to change MAC address on our systems?

    Reply
  5. René

    In order to create a “synology like” MAC address, beginning with 00:11:32:__:__:__
    By that you can use Synology DynDNS and QuickConnet.

    Reply
  6. Branox

    Hi, I flash the firmware “Intel EEupdate 5.17.19.02” and flash process failed after 10 second. I have Gigabyte H97N-WIFI motherboard with Intel and Atheros NIC´s. Dont you now what is the problem?

    Reply
    1. WashAgain

      I have the same motherboard (Gigabyte H97N-WIFI) … I con’t find any tools for the Atheros but for the intel it work with the last version of EEupdate (i don’t remember but i think is v5.19) … Good luck

      Reply
  7. berman002

    i am using a realtek 8111f when i try to flash the efrom it doesn’t work, only work with the efuse, anyone have the same issues?

    Reply
    1. erechm

      berman002, what tool are you using for Realtek? Also, what did your command look like compared to what he used in the example above?…

      B57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXX

      Reply
  8. Charlie

    Hi, I have a Marvell Yukon 88E8040 and I can’t flash it. I created the usb boot drive. When I’m in ms-dos it launches “error 040: No network interface was found”
    Isn’t the flashing method in this post no valid for this card?

    Thank you.

    Reply
  9. dxb

    i have intel i210 i217-lv nics.
    EEUpdate 5.17.19.02 and erupdate
    cannot find any adapter.

    Reply
  10. erechm

    Anyone know what tool to use for Realtek ? Also, what would the commands look like using the Realtek EXE. For example, what would replace the b57udg in the following….

    B57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXX

    Reply
  11. cosmo

    the b57diag.exe inside is no ver 15.6.1, so I can’t repair my cards corrupt magic.
    I need latest version, anyone ?

    Reply
  12. Promo

    Great work on ASRock Z77 pro3 (Realtek 8111E), but dont work on Gigabyte H97M-D3H (Realtek 8111G).

    Reply
  13. abhishek shrivastav

    i used this process but my computer show “no brodcom card detected” error show enter the B57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXX this command plz solve my problem

    Reply
  14. Milhaus

    Halo,

    i have nforce 5 chipset. have you utilities for this chipset to download ? please help thanks

    Reply
      1. el_tuner_fou

        Well, actually I think I’ve looked too complicated and I’m totally wrong, so:
        – I created the usb key with “HP USB Disk Storage Format Tool” and “MS-DOS files”. That’s ok.
        – Then I downloaded B57udiag-15.6.1.iso and mounted with Daemon Tool. And that’s after I totally block. The files, you have to copy them on a new usb key or it is on the same ???
        We boot the server with this same key, and that is when we select B57UDIAG.EXE? I do not understand anything in this passage …..

        Well, actually I think I’ve looked too complicated and I’m totally wrong, so:
        – I created the usb key with “HP USB Disk Storage Format Tool” and “MS-DOS files”. That’s ok.
        – Then I downloaded B57udiag-15.6.1.iso and mounted with Daemon Tool. And that’s after I totally block. The files, you have to copy them on a new usb key or it is on the same ???
        We boot the server with this same key, and that is when we select B57UDIAG.EXE? I do not understand anything in this passage …..

        Besides, is it really obligatory to change the S / N and MAC ???
        Thank you very much for your help.

        Reply
        1. el_tuner_fou

          Well, actually, by reading well and with patience, I succeeded.
          Remember, I have two Intel Gigabit 82574L cards.
          So, to help others, I created the bootable USB key with the software “HP USB Disk Storage Format Tool”, then I put with this software the file MS-DOS (Win98Boot).
          Then, I copied on this USB stick the files present on “B57udiag-15.6.1.iso” and also the “Intel EEUpdate 5.17.19.02”.
          Install the key on my server and boot on it. Launching ok, I used the command “EEUPDATE.EXE / NIC = 1 / MAC = xxxxxxxxxxxx”.
          The two cards appeared, and especially the two lines:
          2: Updating MAC Address to xxxxxxxxxxxx … Done.
          2: Updating Checksum and CRCs … Done. So I used the second command “EEUPDATE.EXE / NIC = 2 / MAC = xxxxxxxxxxxx
          Both lines are ok too.
          So my two cards are flashed with new MAC address.
          Thank you very much ! ! ! !

          Reply
  15. vaddle

    nic: Intel (R) EXPI9301CTBLK Gigabit CT adaptateur reseau PCI express
    motherboard: ASRock B85M-HDS R2.0

    an easy operation
    thank you very much!

    Reply
  16. Salvatore

    Realtek 8168 in asrock mb, flashed with his official asrock tool, all goes ok but the lights on the nic goes left orange and blink and right red solid. Any tool recognize it like synology hardware but I can’t connect to his ip. It’s unreachable over the network. Help !!!

    Reply
  17. Steve

    Hey folks, anyone have the link for the utilities to mod the MAC on a Realtek 8169S-32 ???

    Thanks.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *