How to modify the MAC address method _ Application Tips

Source: Internet
Author: User
Different brand of network card has a dedicated refresh program, the need for the chip model to download the corresponding refresh program

Easily modify the NIC MAC address
The MAC address of the NIC is the physical address that is cured in the network card EPROM, is the "ID card" of a network card, usually is 48 bits. In the usual application, there are many aspects related to MAC address, such as some software and MAC address binding, there is no allowed MAC address, the software can not run; or in the local area network, managers often bind IP and client MAC address to facilitate management, in case the user's network card is broken, It is troublesome to request the manager to change the binding MAC address after changing the network card on its own. At this time, if we can change the NIC's MAC address, it is much more convenient. In fact, it is easy to modify the MAC address of the NIC, we can modify the MAC address of the network card through software in the operating system, and the actual Nic MAC address will not change to achieve the purpose of deceiving the software, or you can change the actual MAC address of the network card directly with the tool.



One, the deception
1. Modify the Registration Form
Almost all NIC drivers can be invoked by the ndisreadnetworkaddress parameter to read a user-specified MAC address from the registry. When the driver determines that the MAC address is valid, the MAC address is programmed into the hardware register, ignoring the intrinsic MAC address of the NIC. We can accomplish this by manually modifying the Windows registry.
Run Windows Registry Editor under Winodws 98, expand Hkey_local_machine\system\current controlset\services\class\net, and see a similar "0000", " 0001 "," 0002 "subkeys. Start by clicking on the "0000" subkey, then look for the contents of the "DriverDesc" key under the subkey until you find the same network card registry information as the target we are looking for.
When the correct network card is found, click on the Pull-down Menu "edit/New/String", the name of the string "NetworkAddress", The New "NetworkAddress" string name on the mouse can be entered a value. Enter the new MAC address value you want to specify. The new MAC address should be a 12-digit hexadecimal number or letter with no "-", like "000000000000" values (note that the specific key values in Windows 98 and Windows 2000/xp are slightly different locations and can be looked up by the lookup feature).
Under "NetworkAddress", continue to add a string value named "Paramdesc" that will be described as the "networkaddress" item, which can be taken as "MAC address." Then change its content to what you want to set up. As shown in the figure. In this way, we have successfully modified the MAC address of the NIC, restart the computer.

2. Modify Network card Properties
Most network adapters can change their MAC address by modifying the network card properties in the Control Panel, in Device Manager, right click on the network card icon that needs to be modified, and select the Properties/Advanced tab. In the properties area, you can see an item called "Network Address" or something similar to a name, click on it, and, under "value" on the right, enter the value of the Mac that you want to specify. To enter 12 hexadecimal digits or letters consecutively, do not enter "-" in between. The settings will take effect once the system is restarted.

Second, the drastic
If the user is using the NIC of the Realtek Company's RTL8139A/B/C/D series Chip, there is a simpler way to modify the MAC address. The PG8139 software designed by Realtek Company can modify the MAC address of RTL8139 series network card directly, even can make the MAC address of the NIC different after each boot. The specific actions are as follows:
The Pg8139.zip solution to a folder, to 8139C chip, for example, with Notepad to open the directory of 8139c.cfg files, modify 8139c.cfg file The first line, the "NodeID" (network card number) after the required new values, the proposed initial value is "E0 4C 00 00 01 ", note that at least one space must be left between each two-digit change.

Save and then enter MS-DOS (note, in pure DOS mode), enter "Pg8139/pci 8139c.cfg" after the DOS prompt, and then press ENTER, when the system prompts "programming EEPROM is successful" Indicates that the change was successful. PG8139 program successfully run every time, in the corresponding 8139c.cfg file, the system will automatically "NodeID" value plus 1, that is, the first run to the current Workstation network card allocated MAC address is "E0 4C 00 00 01", the second run, the system will automatically be assigned to "E0 4C 00 00 02", the third run, will automatically for "a E0 4C 00 00 03" ..., and so on, you can modify the MAC address of the network card in batches, no longer need to modify the 8139c.cfg file again.
If the user's network card is a RTL8139 other version of the chip, just find the corresponding. cfg file changes on the line.
In addition, there is an extreme way to burn the network card through the EEPROM to achieve the purpose of cloning MAC address. But this is risky, and the operation is complex, even experienced users will inevitably appear in the operation of errors, do not recommend this operation.
Three, Qiao circumstance
If you are a user of Windows 2000/XP, you can modify the software SMAC using a free MAC address. After you run SMAC, the list box in the window lists the network cards that are working on your computer. After you select the NIC you want to modify, after entering the new MAC address in the six input boxes below the list box, click on the right "Update Mac (Modify MAC Address)" To complete the MAC address modification.

There are many tools for modifying MAC addresses, but most of them are only available for Windows 2000/XP, which is recommended for "Super Bunny Magic Settings" because it is easy to use and is also effective in Windows 9x systems.
After the modification is complete, the general way to make the settings effective is to reboot the system. There is also an easy way to reboot the system, in the Device Manager, select the network adapter icon, click the right mouse button, choose "Disable" (Please note that the status bar has been shown as "disabled" after the operation). Then right-click the selected network adapter and choose Enable from the right-click menu. This allows the modified settings to take effect.


Linux Environment:
Need to use
#ifconfig eth0 Down
Disable the NIC First
And then use ifconfig eth0 hw ether 1234567890ab to make it work.
If you want to change it forever.
Add these three sentences to the/etc/rc.d/rc.local (you can also add the following three lines to the/etc/init.d/network)
Ifconfig eth0 Down
ifconfig eth0 hw ether 1234567890ab
Ifconfig eth0 up


Other:
How to change the MAC address in Win2000:
Open Registry Editor, find hkey_local_machine\system\currentcontrolset\control\class\{4d36e972-e325-11ce-bfc1-08002be10318} subkey, In the 0000,0001,0002 under the subkey to find the DriverDesc, in the 0000 subkey next day A string item, named NetworkAddress, the key value set to the modified MAC address, the request for a continuous 12 16 in number, such as 1234567890AB. Then in the 0000 ndi\params, add a subkey named NetworkAddress, under which the string named default is added, and the key value is the modified MAC address, which is the same as the value above. Continue to add a string named Paramdesc under NetworkAddress's primary key, which is to create a description of the NetworkAddress primary key, with a value of "MAC address", which opens network properties later, and double clicking on the appropriate NIC will find an advanced setting. It sits under the "MAC Address" option, where the MAC address can be modified, and the changes need to be restarted.
Windows environment: With dos,8139 can be changed, with Realtek Pg8139.exe, such as 8139c network card, rewrite 8139c.cfg file, the first line is the network card Mac, want how to change on how to change

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.