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:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...