How to change and flash MAC
By demon_sl | May 17, 2015
24 Comments
How to change and flash MAC address of the network cardFor 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:1 Create USB stick with DOS operating system
2 Preparing tools for firmware
3 Firmware
For firmware MAC address on the network card, we need a proprietary utility from the manufacturer of the chip. For different chips use their tools (Broadcom, Intel, JMicron, nVidia, Marvell, Realtek).
Depending on chip which you’ll firmware – copy to USB stick by appropriate utility
Consider the network card firmware on the example
of the most popular models of home NAS HP N54L1. Create a bootable USB stick with the DOS in any way known to you
Creating MS DOS Boot USB stick
Connect USB stick to PC and open HP USB Disk Storage Format Tool
- Utility window, select your USB stick connected
- File system is FAT32
Сheck boxes formatting options:
- Quick Format YES
- Create a DOS startup disk YES
- Specify the path to the unpacked archive files MSDOS and press Start
- In the warning dialog box, click Yes
- After process completion copy other files in the root directory of the stick in the if required
CAUTION All data on the USB stick will be removed
Show_picture
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 XXXXXXXXXXXXand 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
Broadcom B44xxB44DIAG.EXE -c 0 -e b44kia -mac XXXXXXXXXXXXBroadcom B57xxB57DIAG.EXE -c 0 -e b57kia -mac XXXXXXXXXXXXB57UDIAG.EXE -c 0 -e b57udg -mac XXXXXXXXXXXXBroadcom NetXtreme IIXDIAG.EXE -c 0 -mac XXXXXXXXXXXXBroadcom EverestEDIAG.EXE -c 0 -mac XXXXXXXXXXXXIntelEEUPDATE.EXE /NIC=1 /MAC=XXXXXXXXXXXXERUPDATE.EXE -NIC=1 -MAC=XXXXXXXXXXXXJMicron JMC25X/26XEEMAC.EXE XXXXXXXXXXXXMarvell YukonYUKONVPD.EXE -M XXXXXXXXXXXXnVidiaNVFLSHSC.EXE -m XXXXXXXXXXXXNVFLSHSC.EXE -macn XXXXXXXXXXXX (Where 'n' is NIC number 1-8)AWDFLASH.EXE BIOS.BIN /py/sn/cc/cd/cp/nvmac:XXXXXXXXXXXX/wb/eRealtek RTL8019PG8019.EXE CFG_FILE.CFGIn CFG_FILE edit the following with your own MAC:NodeID = XX XX XX XX XX XXRealtek RTL8029PG8029.EXE CFG_FILE.CFGIn CFG_FILE edit the following with your own MAC:NodeID = XX XX XX XX XX XXRealtek RTL8101E/RTL8102E/RTL8103E Family PCI-E Fast EthernetPG8136.EXE /nodeid XXXXXXXXXXXXPG8136.EXE /efuse /nodeid XXXXXXXXXXXXRealtek RTL8104EPG8137.EXE /nodeid XXXXXXXXXXXXRealtek RTL8139/RTL810X Family Fast EthernetPG8139.EXE /nodeid XXXXXXXXXXXXRealtek RTL8168 Family Ethernet FamilyPG8168.EXE /nodeid XXXXXXXXXXXXPG8168.EXE /efuse /nodeid XXXXXXXXXXXXRealtek RTL8169/8110 FamilyPG8169.EXE /nodeid XXXXXXXXXXXXRealtek RTL8136/RTL8168/RTL8169 FamilyRTNICPG.EXE /nodeid XXXXXXXXXXXX
MS DOS Files
IMAGEFORMAT
LINK
MD5
HP USB Disk Format Tool
zip
E30FFD26B45C78303085DC4F35A24A80
MS DOS (win98)
zip
90BA32D64157EDC4452965D7ECF3F1EB
Utilities for MAC firmware
IMAGEFORMAT
LINK
MD5
Broadcom B44udiag-2.15
ISO
75AD0CE9E5DE31478939502A1F598530
Broadcom B57udiag-15.6.1
ISO
D2775DFA303DE71A63ACAFECDBB3F94E
Broadcom NetXtreme II uXdiag_7.10.2 (For 1Gb)
zip
878C23EB83EB0C391E42360A32F4760D
Broadcom NetXtreme II uXdiag_7.10.2 (For 10Gb)
zip
F4B21E32ABC5E024B8C8F78523AE16EA
Intel Erudite 82559ER
exe
E010AB58FFEA1BE60667BDA084944D5D
Intel EEupdate 5.17.19.02
zip
22C1B0EBAB6A2B9FF1244FDFD542F924
Realtek RTL8111
zip
B57090872611793748B75958DD164DC9
Realtek RSET-8168_119
zip
7DE777F3F285A345B05205EFA9545275
Realtek RSET-8168_232
zip
A2DE43C3BC89FA79050C6B4EA27FD545
Marvell EEprom pack
zip
3EC5D1B0F0FF1CBBBC6E7430A2D2B583