Change MAC@every boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


      
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux