Bitcoin Forum
October 16, 2024, 04:53:56 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Enabling Wake on Lan on my Miner? WAN Setup  (Read 165 times)
r3lentleSs (OP)
Full Member
***
Offline Offline

Activity: 265
Merit: 100


View Profile
January 18, 2019, 03:32:02 PM
 #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 ?
zarapp
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
January 18, 2019, 04:17:52 PM
 #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 .
attakorn
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
January 19, 2019, 02:59:35 AM
 #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!
Lunga Chung
Member
**
Offline Offline

Activity: 277
Merit: 23


View Profile
January 19, 2019, 09: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?
r3lentleSs (OP)
Full Member
***
Offline Offline

Activity: 265
Merit: 100


View Profile
January 20, 2019, 03:13:46 PM
 #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 ?
attakorn
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
January 21, 2019, 08: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
attakorn
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
January 21, 2019, 08: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).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!