Author Topic: wake up on LAN  (Read 7775 times)

jmbrush

  • Newbie
  • *
  • Posts: 3
wake up on LAN
« on: April 25, 2014, 12:03:33 PM »
I did look through other threads and do not see this addressed so I figure to ask and see if anyone can explain.

I am using V9 teamviewer  and simply would like to us WOL from my laptop to turn on my desktop. The laptop is wireless and the desktop is hard wired to the router.

I have enabled the NIC  and BIOS on the desktop to enable wol,  and gone through the steps in the manual and I think I did it all correctly until I got to the part where I am on  my laptop and want to turn on the desktop, but if the desktop is turned off, then of course it is not visible to the teamviewer app on my laptop, so how to I right click on it from the laptop and turn it on?

Its obvious that I am missing the logic of using an application that has to be running in order to turn on the desktop, so can anyone explain how this can possibly work?

Any help or pointers would be greatly appreciated.

Thanks for you time,
John


mteq

  • Newbie
  • *
  • Posts: 6
Re: wake up on LAN
« Reply #1 on: May 17, 2014, 01:48:31 AM »
Hi John

I am no means a Wake on Lan Expert but I have used it successfully with Logmein and from inside and outside a Network.

I am also a little confused with the Logmein vs Teamviewer Implementation but maybe I can offer you some tips:

If the BIOS (Setup) of the desktop machine that is switched off is set to WOL events is the first place to look (this depends on the Make of the PC)
    is it a Home made Tower? If so what Mainboard are you using (Download Speccy for free if you not sure). If it's an OEM PC like an HP, Lenovo etc what Model is it. Are you using a Fixed IP address or does it get a new IP address everytime you boot up? Are you using a UPS on the Desktop? The Reason I ask is that if your Desktop is setup for S3 Sleep state (Some PC's won't wake up from S5 Sleep state, try S1 or S3) and it's switched off and you send it a WOL (Wake on Lan) command usually on udp port 7 or 9 it will wake up, however if you have a power failure I have found that the only way to switch on the desktop is manually from the front button as the power is lost and the Machine "Forgets" the WOL status and what it's waiting for. However if you have a UPS and the PC is switched off it will remember the status for a few weeks.

This is a very simplistic explanation but I do switch on and off 87 PC's remotely (I switch on my Server, Laptop and other Home PC's easily) and am also having problems. I can tell you how to switch it on without using teamviewer and as you only have 1 PC to wake up it should be easy. Try downloading a free application called WakeOnLanGui.exe and I can help you there as well.

If you are portable with the laptop and want to wake the Desktop from outside your home network, then it becomes a bit more difficult but not impossible.
« Last Edit: May 17, 2014, 01:59:28 AM by mteq »

SawyerSLO

  • Newbie
  • *
  • Posts: 7
Re: wake up on LAN
« Reply #2 on: May 19, 2014, 05:54:12 AM »
Well the way this works is very simple. Primary requirement is that your network card and bios support this feature and you have it enabled in windows. Your computer has to be hard wired to your router so it has power on the network card all the time. You can see this if the lights still blink when you turn everything off.

Then you have to setup your router to let the port 9 through to your computer which you want to wake up. 9 is a predfeined port by teamvier but you can use any other also.

Where it gets complicated is if you want to wake up the computer from outside your network. ARP which stores your mac address and IP usually get cleared up after some minutes and if this happens you can no longer wake up your computer from outside your local netwok.

Tomato and DDWRT routers can be setup so it always stores a permanent link in there firewall and never gets delete.

I just add this line to my boot init of my tomato router.
ip neigh add 192.168.10.10 lladdr xx:xx:xx:xx:xx:xx nud permanent dev br0

The ip address 192.168.10.10 and xx:xx:xx:xx:xx.. is the IP address of my local computer and its MAC address setup permanently in its memory.

Now it just works with teamviewer or any other Wake on lan app.
« Last Edit: May 19, 2014, 05:55:51 AM by SawyerSLO »

mteq

  • Newbie
  • *
  • Posts: 6
Re: wake up on LAN
« Reply #3 on: May 19, 2014, 08:23:14 AM »
All my Routers are Netgear DGN1000 or DG834GV's Mainly and they don't do the tomato thing (I Don't think??)