Questions tagged [wake-on-lan]

67 questions
31
votes
6 answers

Can one ping a NIC by MAC

I have an NIC card on a Debian machine somewhere. The machine is turned off, but I need to know whether the NIC card is turned on so that I can send a wake-on-lan magic packet later (from another Debian machine) to wake it up. I have the MAC address…
FirstName LastName
  • 555
  • 1
  • 5
  • 12
20
votes
8 answers

Faster way than ping for checking if computer online?

I'm writing a wake on lan script for a set of our lab computers. We have sqlite db with a list of the computer hostnames, IPs, and MACs and currently I ping each of them with '-c1' so it doesn't run endlessly - but even that takes some waiting, is…
Jon Phenow
  • 501
  • 3
  • 7
  • 14
18
votes
1 answer

Wake-on-LAN via SSH

I have been using Wake-on-LAN successfully for many years now for a number of my Linux devices. It works well enough. However, I also have a Mac Mini at home. I have noticed that it goes to sleep and has two distinct properties separate from any…
Mark
  • 725
  • 1
  • 5
  • 13
10
votes
2 answers

How to power off a system but still keep it available on the network

I'm looking into installing a file server on my network, for serving data and backups. I want this machine to be available at all times, but I would rather not keep it on all the time (as to conserve power). Is it possible to set things up so that…
Ruben Vermeersch
  • 373
  • 1
  • 4
  • 8
9
votes
2 answers

Battery drains while powered off after upgrade to kernel 4.13

After upgrading to kernel 4.13, the battery of my laptop started to drain while powered off (about 30% in one day). This didn't happen if I booted the laptop from kernel 4.12 or Windows 8.1, so the problem is clearly related to the new kernel…
Henri
  • 91
  • 1
8
votes
5 answers

Transform a UDP unicast packet into a broadcast?

We need to wake-up some computers on our internal LAN, from the Internet. We have a somewhat closed router, with very few ways to configure it. I'd like to use netfilter (iptables) to do this because it doesn't involve a daemon or similar, but other…
Gregory MOUSSAT
  • 1,098
  • 6
  • 18
  • 30
8
votes
3 answers

Wake-on-LAN with BusyBox?

Is it possible to implement the wake-on-lan magic packet in bash? I'm using a old, customized BusyBox and don't have ether-wake. Is it possible to replace it with some other shell command, like: wakeonlan 11:22:33:44:55:66
michelemarcon
  • 3,357
  • 10
  • 32
  • 37
7
votes
3 answers

Why am I required to use an IP address when Waking-on-LAN a computer?

I have a new GNU/Linux Debian 9 server installation. This is what I get from ethtool: root@web-server:~# ethtool enp2s0 Settings for enp2s0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full …
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
7
votes
1 answer

How to wake on lan with IP address?

I am using Ubuntu 16.04 for my OS system. I'm trying to set the wake on lan with IP Address. For my previously method, I can do it with MAC address(HWaddr) in local network area. But now I want to wake up my computer from other place(with global…
Tsung-Li Wang
  • 451
  • 1
  • 4
  • 9
6
votes
2 answers

How to capture WOL packets?

I used sudo tcpdump -v -i eth0 ether proto 0x0842 or udp port 9 but didn't see anything when WakeMeOnLan from NirSoft wakes the computer. The same with Wireshark
Dims
  • 3,181
  • 9
  • 49
  • 107
6
votes
3 answers

Turn on my Ubuntu server remotely?

I have a Ubuntu server (16.10) at home and was wondering if there is a way to turn it on remotely when I am away from home? I set up Wake-On-LAN but that only seems to work when I'm using another computer connected to the same network as my Ubuntu…
Jono
  • 181
  • 1
  • 6
6
votes
1 answer

How to disable Wake on Lan

Windows also has Wake on Lan that allows a computer to be woken up from sleep; additionally, this can be disabled by a user on said computer. I know that WoL exists on Linux, but how does one disable it?
8protons
  • 372
  • 1
  • 4
  • 12
5
votes
3 answers

Find out if computer started via Wake-on-LAN or power button?

Is there any (reliable) way to find out if the PC booted because of a Wake-on-LAN Packet instead of pressing the power button? I want automatically check if WOL is correctly configured. I know about ethtool's WOL output, but this just tells me if…
user40537
5
votes
4 answers

Put Linux server into sleep and wake it up using WOL packets

I am looking for a way to put my Linux home server in standby after a period without any "heart beat" network activity. I would like to use WOL packets as a heart beat signal. These packages will be send by several clients each with an interval of,…
Alain
4
votes
1 answer

Wake on LAN a laptop when the lid is closed

I have an old laptop (Asus n56v) that I turned into a home lab by installing Proxmox hypervisor, it works well and also WOL (wake on LAN) work. I need to store it lid-closed because I only manage it through the terminal from another host anyway. I…
1
2 3 4 5