Vulnerability Development mailing list archives

Re: changing MAC address


From: koge () NCSA ES (Antonio Fernandes Vazquez)
Date: Fri, 31 Mar 2000 13:15:39 +0200


On Fri, 31 Mar 2000, Shehzad Ramzan Ali Khoja wrote

i believe this is problem with some chipsets ... RealTek NIC dont allow to
change the MAC address but LanTek cards do ....

.regards


You are right, i tried change MAC in a Realtek 8139, it changes but the
local network got down.
After, with a SIS900 i tryied the same, and all ok, it changes and the
network works well ;)
I think that in Linux, you cant changes MAC when the ethernet card is
already in use.

Salut!
        Antonio Fernandes

----- Original Message -----
From: Antonio Fernandes Vazquez <koge () NCSA ES>
To: <VULN-DEV () SECURITYFOCUS COM>
Sent: Thursday, March 30, 2000 3:21 PM
Subject: Re: changing MAC address


On Wed, 29 Mar 2000, Arturo Busleiman wrote:

This is question regarding an old thread.

as an example, under linux, as root:

  ifconfig eth0 hw ether 00:aa:23:ce:3a:11

changes the mac address of eth0 to 00:aa:23:ce:3a:11, iirc.

        [root@machine /root]# ifconfig eth0 hw ether 00:aa:23:ce:3a:11
        SIOCSIFHWADDR: Device or resource busy

why does this happen? under which circumstances can I use ifconfig for
that purpose?

I'm not totally sure that this purpose with ifconfig will works in every
ethernet card, i think that in major this info is written into an ROM.
I try to set down the interface and after change it, but not possible in
my case, you can read more about this in hacking () argo es. ;)

Salut!

Antonio Fernandes.




Current thread: