If WoL is disabled, there will be no lights on the ports. Before you enable WoL on the target PC, turn the PC off and look at the Ethernet port on the target PC and the Ethernet port on the router/switch it is connected to. It’s easy to tell if your PC will support WoL. In the screenshot below, I’ve enabled my laptop’s Ethernet port for Wake Up Capabilities in the left window and enabled the wake up functionality in the Ethernet port’s Power Management menu on the right. As you can see, I’ve enabled WoL for both my LAN and WLAN interfaces. The first screenshot shows the WoL options from my PC’s BIOS. You can also see the contents of the packet, with “ ff ff ff ff ff ff” followed by sixteen iterations of the target PC’s MAC ( 00 1c 23 01 02 2d).Ī key step for this to work is enabling WoL in both your BIOS and Operating System, as shown in the below screenshots taken from a Windows 7 PC. You’ll see in Wireshark screenshot below, that the MC-WOL utility created a magic packet with my running PC’s MAC as the source address and the broadcast MAC address as the destination address. For example, to wake up a PC on a LAN with a MAC address of 00:1C:23:01:02:2D, you would type mc-wol 00:1C:23:01:02:2D from the command line (CLI). Simply typing mc-wol will send the magic packet over the LAN. A free command line utility I’ve successfully tested that generates a magic packet is Matcode’s mc-wol executable, available here. You can examine these details by generating a magic packet with Wireshark running on your PC. When the packet is sent over a LAN, it is simply sent as a Layer 2 frame, with the sending PC’s MAC address as the source address and either the target PC’s MAC addresss or the broadcast MAC address as the destination address. To understand the magic packet better, it is useful to look at the packet itself. A network interface card (NIC) and PC configured to monitor for the magic packet will turn itself on when it sees it. Hopefully, other posters can fill you in on the details.As a brief review of my last article, WoL uses a “magic packet” containing the broadcast MAC address ff:ff:ff:ff:ff:ff followed by sixteen iterations of the target device’s MAC address. However, this general strategy is sound, and vastly more secure than the one your are proposing. This makes it very difficult for me to give details or directions. Unfortunately, I am on the road, responding to your thread from an Android device. You can even modify a router to can act as a ssh server, although the procedure to replace the original firmware with openwrt or dd-wrt is not trivial. Furthermore, a RPi or similar super-lightweight appliance can act as a very effective ssh server. You must set it up using encrypted keys, then disable password authentication altogether. Your security footprint would then be a tiny fraction of what it would otherwise be with a remote desktop.Īll ssh traffic is encrypted. This type of server means using the command line, but ssh if properly configured is far more secure than any remote desktop app, and magic packets can easily be sent from the command line too. Instead, I would recommend an ssh server. There are Linux equivalents, but I would urge against using any of them. Remote desktop apps like these are notorious for account hijacking. The biggest security hole in your strategy is Teamviewer. I am not trying to be elitest, really I’m not, but a lot of that risk is a legacy of your Windows mindset. However, you should familiarize yourself with the risks, because your stated strategy is fraught with pitfalls and could easily lead to you getting pwned. What you are asking for is conceptually not difficult. I would greatly appreciate tips and help. Second, I need to know if there is a utility/application for Ubuntu that can send WoL magic packets like there is for windows. Now I want to try installing Ubuntu onto a cheap chromebook and then use Teamviewer to remotely control it and send a WoL magic packet.įirst, I need to know if this is even possible. I considered building a raspberry pi for this but it wouldn't have a battery. I can mirror the screens but they don't support remote input. I have an old Nexus 4 and Nexus 5 that I wanted to use for this, but so far they can't be remote controlled the way I need. I have gotten it to work intermittently a few times but have settled on wanting an always on device that uses very little power and has its own battery that I can remote control via Teamviewer or Chrome Remote Desktop and then send the WoL magic packet over the local network with said device. I have been trying for years to get a working WoL setup for my home network while i'm not home.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |