Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change the mac address

Status
Not open for further replies.

Satellite1900

Technical User
Mar 31, 2006
273
0
16
IT
Hello everyone,
Can I change the mac address on a SLES10 server permanently?
I can edit it but when I reboot back to the original.
any ideas?
thanks
 
Method 1:

you could have a bash script starting at boot, that would change it...

e.g. in your $HOME/.bashrc file, append to the end the following:


ifconfig eth0 down
ifconfig eth0 hw ether <MAC Address>
ifconfig eth0 up


replace <MAC Address> with your MAC address...

Method 2:
or you could permanently change it in the BIOS... AMI BIOS uses AFUDOS to flash and change BIOS settings... e.g. the command afudos /MXXXXXXXXXXXX (where XXXXXXXXXXXX is your MAC address) [NOTE: there is no space after the "/M"] would permanently change it on the hardware level...

NOTE of CAUTION:

BIOS flashing or messing with the BIOS can render your system inoperable or damage it permanently, unless you know what you are doing I would stick with method 1...

Method 2 only works for AMI BIOS's, do not attempt with AWARD or PHOENIX BIOS versions... For these I am not too sure what flash/BIOS utility would change the MAC address...






Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"
 
Installed macchanger package and you will be able to change the mac anddress permanently.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top