Change MAC at every boot

Larry Brower larry at maxqe.com
Sat Dec 18 23:16:52 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/18/2010 06:29 AM, S Mathias wrote:
> lsb_release -a
> LSB Version:	:core-4.0-ia32:core-4.0-noarch
> Distributor ID:	Fedora
> Description:	Fedora release 14 (Laughlin)
> Release:	14
> Codename:	Laughlin
> 
> # uname -a
> Linux a 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3 12:28:00 UTC 2010 i686 i686 i386 GNU/Linux
> 
> 
> I'm trying to do what was mentioned in the $subject:
> 
> echo -e '#!/bin/bash\n\nmacchanger -r eth0\nmacchanger -r wlan0' > /etc/rc.d/init.d/macchanger
> ln -s /etc/rc.d/init.d/macchanger /etc/rc.d/rc5.d/S22macchanger
> chmod +x /etc/rc.d/init.d/macchanger
> 
> 
> S23 is the network manager, and i'm sure i'm in runlevel 5.
> 
> but the mac doesn't change at boot, and i can't see any log messages regarding it :(
> 
> Where should i put my script? or it doesn't have enough permission to change the MAC's?
> 
> Thank you for any help (or pointing to a howto)
> 
> 
>       


Why exactly are you trying to do this?
The MAC address is the hardware address of the NIC and is supposed to
stay the same.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCgAGBQJNDUDkAAoJEBgaXYoZ++87L84H/Arls3ZP8FJL37wtt0Me0kuS
JgB3kV6SwZfJv7EXlFHnGDMymCnoD55Ng5fYrrQePLEUwXGvO5r3+xyqHOX0Zx/U
VmN6dumhcDuQYCn4mFtd2SuKOIdKHuiAtExUDvtdg21zR3JFMWRMKCHdfrj0jQYy
MHAq5a5KqHzsd5JCFijc9lruI57pvkRDYigC7ce0wCskTX7h/Py1OIcTIvXtJJ32
syAh121VqDiZrPPYT4deqn8QPULImqR8R7cENJyUtQI9eVXX5IPATbQ2jnafPXwS
GgR0k6Y0kZZOw8fJ+fcphCSo0ht1WC0NmedXnrPMNO1L2UFS8GWsFNSXkZhbbKc=
=Jt7k
-----END PGP SIGNATURE-----


More information about the users mailing list