Intermittent Wake on Lan

Hi, I'm trying to use "wake on lan" app to start my pc remotely with mobile connection. I have it working, but it only works for a period of time after the computer has been shut down. For example, when I first try in the morning it will not work. If I start the computer, and shutdown, then it will work for a while afterwards. Any idea what's going on? Thanks.

Comments

  • +1

    Your router is blocking the WOL magic packet. It is a feature design to prevent a malicious person from DDoS'ing your local machines.

    You need to look into your router or modem's settings page to change it.

    • Thanks, any idea the setting I am looking for, all the settings are confusing to me.

      • router model / brand please

        Just google it mate: try 'enable Wake On LAN on ROUTER.NAME.HERE"

        • Asus dsl-n12e. Thanks.

        • @Gofast:

          I wasn't able to find specific instructions.

          Your router must support the two things below

          directed broadcast
          and
          static ARP bindings

          You can easily configure ARP bindings (i.e. bind IP Address and MAC Address together). Basically, this gives your specific computer a static IP address.
          This is how it's done on a TP-Link but I can't find the exact steps for your ASUS.

          also for WOL to work from the outside you need port forwarding. The instructions are here
          http://portforward.com/english/routers/port_forwarding/Asus/…

        • @scrimshaw:

          Ill look into these links, thanks for your help.

        • @scrimshaw:

          Ok, I had done as described in both of those links, except for the port 7 bit. Maybe that's my problem. Thanks.

        • @Gofast:

          Please see the how to geek link

          http://www.howtogeek.com/192642/how-to-remotely-turn-on-your…

          scroll down a bit to port forwarding

        • @scrimshaw:

          Ok I have that broadcast address bit wrong. Ill try again with that change.

        • @scrimshaw: Pretty sure you also need a static IP for that to work… I've tried before but I can never get it to work when it is over the internet.

  • If your PC and the mobile are on the same (W)LAN, then the router isn't blocking it, that would be for trying to WOL from outside, and normally there wouldn't be a packet path to the PC from outside anyway. I had WOL for a PC from my Android phone (using the local WiFi and not mobile data, naturally.)

    If as you say, it works for a while after shutdown, then either the NIC is faulty or your power supply has stopped supplying standby power to the NIC. Check that the link light is on to see if standby power is active. Another thing to check is whether you have enabled WOL in the BIOS settings. Also check that the preference after power restore is Previous State.

    Not much to be done about a faulty NIC but to replace it. If built-in on the motherboard, bad luck.

    • Yes I'm trying to wake it with my phone from a mobile connection only. The light is on when shutdown now (and WOL is working with mobile connection)- ill have to check in the morning if the light is still on.

      Ill look into the "previous state" point you mention. Thanks.

      • "Mobile connection" is ambiguous. Answer this: Is the mobile on the local WiFi or on mobile data? WOL normally only works with local (Ethernet or WiFi) connections. If you are trying to wake it from outside (and being on mobile data counts as being outside), then the router is involved. Since you had it working, I did not assume that.

        • Mobile data. I really have very little idea what I am doing, just following instructions I find with the app, and online.

        • @Gofast: That will not work. Your phone has to be on the (W)LAN for WOL to work, otherwise some special arrangements have to be made at the router. Wait until you have the WiFi icon showing on your mobile before trying it.

        • @greenpossum:

          I think I have done those settings, as scrimshaw described. It is working, I was able to power up from cafe 5km away yesterday, but as I said it won't work unless recently powered down.

        • @greenpossum:

          he needs port forwarding for it to work

          Wake-On-LAN uses UDP. Many utilities use ports 7 or 9, but you can use any port you like for this. You’ll need to forward a UDP port to all IP addresses behind your router — you can’t just forward to a specific IP address. The Wake-on-LAN packet must be forwarded to every device running behind your router, and a device will only wake up if the information in the WoL packet matches it. This is known as a “subnet directed broadcast.”

          To do this, you’ll need to forward the port to the “broadcast address,” which will broadcast the packet to all computers on a network. The broadcast address is 192.168.*.255. For example, if your PC has the IP address 192.168.1.123, you’d enter 192.168.1.255 as the broadcast address. If your PC has the IP address 192.168.0.123, you’d enter 192.168.0.255 as the broadcast address.

          also if his ISP is using dynamic DNS rather than static DNS, then it's a little more complicated still.

          http://www.howtogeek.com/192642/how-to-remotely-turn-on-your…

        • @Gofast: What app are you using? Possibly something has to be done periodically by the PC or the router so that your mobile can find the IP address of your router to contact it.

        • @greenpossum:

          "Wake on lan" by mike Webb.

        • @Gofast: What are you entering for the IP address or domain name of the target in WOW? As scrimshaw says, if you are trying to WOW, then you need to send the packet to the router (which may have a dynamic IP address, for which you would then need to get dynamic DNS), and have it forward to the local broadcast address.

Login or Join to leave a comment