![]() |
|
Tutorial [Ubuntu/BT5] Randomize MAC Address on start up. - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials) +--- Thread: Tutorial [Ubuntu/BT5] Randomize MAC Address on start up. (/Thread-Tutorial-Ubuntu-BT5-Randomize-MAC-Address-on-start-up) |
[Ubuntu/BT5] Randomize MAC Address on start up. - zer0_s3c - 01-08-2013 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: 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 RE: [Ubuntu/BT5] Randomize MAC Address on start up. - Corrupt - 01-08-2013 Nice tutorial Goon. This will be pretty useful to some people here I'm sure. RE: [Ubuntu/BT5] Randomize MAC Address on start up. - w00t - 01-08-2013 why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF RE: [Ubuntu/BT5] Randomize MAC Address on start up. - BreShiE - 01-08-2013 Just waiting on a spare blank disk then I'm getting BT5R3 too. Nice tut. RE: [Ubuntu/BT5] Randomize MAC Address on start up. - zer0_s3c - 01-09-2013 (01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF This 'tool' will make it change for you, each time you reboot. RE: [Ubuntu/BT5] Randomize MAC Address on start up. - Charon - 01-09-2013 Nice tutorial Goon, keep it up bro. RE: [Ubuntu/BT5] Randomize MAC Address on start up. - w00t - 01-09-2013 (01-09-2013, 01:33 AM)Goon. Wrote:(01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF If you use a shell script to load it, why not use that same shell script to pull data from /dev/random and pop it into the MAC? RE: [Ubuntu/BT5] Randomize MAC Address on start up. - zer0_s3c - 01-10-2013 (01-09-2013, 11:55 PM)w00t Wrote:(01-09-2013, 01:33 AM)Goon. Wrote:(01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF Lol, If i coded it myself I'd have an answer to that question. xD |