You are not logged in.

#1 2010-02-03 15:49:40

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

[solved]WoL fails 'most of the time', sometimes

Sorry for the cryptic topic name, but I didn't want to make it too long big_smile

I've been setting up wake-on-lan on my desktop computer, with my server waking it up. I followed the wiki entry and everything worked. I didn't even need ethtool. When I SSH into my server and run

sleep 1s ; wol -v -p 97 -i 192.168.1.3 00:07:E9:73:09:44

and then suspend my computer (s3) it wakes up a minute later. I've also tried adding it to the crontab of the server and it works. But when there is a big gap between the suspending and the wake-up it fails. The gap seems to be roughly an hour or so. Yesterday evening I changed the crontab on the server to this, and shut off my computer.

*  6,7 *       *       *       wol -v -p 97 -i 192.168.1.3 00:07:E9:73:09:44 -w 10

The computer woke up about 6:45.

Google turned up a hit about a fedora user where it failed after an hour, but that was because the router went into sleep mode, but my server torrents all night.

I tried with S1 suspend, but my comp didn't want to suspend with that.

One evening when it didn't woke up I went to my server and started issuing manual wol's,  at roughly the 10th try I succeeded, no clue why.

I haven't really figured out if the -w switch makes any difference, I didn't really understand the man page's description of it.

EDIT: yay 400th post!

Last edited by hatten (2010-02-05 19:57:33)

Offline

#2 2010-02-04 15:31:45

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [solved]WoL fails 'most of the time', sometimes

This morning it didn't wake up from s3 at all during those two hours. Forgot to say that the day when it woke up it was powered off.

Offline

#3 2010-02-05 07:36:05

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [solved]WoL fails 'most of the time', sometimes

This morning it didn't wake up either, but I went to the server and manually issued

wol -p 97 00:07:E9:73:09:44

and it worked on the first try. I have added that to my crontab so I'll see if the computer's awake when I get home.

Offline

#4 2010-02-05 19:57:09

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [solved]WoL fails 'most of the time', sometimes

It worked this evening after a 4h sleep with

*  20   *       *       *       wol -p 97 00:07:E9:73:09:44

in my crontab. No idea what caused the problem, but it'll hopefully work now. I'll see if it works tomorrow.

Nobody answered to my thread :'(

Offline

#5 2010-02-05 21:46:33

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved]WoL fails 'most of the time', sometimes

I use the wakeonlan package in the AUR to poke my HTPC (so its on by the time i get downstairs). I've had luck with the simple alias:

wakeht='wakeonlan 6C:F0:49:17:BF:A3'

Offline

#6 2010-02-06 11:25:49

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [solved]WoL fails 'most of the time', sometimes

It worked to perfection this morning, for some reason it seems to work better with less parameters :S

Offline

Board footer

Powered by FluxBB