Penetration Testing mailing list archives

Re: [PEN-TEST] Change MAC Address


From: Alex Butcher <alex () S3 INTEGRALIS CO UK>
Date: Tue, 5 Dec 2000 13:52:03 +0000

Pain Soul wrote:
Hi List!!
I wanted to know if someone can provide me a name of
the software that can change the MAc Address.

ifconfig, under Linux at least:

  ifconfig eth0 hw ether de:ad:co:ed:ba:be

You'll probably need to down the interface before you can do this. Under
Red Hat, the clean way to do this is using 'ifdown eth0' and 'ifup
eth0'. If you want to change the MAC address 'permanently' (not really,
as the [EP|EEP]ROM contents aren't modified), drop the following line
into /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever)

  MACADDR="de:ad:co:ed:ba:be"

and the interface will come up with that MAC address on every boot.

Thanks in advance
Roger

Best Regards,
Alex.
--
Alex Butcher                                      PGP/GnuPG Key IDs:
Consultant, S3 Systems Security Services          alex@s3       B7709088
PGP: http://www.s3.integralis.co.uk/pgp/alex.pgp  alex.butcher@ 885BA6CE

Attachment: alex.vcf
Description: Card for Alex Butcher


Current thread: