Skip to content

janost/openwrt-wan-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

WAN MAC address randomizer for OpenWRT/LEDE

Purpose

This script generates a random MAC address for the WAN interface on an OpenWRT/LEDE router. It is implemented as an init script, so it is able to randomize the MAC address every time the router restarts.

Dependencies

Nothing special. It should work on a base OpenWRT/LEDE system.

Usage

  1. Copy wan-mac to /etc/init.d/
  2. Make sure the file is executable (chmod +x /etc/init.d/wan-mac)
  3. Modify the START line in the file if you'd like to customize the init order (optional)
  4. Enable the service so it will randomize the MAC address on every boot (/etc/init.d/wan-mac enable)
  5. Restart your router or start the service manually (/etc/init.d/wan-mac start)

Notes

Tested on:

  • TP-Link TL-WR1043ND 1.0 running OpenWRT Chaos Calmer
  • TP-Link Archer C2600 (AC2600) running LEDE snapshot

License

WTFPL

About

WAN MAC address randomizer for OpenWRT/LEDE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages