How to Prevent Your Device from Changing its WAN MAC
Some devices (notably single-port access points from Ubiquiti) randomly change the WAN MAC address they use when they start up. Then when they attempt to connect to your SputnikNet account, there is no record of the new MAC and the device is denied access. Here's how to ensure that the device consistently uses the same MAC address for its WAN connection, ensuring a stable connection with SputnikNet.
Obtain the original LAN MAC from SputnikNet.
The first time you connect your device to your SputnikNet account, it will register with a MAC address. (If you have not yet connected your router to SputnikNet, please do that first.)
- Browse to MANAGE > Routers > your router > Status.
- From Interfaces, copy the LAN MAC (usually the lower address of the pair).
Clone the MAC in the device's DD-WRT interface.
- Associate with the router and browse to its DD-WRT web admin console (by default, at http://192.168.180.1).
- Browse to Setup > MAC Address Clone.
- Enable MAC Clone and enter the MAC address obtained above in Clone WAN MAC address fields. Leave Clone Wireless MAC alone.
- Click Save, then Apply Settings.
Add startup script.
- From the DD-WRT interface, browse to Administration > Commands and enter the following startup script (use your LAN MAC address, the address included here is for illustrative purposes):
ifconfig br0 hw ether DC:9F:DB:01:39:31
nvram set lan_hwaddr=DC:9F:DB:01:39:31
- Save the script as Startup.
- Reboot your router.