Har du noen gang ønsket at du kunne vekke datamaskinen ut av hvilemodus uten å traske bort til den og trykke på strømknappen? Wake-on-LAN lar deg slå på datamaskinen ved hjelp av nettverkstilkoblingen, slik at du kan starte den opp fra hvor som helst i huset med et knappetrykk.
For eksempel bruker jeg ofteChrome Eksternt skrivebordfor å få tilgang til arbeidsstasjonen min ovenpå. Men hvis arbeidsstasjonen min sover, trenger jeg ikke gå opp og slå den på. Wake-on-LAN lar meg vekke datamaskinen med en "magisk pakke" sendt fra telefonen eller den bærbare datamaskinen min, slik at jeg kan fjernstyre den uten problemer.
Støtter datamaskinen din Wake-on-LAN?
(Foto: Cristian Gutu/Shutterstock)
Wake-on-LAN har noen forbehold når det gjelder støtte. Først må nettverkskortet til datamaskinen som vekkes, støtte funksjonen. Stort sett alle moderne Ethernet-adaptere støtter Wake-on-LAN, men trådløse adaptere gjør det sjelden.
Dette betyr at enheten som sender den magiske pakken kan være på Wi-Fi, men den som mottar den må sannsynligvis kobles til via Ethernet for at dette skal fungere. Sjekk datamaskinens dokumentasjon eller BIOS for å se om den støtter Wake-on-Wireless-LAN (eller Wake-on-WLAN).
For det andre er Wake-on-LAN designet for å vekke en annen datamaskin på nettverket ditt, så den vil ikke være i stand til å vekke datamaskiner på et annet nettverk – for eksempel hvis du er på en kaffebar og vil vekke skrivebordet ditt. hjem igjen. Det finnes måter å få dette til å fungere, men det er litt utenfor rammen av denne veiledningen, så vi vil peke deg i riktig retning så godt vi kan.
Aktiver Wake-on-LAN i BIOS
Før du kan bruke funksjonen, må du først aktivere Wake-on-LAN på maskinvarenivå idatamaskinens BIOS. For å gjøre dette, start PC-en på nytt og trykk på en tast på oppstartsskjermen - vanligvis Delete, F2 eller en annen funksjonstast (det står vanligvis på skjermen). Når du går inn i BIOS-menyen, se etter alternativet Wake-on-LAN.
På noen maskiner vil det være veldig tydelig merket i søvn- og våkneinnstillingene. I andre tilfeller, som på mitt MSI-hovedkort, er det en del av Resume By PCI-E Device-innstillingen. Du kan se på skjermbildet ovenfor at denne innstillingens beskrivelse nevner "integrerte LAN-kontrollere", som er akkurat det vi ser etter. Slå den innstillingen til Aktivert.
Det er alt jeg trengte å gjøre på maskinen min, men det kan være andre dvale- eller dvaleinnstillinger du må justere her. Det varierer fra PC til PC, så du må bare prøve og feile litt hvis du får problemer, eller slå opp veibeskrivelser for PC-ens spesifikasjoner.
Aktiver Wake-on-LAN i Windows
Once rebooted into Windows, click the Start menu and search for "Device Manager." Launch the Device Manager, find the Nettverksadapteredelen, og utvide den for å avsløre nettverksgrensesnittene dine. Høyreklikk på Ethernet-adapteren din - min heter "Intel(R) l211 Gigabit Network Connection" - og velgEgenskaper.
IAvansertfanen, rull ned tilWake On Magic Packetog sørg for at den er aktivert ved hjelp av rullegardinboksen til høyre. (Dette alternativet var ikke tilgjengelig på alle testmaskinene mine, men Wake-on-LAN fungerte fortsatt på hver av dem, så ikke bekymre deg hvis du ikke ser det.)
Deretter klikker du påStrømstyringfanen i det samme vinduet og merk av to bokser:La denne enheten vekke datamaskinen, ogTillat bare en magisk pakke å vekke datamaskinen. KlikkOKog gå ut av Enhetsbehandling.
Noen datamaskiner støtter kanskje bare Wake-on-LAN fra hvilemodus, mens andre kan tillate deg å våkne fra en slått av tilstand, så du må kanskje justere innstillingene i BIOS eller i Windows' Kontrollpanel underMaskinvare og lyd > Strømalternativer > Systeminnstillinger.
Noen opplever at de må deaktivereRask oppstartfra denne siden, selv om det fungerte bra for meg. Igjen, du må kanskje leke med innstillingene hvis du finner ut at Wake-on-LAN ikke fungerer som den skal.
Vekk datamaskinen med riktig app
Til slutt, for å vekke datamaskinen din over nettverket, trenger du en Wake-on-LAN-app på en annen enhet, for eksempel telefonen eller bærbar PC. Noen programmer kommer allerede med Wake-on-LAN innebygd, inkludert de du allerede eier. I andre tilfeller kan det hende du trenger et eget program for å vekke PC-en.
TeamViewerhar denne muligheten hvis du kobler til enhetene dine via en TeamViewer-konto. Du kan deretter åpne programmet og klikke påVåkn oppfor å vekke en hvilende PC som er koblet til kontoen din. Andre fjerntilgangsverktøy kan også støtte Wake-on-LAN, så sjekk med ditt valgte program for å se hvilke innstillinger du trenger for å aktivere for at det skal fungere.
Hvis du prøver å vekke en PC fra en annen Windows-maskin, anbefaler jeg NirSoftWakeMeOnLan(Åpnes i nytt vindu). Den vil skanne nettverket ditt og gi en liste over enheter, slik at du ikke trenger å huske riktig IP-adresse hver gang. Bare klikk på maskinen du vil ha og trykkVåkn opp.Skildre(Åpnes i nytt vindu)er et annet godt verktøy, men du må angiIP adresse, MAC-adresse, nettverksmaske og portnummer for den eksterne PC-en.
Du kan vekke datamaskinen fra en iPhone eller iPad medMokka WOL(Åpnes i nytt vindu)eller Android-enhet medWake On Lan(Åpnes i nytt vindu). Disse appene lar deg skanne nettverket ditt for enheter eller manuelt angi IP- og MAC-adressen til datamaskinen du vil vekke.
Hvis alt går bra, bør datamaskinen våkne rett når du trykker på vekkeknappen. Hvis ikke, sjekk BIOS-innstillingene, Windows-innstillingene og konfigurasjonen av Wake-on-LAN-appen for å sikre at alt er riktig innstilt for din spesifikke maskinvare.
Hvis du vil vekke datamaskinen raskt uten å skanne hver gang, er det sannsynligvis en god idé å gjøre detangi en statisk IP-adressefor datamaskinen på ruteren, så den endres ikke.
Ute av huset? Bruk Wake-on-WAN
Hvis du bare prøver å vekke datamaskinen fra den andre siden av huset, kan du stoppe her – du er ferdig! Men det er tider hvor du kanskje vil vekke datamaskinen når du er borte fra hjemmet, for eksempel når du er på ferie eller jobber på en kaffebar. Dette er kjent som Wake-on-WAN, og det er mye mer komplekst.
Den generelle ideen fungerer slik: I stedet for å sende den magiske pakken til datamaskinens interne IP-adresse, sender du den til ruterens eksterne IP-adresse – den som vises påwhatismyipadress.com(Åpnes i nytt vindu). Du bruker deretter portviderekobling på ruteren for å videresende den magiske pakken til riktig datamaskin.
Anbefalt av våre redaktører
Slik bruker du Microsofts tilkobling til eksternt skrivebord
Hvordan kontrollere batteribruken i Windows
Kobler enheter til feil nettverk? Hvordan endre Wi-Fi-prioritet
Dessverre var Wake-on-LAN egentlig ikke ment å brukes på denne måten, så det er ingen enkel måte å få det til å fungere. Det avhenger sterkt av nettverksoppsettet ditt. Men hvis du kanfå tilgang til ruterens konfigurasjonsside, det er et par ting du kan prøve.
Gå til portvideresendingsdelen av ruteren din - hvis du ikke finner den,portforward.com(Åpnes i nytt vindu)kan hjelpe – og videresende Wake-on-LAN-porten til hjemmenettverkets kringkastingsadresse. Porten er vanligvis port 7 eller 9, og kringkastingsadressen er vanligvis noe sånt som 192.168.1.255 – i utgangspunktet ruterens IP-adresse med ".255" som den siste oktetten.
Det vil kringkaste den magiske pakken til hele nettverket, hvor den blir akseptert av MAC-adressen du har spesifisert. Dessverre tillater de fleste rutere videresendingsporter til kringkastingsadressen, så det er en god sjanse for at dette ikke vil fungere, men det er verdt et forsøk. Hvis ruteren din ikke tillater det, finnes det noen løsninger.
Du kan for eksempel prøve å deaktivere JavaScript på ruterkonfigurasjonssiden slik at du kan skrive inn kringkastingsadressen i portvideresendingsboksen. Du kan også endre nettverksmasken for å opprette en ny kringkastingsadresse. Les litt mer om disse løsningene pådenne siden(Åpnes i nytt vindu).
Hvis du har en ruter med mer avansert konfigurasjon, for eksempel enkjører DD-WRT-fastvaren(Åpnes i nytt vindu), kan du bruke en kombinasjon av portvideresending og ARP-tabeller for å lure ruteren din til å videresende porten til kringkastingsadressen. DetteDD-WRT wiki(Åpnes i nytt vindu)beskriver det mer detaljert.
Wake-on-WAN-alternativ: En datamaskin som alltid er på
Du kan se hvordan Wake-on-WAN blir litt vanskelig. Jeg foretrekker en enklere løsning: En datamaskin som alltid er på i nettverket som jeg kan fjernstyre og sende magiske pakker rundt i huset.
Jeg har en hjemmeserver kjørendeWindows 10, og den er på 24/7. Så når jeg er borte hjemmefra bruker jeg bareChrome Eksternt skrivebord(Åpnes i nytt vindu)for å fjerne inn i den alltid-på-PCen, bruk WakeMeOnLan til å sende en magisk pakke fra den maskinen til arbeidsstasjonen min, og fjern deretter til arbeidsstasjonen min når den er våken. Det er en liten rundkjøring, men det fungerer.
Det beste av alt er at du kan bruke denne løsningen med hvilken som helst maskinvare du allerede har. Har du en gammel bærbar datamaskin som samler støv? Stikk den i hjørnet, sett den tilkjør med lokket lukketog få tilgang til den med dineksternt skrivebordsprogramav valg.
MisteNAS-enhetløper til enhver tid, eller til og med enRaspberry Pi?SSH inn i den og bruk kommandolinjen(Åpnes i nytt vindu)å sende den magiske pakken. Så lenge selve den magiske pakken kommer fra innsiden av nettverket, bør Wake-on-LAN fungere uten for mye stress.
Liker du det du leser?
Melde seg påTips og triksnyhetsbrev for ekspertråd for å få mest mulig ut av teknologien din.
Dette nyhetsbrevet kan inneholde reklame, avtaler eller tilknyttede lenker. Å abonnere på et nyhetsbrev indikerer ditt samtykke til vårVilkår for brukogPersonvernerklæring. Du kan når som helst melde deg av nyhetsbrevene.
Takk for at du registrerte deg!
Abonnementet ditt er bekreftet. Hold øye med innboksen din!
Meld deg på andre nyhetsbrev
FAQs
How to wake up on LAN command prompt? ›
- Start the System that you want to wake up. ...
- Type in ipconfig /all and press Enter.
- Note the physical address of your LAN-Adapter. ...
- Shut down your computer again, or send it into standby.
- On another System in your Network, download and open your Wake on LAN Tool.
In Windows device manager, go to “Network adapters” -> "Power Management” tab, and checked in the boxes [Allow this device to wake the computer].
How do I enable Windows Wake-on-LAN? ›Open the start menu and type "Device Manager" and open the device manager. Expand "Network Adapters" and right-click your network adapter (typically Intel) and select Properties. Click the "Power" or "Power Management" tab and make sure WOL is enabled. Click OK to save.
Does my motherboard support Wake-on-LAN? ›Wake-on-LAN is dependent on two things: your motherboard and your network card. Your motherboard must be hooked up to an ATX-compatible power supply, as most computers in the past decade or so are. Your Ethernet or wireless card must also support this functionality.
Does Wake-on-LAN turn a computer on? ›Overview. Wake-on-LAN (WOL) allows a computer to be powered on or awakened from standby, hibernate or shutdown from another device on a network.
Does Wake-on-LAN work over WIFI? ›The computer must have an Internet connection and be plugged in to power for WoL to work. Wake-on-LAN can be configured to use Ethernet or Wireless.
Does Wake-on-LAN only work in sleep mode? ›The WOL function isn't just for when the computer is in Sleep mode. Q3: Does Wake-on-LAN only work over WiFi? For Wake-on-LAN to work, the computer must have an Internet connection and be plugged into power.
Why is moonlight Wake-on-LAN not working? ›If you're connected to the same network as your host, it is usually possible to wake your PC with Moonlight. If it's not working, check your NIC driver and BIOS settings to ensure Wake-on-LAN is enabled. If you're streaming from outside your home network, it is not always possible to wake your PC.
How do I enable Wake-on-LAN in Lenovo BIOS? ›- Select UEFI Setup -> System Settings -> Network.
- Under the Network Device List, select a NIC device from the Network Device List.
- Witnin the NIC Configuration options select Wake On LAN: Enable.
One cause may be that the network environment generates wake-up patterns too frequently. In this situation, we strongly recommend that you configure the computer to wake only in response to Magic Packets. Magic Packets are especially designed to wake up a computer from a power-saving state.
What is the magic packet in Wake-on-LAN? ›
The magic packet is a frame that is most often sent as a broadcast and that contains anywhere within its payload 6 bytes of all 255 (FF FF FF FF FF FF in hexadecimal), followed by sixteen repetitions of the target computer's 48-bit MAC address, for a total of 102 bytes.
How do I know if Wake-on-LAN is enabled in BIOS? ›To enable WOL in BIOS settings, Switch on the computer and press ESC, F1, F2, F8 or F10 during the initial startup. Depending on the BIOS manufacturer, a menu would appear. Go to the 'Power' tab and enable 'Wake Up On LAN'.
Will Wake-on-LAN work after power outage? ›To enable Wake-on-LAN, the system must be powered on and then shut down normally after first connecting AC power. If power is lost at any point, the system must be manually powered on and then back off again.
Is Wake-on-LAN port 7 or 9? ›Wake-on-LAN uses UDP port 9 by default, to send WOL messages. This port is available for use on most Windows computers.
Does Wake-on-LAN work over Ethernet? ›Pretty much any modern Ethernet adapter will support Wake-on-LAN, but wireless adapters rarely do. This means the device sending the magic packet can be on Wi-Fi, but the one receiving it will likely need to be plugged in via Ethernet for this to work.
How do I wake up my computer from sleeping remotely? ›- Assign your computer a static IP.
- Configure port forwarding in your router to pass Port 9 to your PC's new static IP.
- Turn on WOL (Wake on LAN) in your PC's BIOS.
- Configure your network adapter's power settings in Windows to allow it to wake the PC.
The Wake on LAN feature lets you wake the system up from sleep or hibernate mode through the network. This article describes how to enable the Wake on LAN feature for ASUS laptop or All-in-One PC. Note: The Wake on LAN feature is available depending on the computer model.
Can Windows 10 Wake-on-LAN? ›Summary. The Wake on LAN (WOL) feature wakes a computer from a low-power state when a network adapter detects a WOL event. Typically, such an event is a specially constructed Ethernet packet. The default behavior in response to WOL events has changed from Windows 7 to Windows 10.
Can I use both WiFi and LAN at the same time? ›It is very much possible to be connected to both WiFi and Ethernet at the same time, but this type of configuration can only be achieved if the client device (a computer, a smartphone, a smart bulb) has installed more than one network adapters.
Does LAN require WiFi? ›LANs almost always use Ethernet, WiFi, or both in order to connect devices within the network. Ethernet is a protocol for physical network connections that requires the use of Ethernet cables.
Why does Wake-on-LAN never work? ›
WOL does not work when the system is running on battery. This is by design. Confirm that the link light remains on when the system is powered off. If there is no link light, then there is no way for the NIC to receive the magic packet to wake the system.
What are the benefits of Wake-on-LAN? ›WoL is a versatile technique that allows otherwise active computers to be deactivated when not required. Effective use of WoL allows system administrators or users to turn computers on remotely. This is commonly used for patch management, remote support and remote access.
What is the difference between Wake-on-LAN and Wake on WAN? ›Wake on LAN, or WOL, is the ability to send a signal over a local area network (LAN) to power up a PC. Wake on WAN is the ability to send that same signal over a wide area network (WAN), such as the Internet, to trigger power-up of a PC on a private LAN.
Does Wake-on-LAN work with password? ›After the agent broadcasts the WOL signal, the network card wakes up the computer only if the specified password is correct. The password is not encrypted on the scheduling manager. This attribute is optional for the Wake on LAN (WOL) job type.
Why is the LAN light not flashing? ›If there are no lights or they're orange or red, the card may be bad, not connected properly, or may not be receiving a signal from the network. If you're on a small network and can check the hub, switch, or router, verify the cables are connected correctly, and it has power.
How do I wake my computer with Wake-on-LAN magic packets? ›- Open the Device Manager.
- Expand Network Adapters.
- Right-click on your network adapter and select Properties.
- Navigate to Power or Power Management.
- Enable Allow this device to wake the computer and Only allow a magic packet to wake the computer (or equivalent).
The difference between Primary and Automatic is which Startup Sequence it will use when you wake it via LAN. As you can see in the following screenshot, these are the options Wake on LAN option will choose from depending on what you select.
How to enable onboard LAN in BIOS? ›...
What to Do If an Intel® NUC's Local Area Network (LAN) Port Is Not Working
- Reboot the system.
- Use Windows Network Troubleshooter.
- Re-seat ethernet cable.
...
Solution
- Press F1 or F12 at ThinkPad logo during bootup to enter BIOS.
- Enter BIOS -> Config -> Power -> Power on with AC attached.
- If Power on with AC attached is enabled, disable the setting.
Power surges or power drops occurring when a machine is powered by its power adapter are more harmful to a sleeping computer than to one completely shut down. The heat produced by a sleeping machine exposes all components to higher heat more of the time. Computers left on all the time may have a shorter life.
What is the difference between Magic Packet and WOL? ›
Wake-On-LAN (WOL) is usually sent to a client computer connected to the same LAN in the form of magic packets. A magic packet is a standard wake up frame that targets a specific interconnection between a computer and a public or private network.
What is the difference between Wake on Magic Packet and Wake on Pattern Match? ›“Wake On LAN” makes the system wake on the “magic packet.” The “Wake on pattern match” option instead checks for packets that matches the operating-system-specified patterns; for example, an ARP request for the computer's address, or a TCP connection attempt.
How do I turn off magic packets? ›Click on Configure. Click on the Advanced tab. Click on Wake on Magic Packet. Select Enabled or Disabled.
How do I allow magic packets through my router? ›Go to Device Manager( in System) -> Select your network adapter and click right button -> Select Properties -> Click Allow this device to wake the computer and Only allow a magic packet to wake the computer.
How to Wake-on-LAN Windows 10 without magic packet? ›Enabling Wake on LAN on Windows 10
Press Windows key + X to bring up the hidden quick access menu and select Device Manager. Expand Network adapters in the device tree, select your Ethernet adapter, right-click it, and select Properties. Then select the Power Management tab and check off all three boxes shown below.
In Network View, right-click the agent that has Wake On Lan Monitor running on it, and select Wake Up > Wake Up On LAN. This will broadcast the Magic Packet across the network, which has Agent information to identify that the Magic Packet is only intended to be acknowledged by the designated Agent.
What does Wake-on-LAN mean on TV? ›WOL (Wake on LAN) helps you remotely turn on TVs over the internet. Connect TVs and a PC in the same network, and send Magic Packet programs to the MAC addresses of registered TVs. Then, it will wake up the TVs via LAN port.
Does LAN cable work without electricity? ›Let's look at the affected technology: Internet delivered via cable or fiber should, in most cases, be available, because even if your internet service provider (ISP) suffers a power outage, they have backup generators. Other technology along the line is usually — but not always — backed-up by batteries.
What are the security risks of Wake-on-LAN? ›Security threats: The wake on LAN Magic packets are transmitted to the target device by the Wake on LAN tool, through the data link layer. Without required security measures in place, the Wake-on-LAN trigger packets can be manipulated by any attacker or rogue device in the same network.
Does LAN interrupt WiFi? ›If you're asking whether using Ethernet for multiple client connections will affect WiFi in the sense that it could create interference, limit the signal output or simply cut the available range, then the answer is no. It does not have such type of impact on the WiFi.
How do I know if Wake-on-LAN is enabled Linux? ›
Activating Wake-on-LAN
This capability can be checked with the help of the "ethtool" utility for the respective network card (eth0 in this example). The supported WOL modes can be seen on the report under "Supports Wake-on". The modes that were active at the moment when the utility was run can be seen under "Wake-on".
Restarting a computer using the command line
Open Command Prompt from the Start menu. Type 'shutdown /i' in the Command Prompt window and then press ↵ Enter. A window will open with the option to restart the remote computer.
Open a command prompt as an administrator: one way is to enter cmd in the search bar and right-click on the found command line, select “Run as administrator“. Type netsh interface show interface and press Enter. Remember the interface name of the network adapter you want to disable or enable.
How do I wake my computer from sleep mode? ›To wake up a computer or the monitor from sleep, standby, or hibernate, move the mouse or press any key on the keyboard. If this does not work, press the power button to wake up the computer. NOTE: Monitors will wake up from sleep mode as soon as they detect a video signal from the computer.
Can you remotely access a computer that is turned off? ›How to remotely access a computer that is turned off. Therefore, the process of remotely accessing a computer that is turned off can be divided into two parts. First, you need to set up Wake-on-LAN to turn on your computer remotely. Second, you can choose a remote access tool to remotely access the computer.
How do I take over someone else's computer screen? ›Use Remote Desktop to connect to the PC you set up: On your local Windows PC: In the search box on the taskbar, type Remote Desktop Connection, and then select Remote Desktop Connection. In Remote Desktop Connection, type the name of the PC you want to connect to (from Step 1), and then select Connect.
How do I Restart Remote Desktop Connection? ›Use the Restart Desktop command. Select Options > Restart Desktop from the menu bar. Right-click the remote desktop icon and select Restart Desktop.
How to see devices connected to my network using cmd? ›Type CMD in the search box and click Run as Administrator from the menu. Enter the net view command to view devices connected to your network You will then see a list of devices connected to your network in the output.
What is the command to see all devices on a network? ›Type the command "arp -a" to view the list of all IP addresses connected to your network. This will also display the MAC address and the allocation type (static and dynamic) of all your network devices. Type "nslookup" followed by any IP address obtained through the "arp" command in the previous step.
How do I activate Windows 11 without Internet? ›On the “Oops, you've lost internet connection” or “Let's connect you to a network” page, use the “Shift + F10” keyboard shortcut. In Command Prompt, type the OOBE\BYPASSNRO command to bypass network requirements on Windows 11 and press Enter.
How do I see network connections? ›
Select the Start button, then type settings. Select Settings > Network & internet. The status of your network connection will appear at the top.
Why is my computer hibernating by itself? ›Your CPU is getting too hot
But laptop fans aren't very powerful, and it's easy to obstruct the air vents. This means that while gaming, your laptop's CPU will get hotter than a normal PC's will. And if your CPU gets too hot, it'll force your computer to hibernate in order to protect itself from damage.
Sleep uses very little power, your PC starts up faster, and you're instantly back to where you left off. You don't have to worry that you'll lose your work because of your battery draining because Windows automatically saves all your work and turns off the PC if the battery is too low.
Why wont my Lenovo laptop wake up when I go to sleep? ›2 Answers. Check the fast startup setting in Control Panel > Power Options and if enabled, disable it and check if doing this resolves the problem. When in the Power Options window, click on Choose what the Power buttons do, then click on Change settings that are currently unavailable.