1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WOL and Router Reboot Issues!

Discussion in 'Tomato Firmware' started by Andy Pandy, Sep 28, 2013.

  1. Andy Pandy

    Andy Pandy Reformed Router Member

    Morning Guys,

    Well this is my first post in here so stick with me. Ive been using Tomato firmware for ages on my WRT54GL for a long time and have never had any problems with using the web interface to wake up any of my PC`s in the house. This was up until a few weeks ago. The problem arises when the router reboots for any reason power cut etc. I have set static arp`s to the machines i need to wake up, but after a reboot the web interface wont wake them anymore. It seems the static arps are being lost after a reboot.....is this normal? And if so is there a way to make them permanent? When i telnet into the router and do arp -a there is no reference to those machines there. I am using Tomato v 1.28 if that helps with a diagnosis.


    Many thanks,

    Andrew.
     
  2. Tyrel

    Tyrel Networkin' Nut Member

    I'm extremely far from being a professional on that matter, but are you sure it's the router that's wrong? I'm asking because my PC cannot be waken up by lan after a power outage, no matter how I try.

    When you turn off a PC and WOL is enabled, the networking card will go into a soft-off state, where it can still receive WOL packets, however after the PC loses power it "forgets" that it should be in a soft-off state and once the power returns, the LAN controller stays dead right up to the moment when I manually turn the PC on again.

    After a power outage I also cannot wake the PC up with the keyboard, only the power button works.
     
  3. Andy Pandy

    Andy Pandy Reformed Router Member

    Tyrel I never even thought about the PC as the problem. Many thanks I will investigate this further and get back to you on it.
     
  4. Andy Pandy

    Andy Pandy Reformed Router Member

    One other thing.....is there a command via telnet to view static arp entries? Arp-a as I see it just shows those that are active in arp.

    Many thanks

    Andy
     
  5. koitsu

    koitsu Network Guru Member

    False.

    Code:
    root@gw:/tmp/home/root# arp -s 192.168.1.22 00:00:00:00:11:22
    root@gw:/tmp/home/root# arp -a
    ? (192.168.1.50) at 90:2B:34:57:E8:93 [ether]  on br0
    ? (192.168.1.22) at 00:00:00:00:11:22 [ether] PERM on br0
    ? (76.102.12.1) at 00:01:5C:62:AC:46 [ether]  on vlan2
    ? (192.168.1.51) at 00:30:48:D2:22:D0 [ether]  on br0
    
    Look closely at the line for 192.168.1.22, specifically the word PERM.

    If you'd rather look at something else, try cat /proc/net/arp and decode Flags by hand/yourself (this is what arp -a is doing for you anyway).

    I cannot help past this point.
     
  6. Andy Pandy

    Andy Pandy Reformed Router Member

    Thank you for your reply koitsu. I have done the arp -s hos mac address command but the arp -a doesn't show any PERM reference!

    I just trief the command again....and it has worked. I now have a PERM reference :)

    Can a moderator mark this thread as resolved.

    Thanks,

    Andrew
     
    Last edited: Sep 29, 2013

Share This Page