Wireless Bridge and WOL?

Discussion in 'Tomato Firmware' started by Shimakaze, May 26, 2010.

  1. Shimakaze

    Shimakaze Addicted to LI Member

    This is the setup I have: One wireless router connected to modem acting as the base, and another wireless router acting as a wireless ethernet bridge. Both routers are running the Victek Tomato mod. The bridge router is configured as "wireless ethernet bridge", and not "wireless client", so it's in the same subnet as the base router. The bridge is working correctly. Both routers have remote admin login enabled on different ports, and I added DDNS to the base router.

    This is the problem I have: I'd like to wake up the machine connected to the bridge router on LAN. The ethernet adapter on that machine is configured to listen for the magic packet and also do pattern matching. The adapter shows up in the device lists as well as the WOL lists on both routers. The machine successfully wakes up if I trigger WOL from the bridge router's admin interface, but it doesn't work if I trigger it from the base router. What I really want to do is log into remote admin to the base router and do WOL from there, since I can't seem to access the bridge router's web admin using the DDNS.

    Is it not possible to send the magic packet across a wireless bridge? If that's the case, then how do I access the web admin on both routers using DDNS? The bridge router's web admin port is forwarded correctly in the base router, and it has the base router's IP configured in the default gateway.
  2. Engineer

    Engineer Network Guru Member

    Add this to the "init" script section of the main router...reboot and see if it now works.

    Substitute your remote PC's IP and MAC in the section below:

    Sleep 5
    ip neigh change YOUR PC IP lladdr YOUR PC MAC nud permanent dev br0
    ip neigh add YOUR PC IP lladdr YOUR PC MAC nud permanent dev br0
    example using IP with MAC address of aa:bb:cc:dd:ee:ff

    Sleep 5
    ip neigh change lladdr aa:bb:cc:dd:ee:ff nud permanent dev br0
    ip neigh add lladdr aa:bb:cc:dd:ee:ff nud permanent dev br0
    I'm not saying that this "WILL" work but there was a thread at AnandTech that we discussed WOL over the internet and this was part of the solution there (at least similar). Also, I'm assuming that your remote PC has a static IP.
  3. Kiwi8

    Kiwi8 LI Guru Member

    Since both routers are loaded with Tomato, try to configure both as WDS and see if it improves. The only time u should use Wireless Bridge mode is when the base router is not loaded with Tomato.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice