WakeUp On Lan (Not working)

Discussion in 'DD-WRT Firmware' started by homehome16, Apr 6, 2005.

  1. homehome16

    homehome16 Guest


    I am tring to get the WOL function to the dd-wrt firmware to work. But I am not sure how to trigger it, or if I have the correct setting.

    I can wake up the PC from inside the Lan so I know the PC will wake up. I can also telnet in to the router and type

    /usr/sbin/wol xx:xx:xx:xx:xx:xx -i

    this also wakes up the PC.

    Also does anyone know what the setting "Interval: 86400" mean and do?


  2. KJ_88

    KJ_88 Network Guru Member

    I am also wondering this question because I think it would be really convenient. I see that Sveasoft has removed this feature in their latest releases thats why I am trying the DD-WRT firmware.
  3. Disman_ca

    Disman_ca Super Moderator Staff Member Member

  4. scatman

    scatman Network Guru Member

    I have solved the WOL functionality the other way around. This applies to every linux based router around also:

    1) Make a port forward to your LAN ip (no PC in your LAN can use this IP) udp port 150 for example (it really can be any port as your WOL pc does not care what port the traffic arrives)

    2) add this to your startup scripts:
    ip neigh change lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0
    ip neigh add lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0

    * IP can be what ever you like - important is only that forwarding rule and arp entry IPs are the same and the IP has to lie in the same subnet as you WOL pc.

    (you can paste the lines to web admin "administration">"diagnostics" and save with "Save Startup")

    3) now you have quaranteed permanent arp entry for your LAN after you restart the router and you can always route traffic to your LAN even if your WOL PC is in sleep.

    4) use any WOL utility you like to wake your PC from anywhere you like
    my sample script that i wrote in java http://scat.pri.ee/wakeonlan/

    You can email me sven@scat.pri.ee

    (DD-WRT prefinal 3.2 @ WRT54GS)
  5. guardianx

    guardianx Network Guru Member

    do u paste in 1 at a time and hit save... or do them both and hit save?
  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