943,806 Members | Top Members by Rank

Ad:
Jul 4th, 2004
0

MAC Address

Expand Post »
Can we Change the MAC Address of an Ethernet Card in Linux 9
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ydpraveen is offline Offline
1 posts
since Jul 2004
Jul 5th, 2004
0

Re: MAC Address

Hello,

You MIGHT be able to, but why would you want to?

Which Linux version? Mandrake? RedHat?

Christian
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Jul 5th, 2004
0

Re: MAC Address

sounds like someone is trying to avoid a ban for a gaming server.

99% of the time, its not possible on newer cards.
Team Colleague
Reputation Points: 96
Solved Threads: 21
The Geek Father
Zachery is offline Offline
781 posts
since Nov 2003
Jul 10th, 2004
0

Re: MAC Address

You can change the MAC address with something like the following command:

ifconfig eth0 hw ether AA:FF:EE:00:00:00
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
Jul 10th, 2004
0

Re: MAC Address

Hey, why am I the only one who answered who isn't a supermod
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
Jul 12th, 2004
0

Re: MAC Address

Quote originally posted by TKS ...
Hey, why am I the only one who answered who isn't a supermod
Only because you posted before I did... :mrgreen:

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

Yes, that might very well work. The interface will probably have to be taken offline in order for that to work though, so before you try the above command, do the following:

ifdown eth0

Remember that the example "eth0" refers to your first or only Ethernet NIC; if you have 2 NICs and it's the address of the second that you want to change, it would be eth1 instead of eth0.

Also, a change implemented by the above command may not persist through a reboot; you have to take extra steps to make the new MAC "permanent". See the following for a bit more info:
http://whoozoo.co.uk/mac-spoof-linux.htm

There are also utilities specific to the individual chipset used on a given NIC which can change the MAC as well. Regardless of how you try to make the change, the chipset and driver must support this ability,

*Note that ISPs often use your MAC address as part of the information which authenticates you as a valid customer. Depending on your network/Internet configuration, changing your MAC addy might break your connection to your ISP.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003
Jul 12th, 2004
0

Re: MAC Address

Hi,

Wouldn't the MAC address on the Cable Modem / DSL device be the one tracked by the ISP? I know that on my systems here, there are various hops to get to the network. The ISP wouldn't care what NIC is in my Redhat box... they see the MAC on the cablemodem device.

Of course, the linux commands are not going to change the Cable Modem's information.

I have also thought of a reason why I would want to change a MAC address... so that I could have a wireless device filter for that MAC address.

Oh well.

Christian
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Jul 12th, 2004
0

Re: MAC Address

Quote originally posted by kc0arf ...
Hi,

Wouldn't the MAC address on the Cable Modem / DSL device be the one tracked by the ISP? I know that on my systems here, there are various hops to get to the network. The ISP wouldn't care what NIC is in my Redhat box... they see the MAC on the cablemodem device.
Depending on your particular setup (and your ISP), the cable modem will acquire the MAC addy of the attached device and pass that on to the ISP. That's the reason many broadband gateway routers have a "spoof this computer's MAC address" (or similar) option.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003
Jul 12th, 2004
0

Re: MAC Address

Quote originally posted by kc0arf ...
I have also thought of a reason why I would want to change a MAC address... so that I could have a wireless device filter for that MAC address.
Yes. As wireless becomes more ubiquitous, that reason is becoming more common.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Problem in using Linux applications
Next Thread in Linux Applications and Software Forum Timeline: Problem installing Linux Suse 9.1





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC