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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock