Author

Topic: Enabling Wake on Lan on my Miner? WAN Setup (Read 166 times)

newbie
Activity: 19
Merit: 0
January 21, 2019, 03:23:29 AM
#7
I actually have made it to work on 4G. The problem is now after a limited time, it doesnt work anymore. WOL always work in my local network. But wake on wan only works for 15 minutes after shutdown. Then ip gets flushed or something....

I read u needed to add a static ARP entry, so with netsh i made the ip static in the ARP table
But its still not working after 15 minutes

any advice ?

Ah yea, it's getting back to me now. It is something to do with the router forgetting where your IP is after some time after your PC shuts down. I think that was why you needed to use the broadcast IP address (.255) so that the router can just blindly send out the magic packet without having to know where to send it to. If your router doesn't support this, I haven't found a solution yet, that's why I'm using the smart switch (see above).
newbie
Activity: 19
Merit: 0
January 21, 2019, 03:21:10 AM
#6
what kind of smart switch you use?

I use a sonoff wifi smart switch. Something like this:
https://cdn.itead.cc/media/catalog/product/s/o/sonoff_03.jpg

You connect it to your Wi-Fi and control it with your phone. The software works on the Internet also not just on the local network. When you energise the switch, it will basically short the 2 output terminals. So what I did was make a splitter for the power on/off pins of the mainboard, connect one pair to the physical power switch of your PC case, and the other pair to the 2 output terminals of the sonoff. You'll then be able to turn on/off your PC with the physical like you would normally or with the sonoff wirelessly inside or outside of your home network Wink
full member
Activity: 265
Merit: 100
January 20, 2019, 10:13:46 AM
#5
I actually have made it to work on 4G. The problem is now after a limited time, it doesnt work anymore. WOL always work in my local network. But wake on wan only works for 15 minutes after shutdown. Then ip gets flushed or something....

I read u needed to add a static ARP entry, so with netsh i made the ip static in the ARP table
But its still not working after 15 minutes

any advice ?
member
Activity: 277
Merit: 23
January 19, 2019, 04:31:59 AM
#4
In your router port forwarding settings, try changing the local IP to x.x.x.255 where the x.x.x. is the first three groups of your local IP. For example if your PC is 192.168.0.2 then set it to 192.168.0.255. The .255 tells the router to broadcast the magic packet rather than sending it to a particular IP. I know it shouldn’t be relevant but I got this to work in one of my networks I setup. However, recent routers these days seem to have disabled this feature (not allowing you to use .255, for security reasons). If this is the case, I have not found a working solution either - I gave up and switched to using a smart switch wired up to power switch jumper of the MB instead.

Hope this helped, good luck!
what kind of smart switch you use?
newbie
Activity: 19
Merit: 0
January 18, 2019, 09:59:35 PM
#3
In your router port forwarding settings, try changing the local IP to x.x.x.255 where the x.x.x. is the first three groups of your local IP. For example if your PC is 192.168.0.2 then set it to 192.168.0.255. The .255 tells the router to broadcast the magic packet rather than sending it to a particular IP. I know it shouldn’t be relevant but I got this to work in one of my networks I setup. However, recent routers these days seem to have disabled this feature (not allowing you to use .255, for security reasons). If this is the case, I have not found a working solution either - I gave up and switched to using a smart switch wired up to power switch jumper of the MB instead.

Hope this helped, good luck!
newbie
Activity: 12
Merit: 0
January 18, 2019, 11:17:52 AM
#2
If WOL is working on your internal network (even if its thru wi-fi your still on internal network) then maybe your problem is with your global IP ? Or Windows Firewall perhaps ?
Check with one of the many webpages for your outside ip and see is it the same as your computer you are trying to awake .

One other solution (if you dont have outside static ip) is to set up a small machine and put some kind of remote control app (teamviewer , radmin (radmin will need static outside ip too) and with your phone connect to that small machine and from it WOL any of the computers you need .
full member
Activity: 265
Merit: 100
January 18, 2019, 10:32:02 AM
#1
Here's what I've already done:

1) Forwarded ports 9 on my router. Both TCP and UDP
2) Set Windows to allow the computer to be woken up
3) Enabled Wake on Lan in my BIOS/UEFI
4) I'm using a wired connection
5) I've made a static IP aswell.


So WOL works in my own network, using WiFi, but i need to work on 4G aswell.

In the app i use -->

1 Hostname --> Hostname of my PC
2 Ip adress ---> Lan IP of my computer
3 MAC Adress of my computer
4 Using port 9 --> Where i forwarded port 9 on my static IP adress of my computer
5 Then i check off Public IP and fill in the WAN ip of my router.

Am i missing something i forget to do ?
Jump to: