How to remotely turn on a computer over a local network. Remotely turn on the computer via the Internet

Wake on LAN technology must be supported by the BIOS and network card. Also, we need a special application, the functions of which allow us to send a WOL packet to a remote PC.

Thanks to modern advances, you can turn on a remote PC not only from another computer, but also from your phone. You also need to remember that turning on the computer in remote mode implies the activity of the network card - it must receive power in standby mode.

Preparatory actions

First of all, you need to configure the BIOS and the network adapter to wake up. It doesn't matter what kind of network it is - built-in or external. Having opened the main I / O program, we will find the section responsible for power management - Power Management, for example.

In this section, you need to find the wakeup parameters.

These settings can go by various names, including Wake on LAN, PowerOn By PCI Card, WOL from Soft-Off, and more. This option must be enabled.

It is possible that you will need to enable the option in the picture below.

For greater certainty, it is better to familiarize yourself with all the options for waking up your BIOS. After all, the computer can wake up from the TV tuner, if the option to turn on via PCI-Express is enabled, and after pressing any key on the keyboard, if the options associated with the PS / 2 port are enabled. In our case, we need a parameter associated with the PCI bus on which the integrated network controller is located.

After configuring the BIOS, be sure to check if the technology in question is supported by your Ethernet controller. We will need to enable the reception of the "magic" WOL packet so that the Ethernet controller is configured to wait for it. A WOL packet is a special Ethernet frame consisting of a sequence of bytes containing the MAC address of the network card. Upon receiving such a frame, the Ethernet card generates a signal to wake up the PC.

So, let's open the network control center.

Open the properties of the network adapter.

Let's move on to its settings.

Enable WOL Packet Magic and, if necessary, enable Energy Efficiant Ethernet, End Wake.

Let's go to the power management tab, where this configuration should be.

WakeMeOnLan

Let's use a small Wakmeonlan program for our purposes. This application does not require installation. After starting it, you need to scan the local network so that Wakemeonlan finds all network devices.

It should work on the PC from which the WOL frame will be generated to turn on the remote PC. This is how Wakemeonlan scans:

If during the scan the application did not detect a currently disabled computer, then it is possible to add it yourself.

Let's add another device manually.

You just need to enter the IP address of this device and its MAC into the form.

Let's determine the addresses we need, for which we will launch the command line.

Run ipconfig with the /all key.

The second way - let's look at the "Adapter Status".

Open the Details window.

Let's find the addresses we are interested in.

After adding the desired device, update the list.

As you can see, we already have three devices.

Once added, you can easily turn it on remotely by clicking the "Wake up Selected Computer" button.

Let's use TeamViewer

The pre-configuration done will allow you to run the Wake on LAN function of an application such as TeamViewer. To wake up a PC remotely, the following must be provided:

Cable connection to the Internet.

The computer is put into one of the modes: hibernation, sleep, or soft shutdown (Start and Shutdown).

Installed TeamViewer.

It is very important to turn off fast startup in operating systems such as Windows 8 and 10. Your instances of TeamViewer must be associated with a program account. In this case, all devices must belong to the same LAN.

In the application options tab, you need to activate the Wake-on-LAN function and configure it by clicking the button of the same name. By selecting the option "Other applications in the same local network”, add the TeamViewer ID of the devices from which this computer is allowed to wake up. To create conditions for enabling by a public IP address, you will have to connect with dynamic DNS, which will also have to be configured on the network router. Let's consider all the steps in order.

First of all, let's link all computers to an existing account.

A warning window about the need to link to an account.

Binding using the "Link" button.

An established connection is displayed at the bottom.

We will need to configure the Wake on Lan feature.

Check the box next to other TeamViewer applications.

Add the TeamViewer ID whose computer will send the WOL packet.

You can wake up a remote PC from your TeamViewer account, which displays all devices associated with it. You just need to press a button in the form of a power button, which will send a WOL frame to the Ethernet card of the selected electronic device.

Summary

To remotely turn on the PC from another device, you need to configure the BIOS and Ethernet card. In the BIOS, you will need to configure the wake-up policy for the PC on a network signal, which is in an active state, provided by standby power. Also, you need to configure the Ethernet controller to receive WOL packets. Need more special program to generate a WOL packet. Such a program can be, for example, Wakemeonlan or TeamViewer.

Modern features allow you to turn on the computer remotely over the network. However, you will need to make a preliminary hardware setup, download the necessary drivers and programs. The implementation from the outside can look quite confusing, so this article will consider only one option using the TeamViewer program. For convenience, we will divide the entire sequence of actions into several stages.

How is the process

Computers have the ability to turn them on over the network by sending a special message. In order for the computer to be able to accept and process it, you will have to make certain settings in the BIOS. The TeamViewer program can be responsible for sending the message and addressing it with the provided servers, where this message is stored and later sent to the router and then to the computer.

The image shows a simplified diagram of how sending Wake-on-LAN packets works.


However, in order for the computer to be turned on remotely, certain requirements must be met. Here are the conditions:

  • The computer is plugged in or running on battery power if it is a laptop. In the latter case, there must be a sufficient level of charge;
  • The network card supports Wake-on-LAN technology;
  • The Internet connection is via a LAN cable. If a computer / laptop is connected to the Internet via Wi-Fi, then you will not be able to wake it up remotely;
  • The device was turned off after "Start" and "Shutdown" or is in sleep/hibernation state.

Subject to all these conditions, you will be able to remotely turn on the computer via the Internet and the TeamViewer program.

Stage 1: BIOS setup

Initially, you need to enable the Wake-on-LAN function through the BIOS. You need to make sure that your network card supports this technology, otherwise you will waste your time. You can find out more about your network and motherboard cards on the manufacturer's websites.

If all the necessary technologies are supported, then you can proceed directly to switching:


Stage 2: Setting up the network card

This step is performed through the Windows interface and is not so complicated. However, the operating system must run as an administrator. If this is not the case, then log into the administrator account. The setup process only takes a few minutes:


Stage 3: Setting up TeamViewer

This stage is the "final" one and consists in installing, creating an account and configuring TeamViewer. Initially, let's look at how TeamViewer is downloaded and installed:

Now you can go to the settings of the program itself:


Now, to turn on your computer remotely, in the TeamViewer interface, which is installed on the device from which the signal will be sent, find the item "Computers and Contacts". Here you just need to click on the button "Awakening".


As you can see, the process of turning on a computer via the Internet using the TeamViewer program is not as complicated as it might seem at first glance. In theory, turning on via the Internet can be implemented by other means without using TeamViewer, but this is quite complicated and can lead to serious malfunctions of the computer if any settings are made incorrectly, so these options will not be considered.

TeamViewer is popular free program for remote access to a computer. With help functional utility the user can work with files, set up the system, communicate, create conferences, restart the PC and much more. Users are especially interested in how to turn on the computer remotely. The application also provides such an option, but the user will have to configure the device.

To start the computer remotely, you will need to configure the BIOS, TeamViewer, Firewall and network card. You should start by activating Wake-on-line, to enable this option you need to:

  • Turn on the PC and press DEL or F1 to access BOIS.
  • Enter the Power or ACPI Configuration section (depending on the BIOS manufacturer)
  • Activate the Wake-Up or Power by PCI feature.

After the procedure, you must press F10, save the changes and restart the PC.

Network card settings and programs

  • Enter the section " System».

  • Click on the option " Device Manager».

  • In chapter " Network adapters» click on « Properties».

  • Go to " Power Management».
  • Check the boxes next to all items.

After that, you should go to the "Advanced" section, select the "Wake on Magic Packet" option and set the value to "On".

In the firewall, the user needs to select the rules: " For port”, UPD. Then check the boxes next to " Local Port Definition», « Allow connection”, remove the bird from the item “ Public” and enter a name for the rule.

In order for the inclusion of a remote computer to work in TeamViewer, the user needs to associate the program with his account. The user will need to enter their email and password.

  • Tutorial

... and also without port forwarding, SSH/telnet and installation of third-party applications. From any computer connected to the Internet and even from your phone!

Sometimes I need to turn on home computer when I am not at home. Usually I didn’t bother and called or sent a message with such a request to my wife, who is sitting at home on maternity leave. Very convenient means of remote control with a voice interface. However, this method has a number of disadvantages - she went for a walk, puts the child to bed, or is busy with something else. wanted simple solution from what is at hand.

First of all, we enable Wake on LAN in the motherboard's BIOS, everyone does it in their own way, many have it enabled by default. On one of my PCs, there is not even such an option - it is always on.

Next, go to WinBox and connect to your router (if you want, you can via SSH or via HTTP (S), I do everything in WinBox "e). If you open the RouterOS text console and rummage there in the / tool section (or in the wiki manuals ), you can find the wol utility with the following syntax:

/tool ​​wol mac=XX:XX:XX:XX:XX:XX interface=ifname
Where ifname is the name of the interface from which the magic packet will be sent, XX:XX:XX:XX:XX:XX is the mac address of your computer.

It seems that everything is simple, but Winbox doesn’t really start from the phone and you are tormented to enter the mac address from memory. You can start SSH and send a single command to it, but this is also long and tedious. We use a firewall!

It is impossible to start the execution of commands directly from the filter rules; of all actions, adding an address to the address-list is the most suitable for us, because it allows you to create a new object in operating system router, accessible from scripts.

Let's add a new rule for the input chain and place it among the other allowing rules in this chain. Specify the protocol tcp and dst-port - any of the upper ports.

Action select add src (you can also dst) to address list, specify the name of the sheet.


To track the appearance of records, we use the scheduler. Go to System -> Sheduler, create a scheduler task, set a name. Specify Start time: startup, and the desired interval, for example, every 15 seconds.

Let's write a simple script in the on event field:

:local WAKEPC :if ($WAKEPC!="") do=( /tool ​​wol mac=00:11:22:33:44:55 interface=bridge_lan /ip firewall address-list remove )
Do not forget to specify the correct mac, interface name and list-address. This script, upon detecting items in the address list, will execute a command that sends magic packets to your computer, after which it will remove the entry from the address list.

To turn on your computer, just open a browser and go to the IP of your Mikrotik, specifying the port that we set in the firewall rule: http://your.router.net:port , after which the firewall creates an entry in the address list, the scheduler task will detect this entry, will run the wol utility, and remove the entry from the address-list. It’s easier than a steamed turnip, we can add the address to favorites so that we don’t have to enter it every time.

Just do not forget about security, this method is not protected by anything and anyone can turn on your computer, knowing or choosing the right port. For protection, you can use VPN, port knocking, whitelisting or the Elusive Joe method - it's up to you. If you need to turn on several computers separately in this way, create the appropriate number of rules on different ports, each of which will throw addresses into its address list, we also multiply the script in the scheduler task via Ctrl + C, Ctrl + V, or create separate tasks for everyone - as you wish.

Did you know that now there is an application that allows you to turn on your computer remotely via the Internet from anywhere in the world? You can download it from the link (and) Have you ever had a situation where you urgently need to access your computer? For example, on the computer there are some files or photos that are needed at the moment. By using this application you will learn how to remotely turn on a computer via the Internet and then use it using the program remote control computer. To use remote computer activation via the Internet, you need to know how to configure it.

What is necessary:

- a computer connected via Ethernet to the router

- configured in the BIOS on the computer WakeOnLan (a function that implements remote turning on the computer via a LAN cable)

- a router with a configured SSH or Telnet connection from the outside and Wake-on-LAN support

- installed on a computer and smartphone TeamViwer for remote control

Computer settings

1. The computer needs to be restarted and enter the BIOS (usually it is enough to press F2 or DEL when the first lines appear on the screen).

2. In the POWER tab (or something like that), enable the Wake-on-LAN (remote turn on) function for S4 mode (very low power mode, sleep).

4. Open the "Device Manager" (for example, enter this combination in the search after clicking the "Start" button)

5. In the manager, you need to select a network card among network adapters and go to properties. (it will contain the words "Ethernet" or "LAN", not to be confused with the wifi adapter, it usually contains the words "Wireless" or "WLAN")

6. In the properties on the "Advanced" tab, check for the presence of the Wake on Lan (WOL, Wake on Magic Packet) item and, if it is, enable it.

7. The computer setup is completed, it is advisable to restart the computer again. In order to remotely turn on via WOL, you need to turn it off through hibernation, and not through shutdown.

Router setup

We will configure the router using the Asus RT-N66U as an example, however, the settings for routers do not differ much and most likely you can configure others.

1. You need to set up a remote connection to the router:

a) If you have a static external IP, then this item can be skipped. Set up DDNS. To do this, go to the Internet settings -> DDNS and connect the dynamic DNS service. For example noip.com. You need to create an address at which your router will be accessible from the outside and enter data about it in the router:

b) configure SSH access to the router. In my router, it’s enough to put down the following settings on the “Administration” -> “System” tab (For DD-WRT firmware manual, but access will only be if the user login is “root”, these are firmware limitations)

Application setup

Everything is simple in the application. Go to settings and write:

1. DDNS address (or external static IP)

2. Login / Password on the SSH / Telnet router

3. Connection type

4. You can find out the MAC address of the network card of the computer like this: Network and Sharing Center -> Change adapter settings (or " Network connections”), and then as in the screenshot.

mob_info