Find a way to get, modify your Mac modify Mac-method A change/etc/sysconfig/network-scripts/ifcfg-eth0 add a line macaddr = XX: XX if there is still a problem, change the corresponding location in/etc/sysconfig/networking/devices/ifcfg-eth0 or simply delete this file. Method 2: first create a shell script named hwchang under/etc/rc. d/init. d. The content is as follows :#! /Bin/sh ifconfig eth0 down ifconfig eth0 HW ether XX: XX ifconfig eth0 up save. then run chmod A + x hwchang in/etc/rc. d/rc5.d. d/init. d/hwchang k05hwchang and then in the Start Menu, system-> sysv init cut hwchang into the start column under runlevel5. Note that his priority should be before the network, that is, the number is smaller. method 3 Another method is to enable the network at/etc/rc when the system is started. d/RD. add the following statement to local: ifconfig eth0 down ifconfig eth0 HW ether XX: XX ifconfig eth0 Up/etc/rc. d/init. d/network start method 4 change the MAC address in Win2000: Open the Registry Editor and find the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ class \ {4d36e972-e325-11ce-bfc1-08002be10318} sub-key, find driverdesc in the branches of the subkey, such as 0002 and 0000, and name a string item on the next day of the subkey as networkaddress, and set the key value to the modified MAC address, it must be 12 consecutive hexadecimal numbers, such as 1234567890ab. Then, add a sub-key named networkaddress to NDI \ Params under 0000, and add a string named default under the sub-key, with the key value as the modified MAC address, it is the same as the preceding value. Add a string named paramdesc under the primary key of networkaddress. Its function is to define the description of the primary key of networkaddress, and its value can be "MAC address". In this way, the network attribute will be opened later, double-click the corresponding Nic and you will find an advanced setting. The option "MAC address" is sitting under it. Modify the MAC address here and restart it. Method 5 Modify/etc/rc. local and/etc/rc. sysinit: Add the following documents to the two files:/sbin/ifconfig eth0 down/sbin/ifconfig eth0 HW ether MAC address (##:##:##:##: ##:## format)/sbin/ifconfig eth0 up (Note: if it is a read-only file, add the write permission to the CHMOD 777 file) Step 2: in the/etc/sysconfig/network-scripts/ifcfg-eth0 file, add a macaddr = ##:##:##:##:##: # And change hwaddr = the MAC address you want to change (add if not). Note that the MAC case-sensitive method 6 can also be used in/etc/rc. d/init. d. Modify the network file and add MAC = "**:**:**:**:**: ** "(double quotation marks indicate your MAC address) ifdown eth0 ifconfig eth0 HW ether $ Mac etho" MAC address has been switched to $ Mac "This article comes from: ixpub Technical Community (Www.ixpub.net) For details, refer to: file: // C: /Documents % 20and % 20 settings/ASDF/desktop/web/how to modify MAC address % 20-% 20linux and Open Source world % 20-% 20ixpub Technology Community . Htm
Find a solution, modify your Mac, and modify Mac --
Method 1
Modify/etc/sysconfig/network-scripts/ifcfg-eth0 to add a line macaddr = XX: xx
If there is still a problem, change the corresponding location in/etc/sysconfig/networking/devices/ifcfg-eth0 or simply delete the file.
Method 2
First, create a shell script named hwchang under/etc/rc. d/init. d. The content is as follows :#! /Bin/sh ifconfig eth0 down ifconfig eth0 HW ether XX: XX ifconfig eth0 up save. then run chmod A + x hwchang in/etc/rc. d/rc5.d. d/init. d/hwchang k05hwchang
Then in the Start Menu, system-> sysv init cut hwchang into the start column under runlevel5. Note that the priority should be before the network, that is, the number is smaller.
Method 3 Another method is to enable the network at/etc/rc when the system is started. d/RD. add the following statement to local: ifconfig eth0 down ifconfig eth0 HW ether XX: XX ifconfig eth0 up/etc/rc. d/init. d/network start
Method 4
How to change the MAC address in Win2000: Open the Registry Editor and find the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ class \ {4d36e972-e325-11ce-bfc1-08002be10318} subkey, find driverdesc in branch 0002, and name a string item on the next day of the 0000 sub-key as networkaddress, and set the key value as the modified MAC address, it must be 12 consecutive hexadecimal numbers, such as 1234567890ab. Then, add a sub-key named networkaddress to NDI \ Params under 0000, and add a string named default under the sub-key, with the key value as the modified MAC address, it is the same as the preceding value. Add a string named paramdesc under the primary key of networkaddress. Its function is to define the description of the primary key of networkaddress, and its value can be "MAC address". In this way, the network attribute will be opened later, double-click the corresponding Nic and you will find an advanced setting. The option "MAC address" is sitting under it. Modify the MAC address here and restart it.
Method 5
Modify/etc/rc. Local and/etc/rc. sysinit. Add the following documents to these two files:
/Sbin/ifconfig eth0 down
/Sbin/ifconfig eth0 HW ether MAC address (##:############### form)
/Sbin/ifconfig eth0 up
(Note: If it is a read-only file, use "chmod 777 file" to add the write permission)
Step 2:
Add one in the/etc/sysconfig/network-scripts/ifcfg-eth0 File
Macaddr ##:##:##:##:##:##
And change hwaddr = the MAC address you want to change (add if not). Note that the MAC address must be case sensitive.
Method 6
You can also go to/etc/rc. d/init. d. Modify the network file and add MAC = "**:**:**:**:**: ** "(double quotation marks indicate your MAC address) ifdown eth0 ifconfig eth0 HW ether $ Mac etho" MAC address has been switched to $ Mac"