[Ubuntu/BT5] Randomize MAC Address on start up. 01-08-2013, 09:26 AM
#1
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:
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:
5) Reboot
::Confirmed on Ubuntu 12.10 & BackTrack 5 R3::
Original Source:
This is a simple, well documented, self-explanatory program that requires manual running - we want to automate it.
2) write a small script:
Code:
#!/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 0Note 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:
Code:
sudo update-c.d macrotator defaults5) Reboot
::Confirmed on Ubuntu 12.10 & BackTrack 5 R3::
Original Source:
Quote:http://ubuntuforums.org/showthread.php?t=1542046




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
















![[Image: F4Z9Dqw.png]](https://i.imgur.com/F4Z9Dqw.png)



![[Image: bAMEI93.jpg]](http://i.imgur.com/bAMEI93.jpg)