heredago's blog

January 3, 2012

WOL TOMATO WRT54GL – WHAT I (heredago) PERSONALY DID

Filed under: Uncategorized — Tags: , , , , , , , — heredago @ 21:57

http://www.wolcenter.com/faq.php

Now, to wake up a device via an UDP magic packet sent by wolcenter.com the router must be able to UDP forward to a broadcast address. Two cases must be taken into consideration:

  • UDP forward to a broadcast address from the Wan Port to a LAN Port:

In this case, the UDP packet arrive on the WAN port and is forwarded to the LAN. By default, latest Tomato (v1.25) and DD-WRT (24SP2) do not support UDP forward to a broadcast address.

The good news is that an easy workaround can be implement on both firmware. Simply add the two lines below to the init script:

ip neigh change 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0

Make sure to replace the IP address “192.168.1.254” by a free IP member of your LAN subnet. Then, create a UDP forward rule toward 192.168.1.254. Since ff:ff:ff:ff:ff:ff is a broadcast address, the UDP packet will be sent to all device on the connected to the LAN.

Init scripts settings are located at:
for DD-WRT: Administration >> commands >> startup
for Tomato: Administration >> scripts >>Firewall

WOL TOMATO WRT54GL – WHAT I (heredago) PERSONALY FOLLOWED (DID) – WAKE ON LAN WAKE-ON-LAN

 

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: