UBCD4Win Forums: When A Nic Mac Address Goes Bad... - UBCD4Win Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

When A Nic Mac Address Goes Bad... A How-To Guide

#1 User is offline   Jotnar Icon

  • Ultra Member
  • PipPipPipPipPipPip
    • Group: Members
    • Posts: 1093
    • Joined: 25-August 04

    Posted 10 September 2011 - 10:23 PM

    Sometimes your (non-wireless) NIC ends up with a MAC address of 00:00:00:00:00:00 / FF:FF:FF:FF:FF:FF / 04:4B:80:80:80:03 after a BIOS update.
    This effectively makes your NIC useless until you can fix it. On some boards this will cause a 'MAC address are invalid in both CMOS and Flash' error.

    Here's how to fix this problem (your MAC = XXXXXXXXXXXX):

    Broadcom B44xx
    B44DIAG.EXE -c 0 -e b44kia -mac XXXXXXXXXXXX


    Broadcom B57xx
    B57DIAG.EXE -c 0 -e b57kia -mac XXXXXXXXXXXX

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


    Broadcom NetXtreme II
    XDIAG.EXE -c 0 -mac XXXXXXXXXXXX


    Broadcom Everest
    EDIAG.EXE -c 0 -mac XXXXXXXXXXXX


    Intel
    EEUPDATE.EXE /NIC=1 /MAC=XXXXXXXXXXXX

    ERUPDATE.EXE -NIC=1 -MAC=XXXXXXXXXXXX


    JMicron JMC25X/26X
    EEMAC.EXE XXXXXXXXXXXX


    Marvell Yukon
    YUKONVPD.EXE -M XXXXXXXXXXXX


    nVidia
    NVFLSHSC.EXE -m XXXXXXXXXXXX

    NVFLSHSC.EXE -macn XXXXXXXXXXXX (Where 'n' is NIC number 1-8)

    AWDFLASH.EXE BIOS.BIN /py/sn/cc/cd/cp/nvmac:XXXXXXXXXXXX/wb/e


    Realtek RTL8019
    PG8019.EXE CFG_FILE.CFG

    In CFG_FILE edit the following with your own MAC:
    NodeID   = XX XX XX XX XX XX


    Realtek RTL8029
    PG8029.EXE CFG_FILE.CFG

    In CFG_FILE edit the following with your own MAC:
    NodeID   = XX XX XX XX XX XX


    Realtek RTL8101E/RTL8102E/RTL8103E Family PCI-E Fast Ethernet
    PG8136.EXE /nodeid XXXXXXXXXXXX

    PG8136.EXE /efuse /nodeid XXXXXXXXXXXX


    Realtek RTL8104E
    PG8137.EXE /nodeid XXXXXXXXXXXX


    Realtek RTL8139/RTL810X Family Fast Ethernet
    PG8139.EXE /nodeid XXXXXXXXXXXX


    Realtek RTL8168 Family Ethernet Family
    PG8168.EXE /nodeid XXXXXXXXXXXX

    PG8168.EXE /efuse /nodeid XXXXXXXXXXXX


    Realtek RTL8169/8110 Family
    PG8169.EXE /nodeid XXXXXXXXXXXX


    Realtek RTL8136/RTL8168/RTL8169 Family
    RTNICPG.EXE /nodeid XXXXXXXXXXXX


    SiS 190/191
    EE19X.EXE EE19X.DAT

    Open EE19X.DAT in notepad, line 4, 5, 6
         e000
         0906     ===> 00 E0 06 09 00 01
         0100


    SiS 900
    EE.EXE EE

    Open EE with notepad and you will find 
    0b00    ; Mac addr [2][1]
    126a    ; Mac addr [4][3]
    5634    ; Mac addr [6][5]
    
    Replace them with your MAC address.
    For example: 000b6a67890a
    0b00    ; Mac addr [2][1]
    676a    ; Mac addr [4][3]
    0a89    ; Mac addr [6][5]


    ULi M5261/M5263
    PGSROM.EXE /i SROM.DAT

    In SROM.DAT change the following to your MAC:
    NodeAddress = XX XX XX XX XX XX


    Via
    EEPROM.EXE -km# XXXXXXXXXXXX (Where '#' is the #th NIC)

    EEPROM32.EXE -km# XXXXXXXXXXXX (Where '#' is the #th NIC)




    Some motherboard manufacturers provide utilities to fix the problem as well:

    ASRock*
    MAC.EXE c XXXXXXXXXXXX


    MSI
    MM_LAN.BAT (Calls MSIMAC.EXE)


    *If you have an ASRock board with this issue, file a support ticket with them and they'll send you the tool to fix this problem.



    Depending on your BIOS setup (if the MAC is in the bootblock) you might be able to fix the problem with the BIOS update tools:

    AMI
    AFUDOS.EXE /M XXXXXXXXXXXX


    Pegatron (!!WARNING!! Does not check before it flashes. Only use if you're POSITIVE your BIOS supports it)
    PFUDOS.EXE /M XXXXXXXXXXXX


    Phoenix
    SMBCFG.EXE /MAC # XX XX XX XX XX XX (Where '#' is the NIC number 1,2,3...)


    Cheers

    This post has been edited by Jotnar: 10 September 2011 - 10:48 PM

    0

    #2 User is offline   pcuser Icon

    • Project Programmer
    • PipPipPipPipPipPipPip
      • Group: Moderator & Development
      • Posts: 4435
      • Joined: 20-November 04
      • Gender:Male
      • Location:Kneebrasskee

      Posted 10 September 2011 - 10:38 PM

      That was an amazing post, thank you Jotnar!
      If you're afraid of taking any chances then the chances are great that you will never learn anything

      Multiboot Plugins - UBUSB (Ultimate Boot USB) - EzPcFix - RootKitty - Network Configuration Utility - UnIsoFS - A Small Linux Distro - SELogger - HashME - WSock - My Paypal
      0

      #3 User is offline   AncientMaster Icon

      • Newbie
      • Pip
        • Group: Members
        • Posts: 8
        • Joined: 30-December 11

        Posted 30 December 2011 - 05:47 AM

        2 ways for doing this in LINUX:

        ifconfig ethYY hw ether XX:XX:XX:XX:XX:XX

        or...

        macchanger --mac=XX:XX:XX:XX:XX:XX ethYY


        where XX.X is the MAC address you desire to define/reset
        and YY is the device number of the NIC

        Losing the MAC address can also occur if your CMOS battery is weak or dead. I recently replaced one on a DFI motherboard whose onboard NIC reported a MAC address of FF:FF:FF:FF:FF:FF

        This post has been edited by AncientMaster: 30 December 2011 - 05:55 AM

        0

        #4 User is offline   tehparan0id Icon

        • Newbie
        • Pip
          • Group: Members
          • Posts: 2
          • Joined: 02-January 12

          Posted 02 January 2012 - 06:13 AM

          View PostJotnar, on 10 September 2011 - 10:23 PM, said:

          Sometimes your (non-wireless) NIC ends up with a MAC address of 00:00:00:00:00:00 / FF:FF:FF:FF:FF:FF / 04:4B:80:80:80:03 after a BIOS update.
          This effectively makes your NIC useless until you can fix it. On some boards this will cause a 'MAC address are invalid in both CMOS and Flash' error.

          Realtek RTL8168 Family Ethernet Family
          PG8168.EXE /nodeid XXXXXXXXXXXX

          PG8168.EXE /efuse /nodeid XXXXXXXXXXXX


          Realtek RTL8169/8110 Family
          PG8169.EXE /nodeid XXXXXXXXXXXX


          Realtek RTL8136/RTL8168/RTL8169 Family
          RTNICPG.EXE /nodeid XXXXXXXXXXXX



          Hello..

          Does anyone have the rtnicpg.exe utility? I've looked all over the internet and just cannot seem to find it..

          Appreciate any assistance anyone can provide..

          This post has been edited by tehparan0id: 02 January 2012 - 06:14 AM

          0

          #5 User is offline   rdsok Icon

          • rdsok
          • PipPipPipPipPipPipPipPip
            • Group: Admin
            • Posts: 6750
            • Joined: 02-October 05
            • Gender:Male
            • Location:Norman, Ok. USA

            Posted 02 January 2012 - 12:47 PM

            View Posttehparan0id, on 02 January 2012 - 05:13 AM, said:

            Hello..

            Does anyone have the rtnicpg.exe utility? I've looked all over the internet and just cannot seem to find it..

            Appreciate any assistance anyone can provide..



            Realtek's download page for NIC device drivers and diagnostic's utils is found here http://www.realtek.c...&Level=3&Conn=2 ... at the time I checked, the FTP site for the diag utils were all down.

            Please note you probably have an alternate source available to you since I suspect your device is actually made by another company and just contains the Realtek chip on it... If it is built into your system's motherboard, go to their website to see if the diag utils are available for download there... same holds true for a stand-alone network card.
            Plan A is always more effective when the device you are working on understands that Plan B involves either a large hammer or screwdriver....
            0

            #6 User is offline   tehparan0id Icon

            • Newbie
            • Pip
              • Group: Members
              • Posts: 2
              • Joined: 02-January 12

              Posted 02 January 2012 - 11:44 PM

              View Postrdsok, on 02 January 2012 - 12:47 PM, said:

              View Posttehparan0id, on 02 January 2012 - 05:13 AM, said:

              Hello..

              Does anyone have the rtnicpg.exe utility? I've looked all over the internet and just cannot seem to find it..

              Appreciate any assistance anyone can provide..



              Realtek's download page for NIC device drivers and diagnostic's utils is found here http://www.realtek.c...&Level=3&Conn=2 ... at the time I checked, the FTP site for the diag utils were all down.

              Please note you probably have an alternate source available to you since I suspect your device is actually made by another company and just contains the Realtek chip on it... If it is built into your system's motherboard, go to their website to see if the diag utils are available for download there... same holds true for a stand-alone network card.


              Appreciate the quick response. I've found the diag utilities but have not yet found the rtnicpg.exe utility. Also, I keep finding all of these old versions of pg8168 but.. they don't.. work so.. I'm back to searching for the rtnicpg.exe.
              0

              #7 User is offline   rdsok Icon

              • rdsok
              • PipPipPipPipPipPipPipPip
                • Group: Admin
                • Posts: 6750
                • Joined: 02-October 05
                • Gender:Male
                • Location:Norman, Ok. USA

                Posted 03 January 2012 - 10:06 AM

                If you are getting the proper set of diag utils for the make/model of network card you have, it should contain the util that can set the MAC address for it. Read any readme.txt or similar text files in the one ( ones ) you have downloaded to ensure which one is included... and verify that you have the proper set of utils for your specific card, you may have to get them direct from the manufacturer as I mentioned.
                Plan A is always more effective when the device you are working on understands that Plan B involves either a large hammer or screwdriver....
                0

                Page 1 of 1
                • You cannot start a new topic
                • You cannot reply to this topic

                1 User(s) are reading this topic
                0 members, 1 guests, 0 anonymous users