RT-N66U WOL Setup using Tomato Shibby
Posted: Wed May 18, 2016 11:15 pm
I am attempting to setup one of my PC’s to accept WOL packets and I understand that in order to be able to issue the command from outside my LAN I need to setup my RT-N66U, running Tomato Shibby, so that 192.168.1.254 is a broadcast address by adding these two lines to Administration->Scripts->Firewall. I found the following instructions:
Can anyone tell me what I am doing wrong, does the RT-N66U need to be setup this way or is there another way to set it up?
Thank you
I followed the instructions but when I ran ip neigh show the results did not show “192.168.1.254 dev br0 lladdr ff:ff:ff:ff:ff:ff PERMANENT”, the only results showed all the other devices attached to the router.The solution is to send the magic packet to the broadcast address for your subnet (generally 192.168.1.255) but Tomato won’t allow that, so we work around it by turning 192.168.1.254 into the broadcast address by adding these two lines to Administration->Scripts->Firewall:
1 ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
2 ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
Reboot your router. If you secured your router for remote access as suggested earlier, SSH into it and run the following command to see if the output includes your new settings:
1 user@server$ ip neigh show
2 192.168.1.254 dev br0 lladdr ff:ff:ff:ff:ff:ff PERMANENT
You’re in business, now go to Port Forwarding and setup a forward for UDP port 9 to internal address 192.168.1.254. Now internet originated magic packets will be broadcast to all devices on your network, but only the machines with the correct MAC address within that packet will respond.
...
Can anyone tell me what I am doing wrong, does the RT-N66U need to be setup this way or is there another way to set it up?
Thank you