Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wake-on-lan]

The tag has no usage guidance.

0
votes
0answers
46 views

Unable to connect to internet after enabling wake on lan on Debian 9

I've enabled Wake-On-Lan on my debian machine with this tutorial. I didn't have the option to try it out or reboot, and went to sleep. The next day, a power surge happened, and rebooted my computer, ...
1
vote
1answer
51 views

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
1
vote
0answers
15 views

WOL on multihomed host

Topology: xDSL modem <-ethernet 'wan'-> Linux Host(two NICs) <-ethernet lan'->sleeping linux ITX host. Linux host is 5.0.0-arch1-1-ARCH and ITX host is some recent LibreElec release. Testing ...
0
votes
0answers
35 views

WoL doesn't work

I have two computers DELL OPTIPLEX 960 connected to one switch. Both have CentOs 7 with minimal installation. IPs are 192.168.8.51/24 (MAC 00:26:b9:86:85:13) and 192.168.8.52/24 (MAC 00:26:b9:86:84:5f)...
2
votes
2answers
34 views

Wake on LAN directly via Ethernet

I want to use wake on lan with my LG TV but it is only supported via cable connection. Is it possible to connect small computer (Orange Pi) directly to the TV via cable and send Wake packets directly?
2
votes
1answer
202 views

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 ...
7
votes
3answers
534 views

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 ...
0
votes
2answers
2k views

How to start sshd automatically [closed]

I'm having an issue with ssh. My idea was to set up Wake on Lan on my pc, which runs Kali Linux Rolling (2008.1), and using ssh to connect to it after it booted. Everything works fine, except for ...
9
votes
1answer
956 views

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 ...
8
votes
1answer
459 views

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 ...
3
votes
1answer
2k views

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 ...
1
vote
0answers
283 views

Why does wake-on-lan stop working after some time?

I have a desktop computer at home that I want to be off when I leave the house, but I want to be able to wake it up remotely if I ever need to, so a few days ago I enabled WOL on it in the BIOS. Using ...
3
votes
1answer
382 views

Deep packets inspection to detect WOL

I want to listen for WOL (Wake-On-LAN) packets. As WOL packets can be UDP/TCP/whatever (yes, even TCP, but probably useless), I have to check every incomming packets for the WOL specific pattern. ...
1
vote
0answers
220 views

Ethernet port not blinking in sleep mode although WOL enabled

I have laptop Toshiba A300 with CentOS 7. I have WOL enabled in BIOS and ethtool shows it's enabled: [root@okvmhguest4 ~]# ethtool enp2s0 | grep Wake-on Supports Wake-on: pumbg Wake-...
6
votes
3answers
3k views

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 ...
1
vote
0answers
1k views

WoWLAN Wake on Wireless LAN with AR9462 - command not supported at 'iw enable'

I try to enable Wake On Wireless LAN (WOW, WoWLAN) on my LinuxMint system with wifi AR9462 controller. I already tried several kernel versions (e.g. 3.19, ...). Currently, I run Ubuntu version 4.4.0-...
4
votes
2answers
3k views

Wake on LAN not working on Ubuntu 16.04

I'm trying to setup wake on LAN on my desktop which has Ubuntu 16.04 running. I've tried a lot, following different manuals and troubleshooting, but with no luck. When the computer is off or on ...
4
votes
1answer
864 views

Startup script on Debian 8 (Jessie) with etherwake won't work

I'm attempting to remotely wake a slave machine when the master boots up through a bash script using the etherwake command to send magic packets. Both OSs are Debian 8. The full code is written below: ...
0
votes
1answer
71 views

Wake on LAN on Arch on a Macbook Air 2012

I've checked that my Mac supports WOL under MacOS, but running sudo ethtool wlp2s0b1 under Arch (according to the Wiki), I see only Settings for wlp2s0b1: Link detected: yes and sudo ...
2
votes
1answer
3k views

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 ...
0
votes
0answers
298 views

wakeonlan: cannot wake up ubuntu server 16.04

I can wake up ubuntu server 16.04 from my iphone using WOL. I tried to do the same thing from mac osx yosemite. couldn't get it work. first I installed wakeonlan. "brew install wakeonlan" then I ran ...
2
votes
1answer
2k views

is there a tool/daemon that automatically fills /etc/ethers in the background to have a proper wake on lan hostname:mac database when needed?

is there a tool/daemon available that automatically fills /etc/ethers in the background with the proper hostname:mac pairs to have a up to date database when needed with for example wake on lan (wol) ?...
1
vote
1answer
2k views

Using ether-wake reports error “sendto: Network is down”

The command sudo ether-wake xx:xx:xx:xx:xx:xx prints sendto: Network is down for all MAC addresses I plug in. I couldn't find any information on how to fix this - I'm clearly connected to WLAN on ...
0
votes
3answers
2k views

Start Server remotely using SSH

I am trying to start my server remotely with this: ssh root@xxx.xx.xx.xx /sbin/reboot And keep getting this back ssh: connect to host xxx.xx.xx.xx port 22: Operation timed out Why can't I start ...
1
vote
1answer
377 views

How can I boot my desktop using Wake-on-LAN?

I am trying to get Wake-on-LAN (WoL) to work on my desktop. It has an Asus P6T Deluxe v2 motherboard and I have successfully enabled the WoL option within the BIOS power management [1]. The desktop is ...
2
votes
0answers
95 views

Detect if computer was started using WOL or power switch

Is it possible to check if a computer was started using Wake on LAN or using the regular power switch under Linux?
2
votes
1answer
1k views

Wake on LAN through PHY and unicast only works in the first ~30 seconds after pm-suspend

I'm having some trouble with Wake on LAN through PHY and unicast. I'm able to wake the system by pinging or sshing the shut down machine, but only within the first ~30 seconds. Why's that, what could ...
0
votes
1answer
80 views

WakeOnLan error

I've been working on a wakeonlan script, which worked fine, until now. Then program wakeonlan, which is not made by me, isn't functioning properly. When I use perl -w /usr/bin/wakeonlan I get this ...
28
votes
6answers
53k views

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 ...
5
votes
3answers
4k views

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 ...
8
votes
4answers
9k views

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 ...
3
votes
2answers
4k views

lts is there a way to enable sleep mode and wake on lan?

I was wondering if it were posible to make my server go to sleep after a set period of time, but still be listening for lan requests. I use my server as a media server that might get used 3 or 4 hours ...
4
votes
4answers
5k views

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 ...
1
vote
3answers
3k views

Use DD-WRT to auto WOL when traffic is on same subnet

So i've seen the WOL scripts and they seem like they could work well when i'm trying to connect from a computer that is outside my router. Script i'm using: http://www.dd-wrt.com/wiki/index.php/...
3
votes
2answers
3k views

Is there a way to find the mac address of a remote machine I have connected to with ssh?

I have machine at the office which is shut off I was hoping to turn it on from home using wake on lan. Reading about this, I have realized that I need the MAC address of the machine. Is there a way to ...
8
votes
3answers
7k views

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: ...
19
votes
7answers
24k views

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 ...
10
votes
2answers
3k views

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 ...