Author Topic: Wake On Lan problem  (Read 9844 times)

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Wake On Lan problem
on: July 30, 2011, 06:44:01 AM
I'm trying to run SplashDesktop to access and control my PC remotely on my iPhone.

The app works fine when on the local network but (apparently) won't work so easily when I'm on the road.

My main issue however is that, try as I might, I can't get my head around Wake On Lan.  I'm supposed to be forwarding ports to UDP 9 (or something :dunno: ) but every damn combination I try just fails.  I've used the built-in WOL feature which doesn't work at all.  I've even tried it remotely via web but the so-called 'magic packet' never gets through (or it isn't recognised).

I'm using the following kit if it helps:

Router: Belkin F5D8636-4 v1
Motherboard: Asus P5K-E WiFi

Some links if they help you... they just made my eyes bleed and brain explodared.

http://support-remote.splashtop.com/entries/510336-connect-from-outside-using-linksys-wireless-g-broadband-router-as-an-example

http://en-us-support.belkin.com/app/answers/detail/a_id/60/~/configuring-port-forwarding

I've had to revert to a wired connection, too, as I understand WOL won't won't work if Mr PC is connected via WiFi.

Just what am I supposed to be doing - and is there an easier WOL solution for iPhone?

Hope someone can end my misery!  :worried:
Last Edit: July 30, 2011, 06:45:43 AM by Eagle #187;

Re: Wake On Lan problem
Reply #1 on: July 30, 2011, 09:33:21 AM
I looked into trying to get WOL working over the internet before but after a bit digging around I think I most sites seem to say that consumer level routers blocked the magic packet and there wasn't much you can do about it as it.

The only way I could think about getting around it was to find a router that had a built in VPN system that I could then install a client on my laptop and (now I've got one) an android phone and then use that to sent the packet, but I never acutally got round to finding anything so if anyone else comes up with a solution I'd be grateful.

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #2 on: July 30, 2011, 12:55:49 PM
There are literally tens of thousands of people who report they can get it to work so it must be possible.

I'm now even using a dedicated WOL app for iPhone and that can't even do it.  Confusingly, it scans and detects the router and the network card and reports both their IP and MAC addresses.  The details reported (whuch surely must be accurate) are contrary (i.e. MAC/IP switched around) to everything else I've been told to input (from ipconfig).  I've tried multiple combinations of IP/MAC/subnet mask but still nothing...

 :disappointed:

  • Offline bear

  • Rutabaga
  • Posts: 6,324
  • Global Moderator
  • Hero Member
Re: Wake On Lan problem
Reply #3 on: July 30, 2011, 13:02:17 PM
Using an open firmware can make some routers more usefull (Like linksys 54 ). Tomato is one (also with liks to others)
http://tomatousb.org/links

some compatible routers

http://tomatousb.org/doc:build-types
Last Edit: July 30, 2011, 14:54:39 PM by bear #187;

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #4 on: July 30, 2011, 13:55:18 PM
Thanks Bear - I 'bear' that in mind.  ;)

Ok, I've got the App to finally get the PC to Wake on Lan but ONLY when connected via my router's WiFi connection in the house (I'm assuming this means on the local network).

The MAC/IP settings were indeed 'swapped' from what was suggested/listed in ipconfig but I hashed around trying different things with the IP/MAC and Subnet Mask and it finally worked.

It's still not working over the phone though (a non-3G connection) OR with my 'Three MiFi' modem so I guess this isn't going to wake remotely... which is the whole point.  :disappointed:

The annoying thing is; I can control and access the PC with MiFi or Router WiFi... just not wake it.  :panic:
Last Edit: July 30, 2011, 14:01:28 PM by Eagle #187;

Re: Wake On Lan problem
Reply #5 on: July 30, 2011, 14:35:51 PM
I'm not sure it's possible remotely? Doesn't WOL use MAC address? The internet is based around IP routing and not MAC routing?

There are only two ways that I think it would work (more than happy to be proved wrong):

- VPN Connection, VPN in to the network from the iPhone then run the WOL (However you will either need a VPN server router or software running on a computer (I expect the latter defeats the point?)

- Get a router that supports WOL via remote access... I use DD-WRT which will quite happily install on a large number of routers (like tomato above), this can then mean that I can setup a DynDns, which is maintained on the router, giving me a real web address and not a changing IP, then I can log in to the router via that address and in one of the screens there is an option to wake computers on the network...

Google your router name and DD-WRT to see if it is compatible..

I've not tried it over the net but easily setup WOL on my local network via the iPhone... I think half your problem here is that it is WOLan not WOWan

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #6 on: July 30, 2011, 14:52:11 PM
It's clearly possible as people say they can do it all over the net.  I just don't get what I'm doing wrong (or missing).  It's not worth getting a new router for but I just thought as mankind can send people into space then we could at least switch a f*cking computer on remotely...

No worries.  :)

Re: Wake On Lan problem
Reply #7 on: July 30, 2011, 15:25:31 PM
LOL I've just had a bit more of a read... and all looks very simple..

Can you post a screen shot of your router port forwarding settings?

And also which iPhone WOL software are you using?

Also you are aware you need to use your internet IP not your local PC IP (I expect you do, but thought I'd check)

Re: Wake On Lan problem
Reply #8 on: July 30, 2011, 16:17:38 PM
Just to add..

this is the iPhone app I use and they give the settings to use for internet based WOL, I've tried the easy option:

- Set port forwarding of both UDP and TCP for port 9 and set the IP to forward to as 192.168.1.255 (the first 3 segments will need to match your network, the last is just the broadcast address, so will remain the same) - However this didn't work for me.. But might be because I have 2 routers between me and the internet, although I'm not sure as my second router is setup as a DMZ..

The second option is to change your subnet, I'm not going to try this as I have various different IP ranges used for different equipment types, and I don't want to dick around with it an try :)

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #9 on: July 30, 2011, 18:57:00 PM
LOL I've just had a bit more of a read... and all looks very simple..
  :o  ;D

Quote
Set port forwarding of both UDP and TCP for port 9 and set the IP to forward to as 192.168.1.255

That exact number?  It's not the IP that the PC access app uses (which works).

Quote
Can you post a screen shot of your router port forwarding settings?

And also which iPhone WOL software are you using?

Also you are aware you need to use your internet IP not your local PC IP (I expect you do, but thought I'd check)

I can post a screenie but what should I 'hide' (blank out)?

As mentioned, I can wake from Sleep on LAN but not do anything on WAN so I must have the right settings?...

The iPhone app is Depicus WOL.

:)
Last Edit: July 30, 2011, 18:58:59 PM by Eagle #187;

Re: Wake On Lan problem
Reply #10 on: July 30, 2011, 19:02:55 PM
If you are posting a screenshot, I imagine there is nothing that is personal on there, so shouldn't need to blank anything..

Can you post what settings you have put in the app as well...

The reason I ask for the latter is that the settings will be different for WAN and LAN, namely the IP you put in..

The IP you need to use in the app is the one at the top of this page:

http://www.whatismyip.com/

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #11 on: July 31, 2011, 08:22:01 AM
Yeah, I'm aware the WAN IP (public/external) is different to the the router's - and it changes daily.  Should I be using that?

Re: Wake On Lan problem
Reply #12 on: July 31, 2011, 11:51:44 AM
Yeah, I'm aware the WAN IP (public/external) is different to the the router's - and it changes daily.  Should I be using that?

Yep, so the iPhone App needs to be configured with the WAN IP when not connected to the LAN (setup 2 WOL profiles) and then a port number if it gives you the opportunity.. if not you'll need to find out which port it uses, or use a different app (Mocha WOL as mentioned above is good)

If using mWOL these are the settings:
IP Address : [WAN IP]
MAC Address: Same MAC you have that is working on the LAN
WOL Port: 9 (Default)
Name: whatever
Ping: Off (It wont work over WAN)
WOL on LAN: Off

Guide here for mWOL: http://www.mochasoft.dk/wizard_wol.htm

And the router port forwarding table needs to be configured with the same port as above for UDP and TCP, forwarded to XXX.XXX.XXX.255 (This is a broadcast IP, WOL doesn't use the IP of the computer at all, unless it checks that it has powered on after, is the device wont have an IP until it has booted), I think the below are the headings you will see, with the values you need to populate..

Enable - Y
Description - WOL
Inbound Port - 9
Type - TCP & UDP
Private IP Address - 255 (Does your router allow you to input this? some wont- if not then it's a little more complicated, but only a little)
Private Port - 9

However, like I said it didn't work from my mobile, it might be something the operator filters out, likewise the same could apply to your broadband provider? Although I'm on one of Oranges more direct APNs, so should have a better change but no luck here?

Re: Wake On Lan problem
Reply #13 on: July 31, 2011, 12:07:07 PM
Just to add... I found out my problem, DD-WRT doesn't allow forwarding over the broadcast address in the default setup, you need to add some extra code to the start-up command.. Chances are your router doesn't like it either..

  • Offline Eagle

  • Posts: 1,902
  • Hero Member
Re: Wake On Lan problem
Reply #14 on: July 31, 2011, 17:21:39 PM
Been a fiddling with mocha but just cant seem to get it to work (on WAN (Internet)).  I'll arrange a static IP, see if that helps.

I'm unable to put 255 on the end, so can we get complicated? ;)

0 Members and 1 Guest are viewing this topic.