Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-25-2004, 06:48 AM   #1
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Rep: Reputation: 15
mac address

is it possible to change the mac address of my LAN card
Old 04-25-2004, 08:10 AM   #2
LQ Newbie
Registered: Mar 2004
Location: germany
Distribution: Slackware & RedHat
Posts: 28

Rep: Reputation: 15
Sure it is.
Do as root

ifconfig eth0 hw ether AA:FF:EE:00:00:00

ifconfig eth0 hw ether DE:AD:BE:EF:BE:EF

Old 05-23-2004, 12:57 AM   #3
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Rep: Reputation: 15
changing mac address

i want to change mac address my cache box didn't accept any other then its own so i want to release this and in software remove the particular mac address need to now the proper file where it is ?
Old 05-23-2004, 12:33 PM   #4
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
I don't think you can change the actual MAC address of a card. It is assigned by the manufacturer when the card is made. Part of the number designates who made it, and the rest would designate model/serial number.
Old 05-23-2004, 06:23 PM   #5
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
On some devices you might be able to change the address, but it's not a rule, the driver has to allow you to that. Ethernet addresses are typically "burned" into a serial flash prom connected to the ethernet device .. over-ride as I said is sometimes possible.

There are good reasons why one should NEVER mess with the ethernet addresses.
Chances are that you will make a mistake someday and install the same address on two machines .. the hell will break loose, the world peace will be endagnered and the sky might fall because the ether will be all gone ..
so don't ever do it ..

that's why the addresses are actually purchased by the hardware vendors from ieee sponsposed agency are not resusable .. unlike IP .. there are plenty of them around,
Old 05-23-2004, 08:41 PM   #6
Registered: May 2004
Location: Orlando, Florida
Distribution: SLES10/11, RH4/5 svrs, Fedora, Debian/Ubuntu/Mint; FreeBSD/OpenBSD
Posts: 63

Rep: Reputation: 26
GNU Mac Changer:


Ethernet MAC address spoofing in Linux:
Old 05-23-2004, 10:06 PM   #7
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Rep: Reputation: 15
dear i now that but i am behind the router in dsl so so it is lan
other thing is my cache box didn't except other lancard even same make and model i tried
this box is
p4 with no display
if connected to monitor it only give at boot

lilo loading cache................

thats all and screen goes blank

the original card with this box working but some problem in the connector
a little movement to connected lan cable stops the cache
i also tried to solder the contacts in that card but it will not work it is lose connection
steel i am using this with paper packing
made by some good expert i don't no where he is some ex pat i tried the email
so no back up use it or through it
this box as i told no display
way of use webmin after changing the lan the url for webmin not work to enter from connected pc
but i tried the tracert reach the system with same address
return the old card it work
just to learn i mount this hdd at redhat and see the lilo ,boot information ,
but didn't find the exact problem why this didn't work with changing the same make and model lan card
i tried to remove the lilo to get prompt but nothing happen
i have that hdd mounted if you want any thing i will post it
so think of it as learning project
Old 06-03-2004, 09:34 AM   #8
LQ Newbie
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Hi to all,
Old 06-03-2004, 09:37 AM   #9
LQ Newbie
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Hi to all,
is there a method to retrieve the original MAC of a NIC from another PC in the same LAN. I've this problem, I would like to see if one user change his MAC.
Old 06-13-2004, 10:44 AM   #10
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Rep: Reputation: 15
how to fix mac address

did any one have some information about fixing mac address
i want that the system will not except other lan card
linux is there any program that work on boot and check if lan card changed it didnt connect and refuse connection
think about it
Old 07-03-2004, 11:48 AM   #11
LQ Newbie
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Hello all
I'm using linux yellowDog3.0(RH 7.3 based) on macintosh G3 (lombardo)
and it refuses to change mac adresse however you try it it just refuses!!
when i type

ifconfig eth0 down
ifconfig eth0 hw ether AA:FF:EE:BB:CCD
ifconfig eth0 up

and then i type ifconfig and the output is the old mac adresse!!!
Ifconfig doesn't give any error.
I did the same on my PC and it was OK ,it worked like a charm!
Is there possibly a way to get over hardware thing.

Thanks for you're time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
How to know MAC address ( Machine address)?? vanhelsing Linux - Networking 3 08-12-2004 09:30 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration