Recently I have been upgraded me desktop PC from win 7 to win 10. Now after shutdown wol not working and lan led is completely off but in windows 7 there was not any problem. In sleep mode wol works fine I already disabled fast startup and ticked all options in Device ManagerPower Management. With TeamViewer, waking up another computer within your local network is simple. If you have the permissions, you’ll have access to all of the device capabilities as if you were physically there using it. Not in the same network? As long as you have a router and the permissions necessary to access the device, you’re good to go.
Hi all,
I use TeamViewer, have for years - great too - especially if I am travelling and want to securely access something on my home PC, I can access it from TV mobile or from my laptop. I use to leave my PC on, mainly for this reason.
I was reading about how to enable TeamViewer to use wake on LAN - meaning if I could just have my PC sleeping, and then send a wakeonLAN message to wake it up when I need to - access what I need -then have it sleep again. Saving power etc. I have read on the TV site that I can do this from either mobile or laptop via internet.
I have read the TeamViewer instructions on this, and while it seems a bit complicated I thought I have followed it - but I cannot get it to work. Hoping some of the experts here can guide me and help troubleshoot for me?
Firstly, I am running Win 10, latest version of TV - plus 'Teamviewer for Remote Control' on Android.
My router is running Gargoyle, and my ISP used dynamic IP's.
Here are the guides I have been following:
1) https://www.teamviewer.com/en/res/pd...-on-LAN-en.pdf (Yep I know it's for TV 9, but I can't find an updated version)
2) https://www.teamviewer.com/en/help/4...eamviewer-work (their support page)
As I want to do this from the internet, it seems I need a dynamic DNS provider. SO, here is what I have done so far:
- Set up a free dynamic DNS domain via changeip.com (it's set up using the domain (myname.changeip.org )
- PC is set to enable wake on LAN in BIOS
- Network controller has both 'allow this device to wake the computer' and 'only allow a magic packet to wake the computer' selected in device's power management settings, and also the option 'wake on magic packet' is enabled (from advanced tab)
- Team viewer is configured with Wake on Lan enabled for public address - I used the domain above (myname.changeip.org), and port 9
- In my router, in the Dynamic DNS setting, I added the same domain (myname.changeip.org)
- In my router, I added a port forward - type UDP, from port 9, to IP 192.168.1.254 port 9 (wouldn't allow 255) this part was a bit confusing in the TV instructions but I think this is how it should be
When I turn the PC to sleep, and then try and access it via teamviewer on Android, the PC shows offline. There is an icon that looks like a power icon, but clicking it does nothing. And yes I did test it using the mobile phones network, not from my home wifi.
WHat am I doing wrong?
- I have been unable to get Wake on LAN functionality to work in Windows 10. I am attempting to do a Wakeup on LAN to my desktop computer which is running Windows 10 from my laptop which is also running Windows 10; I'm doing this within my Local Area Network so I'm not going through a router from the external network.
- I'm baffled by wake on lan and can't get it to function at all. I have my desktop machine logged into our account and all networked machines are available and TV works fine in all other respects. I also have a laptop I want to wake up. I've enabled WOL in its bios, configured the network card as the instructions specified.
TeamViewer is a fast and secure all-in-one solution for gaining access to computers and networks remotely. With a range of powerful remote access features that make light work of remote control, meetings and maintaining a cloud-based service desk, there is a host of resources showing you exactly how to harness the full power of TeamViewer.
From DD-WRT Wiki
English • Deutsch • Español • Français • Italiano • 日本語 • Polski • Português • Русский • Svenska • 中文(中国大陆) • 中文(台灣) • |
|
Teamviewer Sleeping Pc
[edit]Introduction
Wake-On-LAN (WOL) provides the ability to wake a slept/suspended, hibernating, or shut down computer, but the support for this (especially the latter) is dependent upon the hardware and BIOS/UEFI settings. Most modern computers have the WOL feature - it might be listed under PME (Power Management Events).
Reasons to use WOL with DD-WRT:
- You do not want a computer on all the time, yet you want to use it from outside your home or office, and there is a DD-WRT-enabled device as the Internet gateway for that computer, powered on all the time.
- The computer is a media server that auto-sleeps, but you want it to wake automatically for file access.
[edit]Preparation
You will need:
- A PC which supports WOL. Most modern PC's can be set-up this way.
- Administrative access to the computer you want to sleep/wake-up.
- The WOL computer should have a static IP address, one manually assigned or through static DHCP. In the example below, we assume your router LAN is 192.168.1.x (the default) and the static IP WOL computer is 192.168.1.254.
- Ideally, a second PC to test the WOL abilities of the first one. You can also use the DD-WRT device's Web Interface to send test packets, in place of a second PC.
[edit]Enable WOL on the Computer
- On the LAN adapter of the computer (physical ethernet adapter and/or wireless, given BIOS support), choose Properties/Configure.
- Power Management tab (far right). Check the second and third boxes to enable WOL. Press OK until you are back at Network Connections. Now the computer can normally be started from Hibernate, Standby, or PowerOff modes via a special management packet.
- Get ready to test your set-up by using a utility like WOL Magic Packet Sender http://magicpacket.free.fr/ (free). Install it on both the computer you are using and a second PC on the same physical LAN.
- On the WOL computer, open WOL Magic Packet and on the Receive tab, click the green Start button.
- On the second computer, open WOL Magic Packet and on the Send tab, put in:
- IP Address of WOL computer for Host Name
- 0.0.0.0 for Subnet Mask (select from drop-down)
- MAC address of LAN adapter on WOL computer. Use the command 'ipconfig /all' if you don't know what this is.
- Click the green Send button. The WOL computer should respond with a pop-up box showing a packet was received.
Repeat the previous steps and go over the trouble-shooting tips until they work before proceeding.
[edit]Test that WOL works within the LAN
Hibernate, Standby, and Power-off the WOL computer, while clicking Send on the second computer, to test each mode to make sure WOL is working.
Once this step is working, you can go on to making WOL work when you are outside your LAN, such as at a cafe or another remote location.
[edit]Troubleshooting
Wake On LAN is usually disabled by default in most PCs. This feature, if optional, must be enabled in your BIOS otherwise WOL isn't going to work. Consult your motherboard's manual and BIOS screen (DEL at startup, usually). If you don't see the WakeOn-type options in your BIOS, usually somewhere in Power Management, your motherboard may not support WOL.
- A good place to start is here: [1]
[edit]WOL Methods
[edit]WOL through Telnet/SSH
Note: This is the preferred method to send WOL magic packets remotely.
If you have local or remote Telnet/SSH access to your router, you can wake up a machine on the LAN by using the following command:
Note that the full path to '/usr/sbin/wol' is important. Simply 'wol' will not work.
Substitute AA:BB:CC:DD:EE:FF with the actual MAC address of the computer which you wish to boot remotely. Likewise, replace 192.168.1.255 with the actual broadcast address of the network (192.168.1.255 is the broadcast address when the machine has an IP of 192.168.1.x and subnet mask of 255.255.255.0). Replace 'PP' with the port number your machine listens on (usually 7 or 9).
[edit]Remote Wake On LAN via Port Forwarding
To remotely wake up a computer over the Internet using Wake On LAN- follow these instructions:
1 - Create a port forward rule on the Web Interface (Applications & Gaming -> Port Range Forward) to the chosen ip:
- Here, 9 is the default, but you can use any port number so long as your client wake-up application can talk to a port other than 9. Most WOL services will use either UDP port 7 or 9.
- 192.168.1.254 is just an IP address in your LAN's subnet; it can be any IP, as long as it is not assigned to any device on your network.
2 - Add a static ARP entry by typing the following line into the Administration -> Commands section of the Web Interface and then saving with Save Startup.
- Do not change the FF:FF:FF:FF:FF:FF MAC address; this is a special MAC address used when broadcasting. WOL magic packets are constructed using the MAC address of the target computer, but should be and almost always are sent via broadcast; the MAC address used here controls with how the packet is sent, not how it is formed.
- The 192.168.1.254 IP address should correspond with the IP address you used in the previous step. Again, this IP should be in your LAN's subnet, and you must not assign this IP address to any actual device on your network.
- Explanation/rationale for this setup: Normally, WOL magic packets are sent to a special broadcast IP--to the final .255 in a subnet or to 255.255.255.255. Since port-forwarding to these special dedicated broadcast IPs does not work, what we need to do is create our own broadcast IP by taking an unused IP and assigning it a broadcast MAC and then port-forward to that.
- As an optional alternative, instead of arp, you can use ip neigh (which does the exact same thing as arp). Support for ip neigh was removed from DD-WRT starting with build 17650, and arp is unavailable in DD-WRT builds older than 5672.
3 - Reboot the router, or execute the startup commands manually.
- To wake your computer from the internet using the DD-WRT device DynDNS name (or if you know it, the public IP of the router), try one of the following services;
- Mestrona's online WOL. You need to forward port 9 udp in step one, to use this service.
- Wake-On-LAN Online. It works both on ports 7 and 9 and allows WOL by a single URL of the form: http://mobile.wakeonlan.me/?ip=HOSTNAME&mac=MACADDRESS. It also allows for scheduled wakeup over the internet.
- To use the WOL Magic Packet application from a second PC:
- Host Name: DynDNS name of your DD-WRT device.
- Subnet Mask: 255.255.255.255
- MAC Address: WOL computer MAC address, not the DD-WRT MAC.
- Click the green Send button.
[edit]Automatic Wake-On-LAN Daemon
The Automatic WOL daemon will send out a periodic wake on lan packet at the intervals you specify. This may be useful to keep a system online most of the time even if it is turned off. (eg: A Media Center PC).
For Interval you can enter a value in seconds as low as 15 seconds and as high as 86400 seconds (1 day).Host name should be the broadcast address for your LAN. eg: 255.255.255.255 or 192.168.1.255.SecureON Password is computers that have a BIOS feature that secures the WOL function. If you do not have a BIOS that requires this form of password then you can leave the box blank or type in 00-00-00-00-00-00.MAC Address(es) should contain the MAC address of the networked machines you want a WOL to be sent to on your LAN.
The packets generated by the WOL daemon are sent to UDP port 40000. You likely will not need to worry about this unless the system you are attempting to send the WOL packet is on another subnet or you are trying to monitor the packets.
note: the UI says that the Interval accepts a range of 1-86400 seconds but it will only send out a WOL packet at a minimum of 15 second intervals. All values below 15 are accepted but the interval will still be every 15 seconds.
A useful tool for watching the WOL packets on a Windows computer is available at www.depicus.com/wake-on-lan (use port 40000 when monitoring) Or you can use a more generic protocol analyzer tool like Wireshark.
[edit]WOL Scripts
Teamviewer Wake On Lan Not Working Remotely
- Wake up a specific host when triggered from the internet: Web Server Wake-up.
- To wake by name: Name-based WOL.