Modify Nic Mac in Linux and Windows

Source: Internet
Author: User
In Linux, you must first disable the NIC device. Otherwise, the system is reported to be busy and cannot be changed. Command:/sbin/ifconfig eth0 down to modify the MAC address. This step is easier than modifying the MAC address in windows. Command:/sbin/ifconfig eth0 HW ether 00: AA: BB: CCD: EE re-enable the NIC/sbin/ifconfig eht0 up Nic MAC address change will be completed ////////////////////// //////////////////////////////////////// ///// Linux: /etc/sysconfig/network-scripts/ifcfg-ethx (X for your Nic interface number) edit a line: macaddr = 00: 11: 22: 33: 44: 55 (write the MAC address you want to change) then, type "service network restart OK" in the command line :)///////////////////////////// //////////////////////////////////////// //// most of the tasks are bad. Some companies recognize MAC addresses, some read from the EEPROM on the NIC, and some read from the Registry (such as some Circuit Design Software of cadence ), for the latter, it is too simple to break through, but for the former, you can only go to the street to buy a driver and add parameters to rewrite the NIC of the MAC address in the EEPROM, I have heard from one of my colleagues that RealTek also provides a program to write the EEPROM. Good! Second, changing the MAC address can attack other people, but not be found. When the network administrator binds your IP address to the MAC address, the network adapter does not need to say hello to the network administrator, no such a machine with an international route will be one day to night on the machine, piapia ah, especially when receiving the seic bill and for convenience, such as I, the MAC address into AA-BB-CC-DD-EE-FF, neat and nice-looking the following method is actually collected during the period of time during the hacking of the shuimu hacker version. Win9x, WINNT, and Win2k have all tried it. No problem. How to change the NIC address under Win98: reek (town) reprinted Article ---/"re: Does anyone know how to change the nic mac address? (Empty)/"inspired by freetalk (glasseye) prompts, after several attempts to obtain the operation method. Post it here for your reference. The real MAC address of the NIC is in EPROM and can be modified through special programs, which can be provided by many Nic vendors. For example, PCI-RTL8029, you can download a small program to modify the EPROM on the home page of RealTek. In Win9x, winnt 3.5, and 4.0, the NIC driver uses the NDIS specification to communicate with the operating system. The MAC address is stored in a storage unit of the operating system. You can modify this content without modifying your EPROM content. 1. First open the registry, find the hkey_local_machinesystemcurrentcontrolsetservices classes et000, 0001, 0002, and so on, and observe the driverdesc content as the description of the NIC you want to modify. 2. Add a string named networkaddress under it. Set the value to the MAC address you want and write it continuously. For example, 004040404040. 3. Then add a primary key of networkaddress to the ndiparams under it, and add a character string named default under the primary key. The value of this string is the MAC address you want to set and it needs to be written continuously, for example, 004040404040. 3. Add a primary key of networkaddress to the ndiparams column, add the primary key named 4, and add the string named paramdesc under the primary key of networkaddress, this function is used to specify the description of the primary key of the network-address, and its value can be "MAC address". In this way, you can open the properties of the network neighbor. Double-click the corresponding Nic item and you will find an advanced setting, the MAC address option is the new networkaddress in the registry. You only need to modify the MAC address here. 5. close the registry and restart. Your NIC address has been changed. Open the properties of the network neighbor. Double-click the corresponding Nic item and you will find an advanced setting item for MAC address. Used to directly modify the MAC address. Some NICs, such as the D-link de220, are automatically added to the Registry during installation. You only need to modify the value. Steps 1 and 2 are used to modify the MAC address of the current (next startup. Step 3 and Step 4 are used to add the corresponding advanced attributes to the NIC attributes of the network attribute. **************************************** **************************************** * ********** How to change the NIC address in winnt: open the registry, HKEY_LOCAL_MACHINE-> system-> CurrentControlSet-> services. If my network adapter is ne2000, find the key values of ne2000 and ne20001 (I don't know what's going on, here, I have two keys for NE 2000, which are for insurance purposes.) Add the string value: networkaddress data in the parameters item: "004040404040" (here is the MAC value you want to change, you can enter 12 digits at Will) and restart the computer. ipconfig will check it and you will know if it has changed. **************************************** **************************************** * ***************** How to change the NIC address in Win2k: in general, if you do not select the driver installed in ne2000 compatible, there will be an advanced page in the NIC attribute, which will have the network address option, so you can set it. This method is also applicable to Win98. My Win2k Nic is installed in this way. What's interesting is that my Nic does not have a 2 k driver. I only need to try to install the driver from other ne2000 compatible NICs, in the 2 k hardware Installation Wizard, if the configuration is successful, there will be no driver mismatch information in the end, and there is no need to restart the check. It is really good. In addition, if you want to change the registry, find your Ethernet NIC item 000x under hkey_local_machinesystemcurrentcontrolset controlclass {4d36e972-e325-11ce-bfc1-08002be10318, then, add or modify a string value named network address, and enter the MAC address you want to modify.

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.