Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [wakeonlan]

Wake On LAN (WOL) is a facility for powering on a computer by sending a specially-crafted packet to one of its network cards.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

How to use Wake-on-LAN if system is in shutdown mode with connected LAN

I've tried to the configuration i.e., Wake-on-LAN for sleep, but this option is failed for S5 (ACPI soft-off). Can anyone suggest? how to enable Wake-on-LAN so system can boot from S5.
ABHISHEK KUMAR's user avatar
1 vote
0 answers
464 views

Wake On Lan not working (Ubuntu Server 22.04.3 LTS)

I've been trying to get WoL working on my Ubuntu Server, but have had no luck. Steps taken so far: Enabled WoL as directed by the mobo manufacturer in my BIOS and later disabled fast boot (just in an ...
titan's user avatar
  • 11
1 vote
1 answer
296 views

Wol.service not starting successfully

I spent hours trying to get my Ubuntu 22.04 works in the WOL configuration. I've done the following: Ensuring every reboot the ethtool will show the enp7s0 interface flagged as "g" create a ...
Hifi Paradis's user avatar
2 votes
0 answers
200 views

Wake on RTC alarm (or on LAN, etc) on Mac hardware

I have successfully installed Ubuntu 18.04 on an iMac and it works great, but now I need to set it up to turn on itself automatically at a certain time every day. As far as I can understand, there is ...
Angus73's user avatar
  • 65
2 votes
1 answer
375 views

Spurious wake after suspend

I'm running Ubuntu 22.10 and have a problem that my machine does not want to stay suspended. It wakes up usually withing half hour of being put into suspend. Syslog clearly indicates that it's ...
user2056213's user avatar
0 votes
0 answers
246 views

NIC down after wakeonlan

I've setup wakeonlan on an Ubuntu 22.04 machine using iw, following this tutorial: $ sudo iw phy0 wowlan enable magic-packet disconnect I then control the machine over ssh with wakeonlan <MAC> ...
maousi's user avatar
  • 1
0 votes
0 answers
361 views

How to automate a Wake On Lan command in GRUB2 boot

I have 3 computers in my home installation, one (call it FREEBNT) is my server, with Ubuntu server 22.04.1 LTS, acting mainly as a NAS server. Other (call it XAUDIOSERVER) is a Ubuntu Desktop with ...
Free's user avatar
  • 41
0 votes
0 answers
199 views

Wake server during suspend (No Wake On Lan / Advanced bios settings)

I have an HP Compaq Presario CQ62-242SF on ubuntu 20.04 server and I want to enable wake on lan. I want to suspend it during inactivity and wake it up if a port is used WakeOnLan So the first ...
Tristan H's user avatar
1 vote
1 answer
479 views

22.04 Server automatically reboots after sudo shutdown -P now or with sudo power off instruction

I am currently using 22.04 Server on a NUC 10i7FN. It was working for months without issues. Since the last update neither power off or shutdown commands are working as expected. The system shut downs ...
Fred L.'s user avatar
  • 19
0 votes
0 answers
2k views

Ethtool Wake-on Lan is disabled after reboot

I followed this guide to enable wake on lan on my Ubuntu Server 22.04 installation. I even put iface eno1 inet static address 192.168.1.5 up ethtool -s eno1 wol g to /etc/network. No matter ...
Lukas's user avatar
  • 163
1 vote
3 answers
4k views

Wake-on-LAN broken after 22.04 update

I've recently updated one of my machines from Ubuntu 21.10 to 22.04 without any major issues. However, it seems like my Wake-on-LAN configuration has broken down somehow. WoL is enabled at the BIOS/...
Xaldew's user avatar
  • 113
1 vote
1 answer
819 views

Ubuntu 20.04.4 LTS - Wake on LAN not working - PC Powering on but not booting into OS

I have a raspberry pi that I'm using to power on my old HP PC (HP Compaq 8200 Elite SFF) I have enabled Wake on LAN the ethernet interface of my PC by following instructions in https://linuxtut.com/en/...
akay0402's user avatar
1 vote
0 answers
622 views

Wake On Lan UBUNTU 18.04 - DELL OptiPlex

How to enable Wake on Lan on Ubuntu 18.04 LTS? I tried what's in this question: How to enable Wake On Lan (WOL) in Ubuntu 16.04 But it did'nt work. Thanks in advance... Edit: Optiplex model is 5050
Raul Chiarella's user avatar
2 votes
4 answers
5k views

How to automatically enable Wake-on-LAN for a network interface on Ubuntu 20.04?

Ubuntu's networking stack is constantly evolving and most previous information on enabling Wake-on-LAN for an interface is outdated (like the Ubuntu wiki). Now that Ubuntu uses Netplan instead of /etc/...
rgov's user avatar
  • 419
0 votes
1 answer
2k views

MAC address mysteriously changed

I have a computer used for backups that does a wake-on-lan to run backups and then turns off. This morning something happened that caused the MAC address to change. While I know the MAC address can ...
A. Que's user avatar
  • 111
1 vote
1 answer
476 views

Is there a similar solution to get WOL to work on Ubuntu 20.04

I have an HP EliteBook and am trying to enable Wake-on-Lan but I was not able to get it to work. The BIOS doesn't have a WOL setting. I did some searching and found this link: https://support.hp.com/...
chribonn's user avatar
  • 291
0 votes
0 answers
125 views

Wake On LAN only works when shutting down as root

When running systemctl poweroff WOL does not work. Same for systemctl suspend, systemctl hibernate, etc. Running sudo systemctl poweroff etc. results in WOL working properly. Also after stopping the ...
user38's user avatar
  • 1
1 vote
0 answers
682 views

Wake On LAN works after Linux shutdown but not Windows

My PC has dual boot Ubuntu and Windows 10, installed on separate hard drive. Some background details: when the PC power on, it goes to the grub menu, and default on Ubuntu. Each time I want to use the ...
Fifi's user avatar
  • 11
0 votes
0 answers
241 views

Wake on lan on raspberry pi 4 with ubuntu server 20.04

I am making a media server on my raspberry pi 4 but I don't have any cooling case for it yet, so I decided to turn it on when I need it and off when I don't,in order to prevent overheating. But my ...
scaryboy806's user avatar
0 votes
1 answer
397 views

Wake on Lan: Router Problem

I'm trying to get wake on lan to work. Everything is configured as needed and it works if I switch of my computer and wake it within a few minutes. As far as I understand the problem it is a router ...
dkkkkful's user avatar
1 vote
0 answers
307 views

WoL while laptop lid is closed

Hope you can help me with this problem. Namely, I have an old Asus laptop that I use as my home server. It's runnung Ubuntu Server LTS 20.04. I'm able to suspend it and wake it up by using $systemctl ...
larryyy's user avatar
  • 11
0 votes
0 answers
1k views

Wake On Lan not working in Ubuntu 20.04

I'm trying to set up wol on a laptop connected to a tp-link adapter by an ethernet cable. The PC that sends the magic packet is also connected to this adapter. I've already followed this to enable wol ...
Nico Nico Pizza's user avatar
0 votes
0 answers
583 views

Xubuntu: WOL does not work when shutdown -h, but works when suspended or hibernated

I was trying to get to work Wake on lan on my computer thru ethernet. I got to the point where I have WOL enabled, netplan set so that ethtool <nic>/Wake-on is always set to g. In BIOS I have ...
Tomáš Rompotl's user avatar
1 vote
1 answer
830 views

wakeonlan with Ubuntu 20.10 stopped working

I was using succesfully for weeks this wake on lan script https://www.techrepublic.com/article/how-to-enable-wake-on-lan-in-ubuntu-server-18-04/ with Ubuntu 20.10. Since a couple of days, the WOL ...
ferdymercury's user avatar
5 votes
3 answers
11k views

Wake on lan with suspend - Ubuntu server 20.04

I'm using an Ubuntu server 20.04 and I've set up the wake on lan. Everything is working fine when I shutdown the computer, I can wake it. But when I suspend it : impossible to wake it by the lan. Have ...
Benoit Bonavia's user avatar
1 vote
1 answer
117 views

WakeOn-LAN automated script

How would I go about having a desktop shortcut to run a script that sends a WakeOn-LAN packet with the same settings as this graphical online version? I'm using Ubuntu 18.04 https://www.depicus.com/...
Viktor hj's user avatar
1 vote
0 answers
1k views

Wake from suspend on network activity - not WOL magic packet

Using Ubuntu Server 20.04 LTS Can I suspend this machine based on no network activity for a period of time and then wake from suspend mode when network activity (ping?) is received? The hardware ...
NickC's user avatar
  • 111
1 vote
1 answer
1k views

Ubuntu 20.04 - Wake on lan does not work on a bridged interface

I am using Ubuntu 20.04 Server. Using a basic DHCP setup, I was able to use WOL with no issues. I had to build a service to ensure ethtool -s enp1s0 g stuck after a reboot. WOL worked great. Now I ...
Jeffrey Young's user avatar
1 vote
2 answers
2k views

How to make wake on lan work in Ubuntu 18.04 Kernel 5.4.0-58-generic? RTL8111/8168/8411 driver r8169

The Wake-on-LAN works in Windows 10 both after sleep mode and after shutting down but it does not work in Ubuntu 18.04 Kernel 5.4.0-58-generic RTL8111/8168/8411. My ethernet card is RTL8111/8168/8411 ...
thosecars82's user avatar
0 votes
1 answer
1k views

Wakeonlan only works 5 seconds after shutdown

Any help would be appreciated, I had WOL working on my previous sytem and really would like it to function again. I'm using Kubuntu 20.04 LTS. I viewed other threads with no solution applied to me ...
yusisushi's user avatar
  • 148
1 vote
1 answer
4k views

Wake On Lan not working on AsRock motherboard

I'm trying to get Wake On Lan to work on my Ubuntu server (16.04.7 LTS). I have an AsRock G31M-GS I have set WoL on my BIOS I have enabled WoL (method g) on eth0 I have added a script so that eth0 ...
andrea56's user avatar
  • 121
1 vote
0 answers
810 views

Wake On Lan issues on Ubuntu 20.04 including some sort of shutdown crash after wake on lan

I just upgraded my NAS server from 18.04 to 20.04 (Clean install, wiped the old drive completely) and now I am having issues with Wake on Lan, and even rolling back to 18.04 won't fix the issue. My ...
user493545's user avatar
1 vote
0 answers
637 views

Can't get computer to Wake On LAN

I'm trying to setup my desktop (which is running 20.04) for WOL. I tried following this guide, this guide, a bunch of other help questions, and even the Arch wiki. Wake On LAN is definitely enabled in ...
Micah Rufsvold's user avatar
1 vote
2 answers
382 views

An `ethtool` and `wakeonlan` all-in-one package?

I've just setup my old laptop to wake up / power on / resume from suspend controlled by my primary laptop. In the process I had to install two different packages: sudo apt install ethtool sudo apt ...
WinEunuuchs2Unix's user avatar
9 votes
5 answers
25k views

Trouble with wakeonlan with Ubuntu 20.04

I've followed the instructions on https://help.ubuntu.com/community/WakeOnLan but i'm having difficulty getting it working. My BIOS is enabled for wake on lan and i've been able to do it using windows ...
cordgun's user avatar
  • 91
0 votes
1 answer
2k views

Issues with Wake on LAN using Ubuntu 18.04

I have two machines, both running Ubuntu 18.04. My objective to to have WOL working on both machines. On one machine (PC1) I have WOL working perfectly, however I cannot get WOL working on the other ...
Andrew Bond's user avatar
1 vote
2 answers
3k views

WOL ethtool systemd service not starting

I want to enable WOL, I have it enabled in BIOS and understand I need to configure a systemd service to re-enable the setting on boot. interface is enp3s0 (yes I checked), and script has 775 ...
yusisushi's user avatar
  • 148
1 vote
0 answers
49 views

Use ethernet for wake on lan and use wifi after turned on?

I would like to turn on my computer using wake-on-lan using the wired ethernet port. Once the computer is turned on, I would like it to only use the configured wifi connection. Is this possible, and ...
Enterprise's user avatar
  • 12.5k
0 votes
1 answer
3k views

Error on Multiboot (Windows 10 + Lubuntu 19): "Failed to boot both default and fallback entries"

I made multiboot Lubuntu 19.10 and Windows 10 setup recently (it was Windows-only before). Then I made Windows the default OS (using Grub Customizer in Lubuntu). Now when I use the power button to ...
spcsLrg's user avatar
  • 121
-2 votes
1 answer
9k views

Wake on LAN the Raspberry Pi 4B [closed]

I ask here although there is a good thread because I don't want a facebooq or googre account. I'd like to understand how I could wake a Pi after shutdown/halt/power-off. Querying the embedded ...
useful's user avatar
  • 1,844
1 vote
0 answers
85 views

Ubuntu starting on 0% battery every time

I had shut down my system with 100% battery, when I switched it on, it was on 0% battery. I have Ubuntu 19.04. This issue was also on Ubuntu 18. I found that it was due to Wake-On-LAN. I disabled it ...
Nikhil Kaushal's user avatar
1 vote
0 answers
748 views

Intel NUC NUC5i3RYH WOL problems

An Intel NUC NUC5i3RYH runs Ubuntu Server 18.04.3; it won't reliably wake-on-lan. About every 3rd or 4th resume from sleep, Ubuntu fails to re-establish the network. Here are entries from journalctl ...
gharris999's user avatar
3 votes
0 answers
3k views

How can I use Wake-On-Lan on a server in a home network from anywhere on the Internet?

I have a PC running Ubuntu Server 18.04.3 LTS and a laptop running Ubuntu Desktop 18.04.3 LTS. Both are correctly configured to allow the client (laptop) to connect to the server (PC) via SSH on LAN/...
user avatar
4 votes
3 answers
5k views

Ubuntu 18.04 restarting by itself after shutdown

I know there are already plenty questions here related to this one, but I can't find an answer which solves my problem. I've installed a fresh Ubuntu 18.04 on a Dell Optiplex 9020 SFF. And now I'm ...
quentin's user avatar
  • 41
0 votes
1 answer
250 views

Powernap fails to start

I want to shut down or suspend my little home server after a while and wake it when a magic packet comes so I've installed powernap to suspend my server. But when trying to start powernap service with ...
Ax34's user avatar
  • 1
1 vote
0 answers
334 views

Wake on LAN stopped working 19.04

Wake-on-LAN was working in 19.04 just fine, then I left my computer on full time for a few weeks, now WOL no longer works to wake up my desktop from suspend mode. The sudo ethtool enp2s0 |grep Wake ...
Peter Eliopoulos's user avatar
0 votes
0 answers
708 views

Suspend mode - power light not blinking/flashing any more - Ubuntu 19.04

Up until a few weeks ago, when I entered Suspend mode (pressing power button, selecting it from the power button dropdown or automatic suspension), the power button on my tower would do a slow blink (...
Peter Eliopoulos's user avatar
5 votes
0 answers
2k views

Wake on WLAN (WoWLAN) only works from freeze

I set up Wake on WLAN for my PCIe wireless card with the command sudo iw phy0 wowlan enable magic-packet disconnect. This also runs on every boot. Confirming that it is indeed enabled with sudo iw ...
Matt Hough's user avatar
1 vote
2 answers
4k views

wakeonlan and/or etherwake WITHOUT sudo?

I'm trying to use wakeonlan to send a magic packet. However, It only works if I use sudo: sudo wakeonlan xx:xx:xx:xx:xx:xx When I don't use sudo the output says the magic packet has sent, but the ...
jsmith123's user avatar
2 votes
0 answers
960 views

Wake on LAN (WOL) on Mac Pro 3,1 WITHOUT MacOS

I've been re-purposing my Mac Pro 3,1 (2008) to be a server using docker and Ubuntu Server 18.04.2. I'm trying to get wake on lan to work, as this is a really power-hungry machine and I would rather ...
jsmith123's user avatar