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.

Wake-on-LAN (WOL) is an Ethernet computer networking standard that allows a computer to be turned on or woken up by a network message.

128 questions
35
votes
8 answers

How to enable Wake On Lan (WOL) in Ubuntu 16.04

How to enable Wake On Lan (WOL) in Ubuntu 16.04 LTS?
nkef
  • 1,151
  • 1
  • 10
  • 15
15
votes
5 answers

How can I enable wake-on-lan permanently?

I want to enable wake-on-lan for my network cards, for always. The community guide recommends adding the relevant command to /etc/network/interfaces. In past experiences editing Ubuntu conf files, it's extremely likely that the network interface…
djeikyb
  • 32,005
9
votes
6 answers

Power Management - Sleep / Wake up Server when accessed

I have a headless HP Proliant Microserver with ubuntu installed. This machine has samba shares on it serving media and I usually rdp or ssh into it. Now my issue is I want the machine to go into sleep mode(so the state is saved from ram to the…
KP65
  • 191
9
votes
2 answers

Wake-on-LAN quit working with latest kernel (Bionic)

WOL was working great on Bionic until yesterday's kernel update. How to diagnose/recover it? Edit: if set to boot from 4.15.0-23 kernel it works. If set to boot from 4.15.0-24 it does not. Edit2: WoL can be enabled with sudo ethtool -s [card] wol…
8
votes
2 answers

Wake On Lan not working

I have been trying to get Wake On Lan to work on my Ubuntu server (14.04.1 LTS), which I have configured as a home NAS box. I have followed several tutorials to try to get this working, but for some reason, which I can't trace, it is not…
Codemwnci
  • 1,259
8
votes
3 answers

How could I shutdown a remote host, in my network thru ssh, with a local host?

The question is simple. What would be the script I would have to use to shut down a computer in my network thru ssh. Normaly i would go to command line and: ssh desktop delik@desktop's password: delik@desktop:~$ sudo shutdown -P 0 To power on I…
DeLiK
  • 352
  • 3
  • 4
  • 16
8
votes
5 answers

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 hibernate/sleep with the same NIC.
cordgun
  • 89
7
votes
2 answers

Wake-on-lan under Ubuntu 12.04

I would like to setup the wake-on-lan, the two PCs are connected through a switch. Here is the configuration of the eth0, in the BIOS I couldn't find any information regarding the wake-on-lan. Supported ports: [ TP MII ] Supported link modes: …
Mokus
  • 4,592
7
votes
4 answers

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 anyone ever had this issue ? If someone have a…
Benoit Bonavia
  • 69
  • 1
  • 1
  • 4
7
votes
4 answers

Wake on LAN not working if I turn off with ubuntu

I'm dual-booting Ubuntu 18.04 and Windows 10. If I turn off my computer with Windows, I can turn it back on using WOL. However, if I turn it off using Ubuntu the computer won't turn back on if I use WOL. Is there a way of fixing this? Following…
Ignacio
  • 817
6
votes
2 answers

How to wake my PC with any packet, not just a magic packet?

Currently, I can wake my PC by sending a magic packet from another device on the LAN. However, the PC will not power on when I send the packet from outside the network (WAN), even though I have my router instructed to forward UDP traffic on port 9…
Nathan Osman
  • 32,495
6
votes
3 answers

On shutdown, computer reboots when started via wake on lan

Here's the situation: I start my main computer from another pc via wake on lan "wakeonlan ". All works fine. When I'm done doing what I did, I run "sudo shutdown -h now" (in the ssh terminal in which I was working) to shutdown the computer. But…
patsee
  • 143
5
votes
1 answer

Wake-on-LAN worked 3 times then no more

Update: My main theories for now are (see below for details): Ubuntu system shuts down NIC power in standby mode? Realtek RTL8111 driver for 64-bit machines does not work? Can anyone confirm or deny? I installed Ubuntu 12.04 a few days ago and…
5
votes
0 answers

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 phy0 wowlan show returns the below. WoWLAN is…
4
votes
1 answer

How do I enable Wake on LAN with Ubuntu?

I have already enabled everything in BIOS, so the problem, I believe, is with Ubuntu. I tried using the steps here but I had the following problems: There was no tlp file in /etc/default/, however I tried creating "tlp" and adding the code…
1
2 3
8 9