Link to home
Start Free TrialLog in
Avatar of reinbull
reinbull

asked on

How do you change your MAC address in Linux?

Just Curious on how you would go about altering your MAC address. I have seen it done with dos real-mode ipx drivers by putting an entry into the 'net.cfg' file.....

Is this possible in linux?

I'm aware that the MAC address is burned into your NIC. When you are using Novell's real-mode ODI drivers for DOS based machines you can change your MAC address By typing in your NET.CFG something like this...

Link Driver smc8000
    Node Address 10ba5e2

This will make your Make Address  02:00:01:0b:a5:e2
The '02' in the first octect is because we locally assigned the MAC address...

I'm merely just looking for a way to alter the MAC address
using software under linux...
Avatar of e4monsch
e4monsch

When you mean Ethernet-Adress(00-00-c0-33-81-a4) by Mac-Adresse then I have an answer:

You cannot, as far as I know, change the Ethernet-Adresse of your Network-card. Every Eth-Card has its own worldwide unique Eth-Adr which is hardcoded by the manufactur.

Regards Ian

Avatar of reinbull

ASKER

Edited text of question
I know you can't physically change your MAC address on your NIC short of an EPROM burner ( only on the older cards ).. I'm trying to find out a way to do it using software at run-time, like Novell's real-mode drivers...
Why do you need to change the addres?
You can change the extention but you cannot delete it. You could change 'ice' to 'icex'. May be this does the trick.

Regards Ian

Sri. This was the wrong one... Forget the last answer.

hard code it.  recompile the kernel.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx for jogging my memory!