Jump to content

Recommended Posts

Posted

 

1) load macchanger from the repositories

 

This is a simple, well documented, self-explanatory program that requires manual running - we want to automate it.

 

2) write a small script:

 

#!/bin/sh
# run macchanger at boot
    
    sudo service network-manager stop

    sudo macchanger -A eth1
    sudo macchanger -A wlan1

    sudo service network-manager start

exit 0

 

Note the wlan / eth codes might need tweaking

 

3) Save this as macrotator in /etc/init.d/ and make it executable

 

4) Register the script by running:

 

sudo update-c.d macrotator defaults

 

5) Reboot

 

::Confirmed on Ubuntu 12.10 & BackTrack 5 R3::

 

Original Source:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..