Motherboard Forums


Reply
Thread Tools Display Modes

Wake-on-LAN, iMac G5, OS-X 10.3.6, inconsistent behavior

 
 





















Bill Bushnell
Guest
Posts: n/a

 
      12-02-2004, 01:18 AM


I have observed 2 odd behaviors of my iMac when I attempt to wake it from
sleep by sending it the wake-on-LAN magic packet to the ethernet port.
I am using the program I downloaded from:

http://gsd.di.uminho.pt/jpo/software/wakeonlan/

1) If I put the iMac to sleep manually, I can re-awaken it within a minute
or so by sending it the magic packet. Then I can login through ssh.
Unfortunately, the machine seems to go back to sleep after about 1 minute,
even though the Sleep time is set to 30 minutes.
(discovered through pmset -g)

Why does the machine go back to sleep so soon?

2) If I put the iMac to sleep manually and wait longer than 10 or 15
minutes before attempting to awaken it with the magic packet, the iMac
will not wake up. It's as if it's been put into a deeper sleep from which
only console action will awaken it.

Why doesn't the magic packet work in this case?

Other information:

I'm connected to the Internet through DSL, and I'm connected by wire
through a Netgear WGR614 router, with port forwarding for ssh and
a wake-up call on port 9 sent specifically to the iMac in question.

I'm trying to set up remote access to my home iMac without leaving the
machine awake 24/7. Do any of you Mac/OS-X gurus have a solution?
Thanks.

--
Bill Bushnell
 
Reply With Quote
 
Neill Massello
Guest
Posts: n/a

 
      12-02-2004, 09:00 AM
Bill Bushnell <> wrote:

> I'm connected to the Internet through DSL, and I'm connected by wire
> through a Netgear WGR614 router, with port forwarding for ssh and
> a wake-up call on port 9 sent specifically to the iMac in question.
>
> I'm trying to set up remote access to my home iMac without leaving the
> machine awake 24/7. Do any of you Mac/OS-X gurus have a solution?


AFAIK, magic packets can't be routed. To wake a machine from the WAN,
you'd need a router that could send it a magic packet in response to
some kind of command sent to the router in a TCP/IP packet from the WAN.
It doesn't look like the WGR614 can, but one new wireless router
promises to
<http://www.buffalotech.com/products/...oductid=88&cat
egoryid=6>.

 
Reply With Quote
 
Tom Stiller
Guest
Posts: n/a

 
      12-02-2004, 02:08 PM
In article <1go55j0.rwod5eobczsgN% >,
(Neill Massello) wrote:

> Bill Bushnell <> wrote:
>
> > I'm connected to the Internet through DSL, and I'm connected by wire
> > through a Netgear WGR614 router, with port forwarding for ssh and
> > a wake-up call on port 9 sent specifically to the iMac in question.
> >
> > I'm trying to set up remote access to my home iMac without leaving the
> > machine awake 24/7. Do any of you Mac/OS-X gurus have a solution?

>
> AFAIK, magic packets can't be routed. To wake a machine from the WAN,
> you'd need a router that could send it a magic packet in response to
> some kind of command sent to the router in a TCP/IP packet from the WAN.
> It doesn't look like the WGR614 can, but one new wireless router
> promises to
> <http://www.buffalotech.com/products/...oductid=88&cat
> egoryid=6>.


AFAIK, there is nothing special about a magic packet itself that would
prevent it from being routed. It may be that the OP chose a port (e.g.
9) or broadcast route that his router doesn't forward. If that is the
case, he might try using a known routable port which will be forwarded
to the target machine.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
 
Reply With Quote
 
Bill Bushnell
Guest
Posts: n/a

 
      12-02-2004, 08:33 PM
Tom Stiller <> wrote:
> In article <1go55j0.rwod5eobczsgN% >,
> (Neill Massello) wrote:


>> Bill Bushnell <> wrote:
>>
>> > I'm connected to the Internet through DSL, and I'm connected by wire
>> > through a Netgear WGR614 router, with port forwarding for ssh and
>> > a wake-up call on port 9 sent specifically to the iMac in question.
>> >
>> > I'm trying to set up remote access to my home iMac without leaving the
>> > machine awake 24/7. Do any of you Mac/OS-X gurus have a solution?

>>
>> AFAIK, magic packets can't be routed. To wake a machine from the WAN,
>> you'd need a router that could send it a magic packet in response to
>> some kind of command sent to the router in a TCP/IP packet from the WAN.
>> It doesn't look like the WGR614 can, but one new wireless router
>> promises to
>> <http://www.buffalotech.com/products/...oductid=88&cat
>> egoryid=6>.


> AFAIK, there is nothing special about a magic packet itself that would
> prevent it from being routed. It may be that the OP chose a port (e.g.
> 9) or broadcast route that his router doesn't forward. If that is the
> case, he might try using a known routable port which will be forwarded
> to the target machine.


Thanks for your followups.

Perhaps I didn't make it clear in my original post that I could indeed
send the magic packet through the router (by setting up port forwarding)
to my computer and that it would wake the computer, IF the computer had
been asleep for less than a few minutes when put to sleep by selecting
"Sleep" from the Finder. This worked. Asleep longer than a few minutes,
and the computer was un-wakable by the magic packet. My question was why
can I wake the computer within a few minutes of sleep, but not after the
computer has been asleep longer.

My other related question was that after waking up the computer (after it
had been asleep for less than a few minutes), why does it go back to sleep
within a minute even if the sleep parameter is set to 30 minutes.

--
Bill Bushnell
 
Reply With Quote
 
Tom Stiller
Guest
Posts: n/a

 
      12-03-2004, 04:08 AM
In article <f_Krd.9012$_>,
Bill Bushnell <> wrote:

> Tom Stiller <> wrote:
> > In article <1go55j0.rwod5eobczsgN% >,
> > (Neill Massello) wrote:

>
> >> Bill Bushnell <> wrote:
> >>
> >> > I'm connected to the Internet through DSL, and I'm connected by wire
> >> > through a Netgear WGR614 router, with port forwarding for ssh and
> >> > a wake-up call on port 9 sent specifically to the iMac in question.
> >> >
> >> > I'm trying to set up remote access to my home iMac without leaving the
> >> > machine awake 24/7. Do any of you Mac/OS-X gurus have a solution?
> >>
> >> AFAIK, magic packets can't be routed. To wake a machine from the WAN,
> >> you'd need a router that could send it a magic packet in response to
> >> some kind of command sent to the router in a TCP/IP packet from the WAN.
> >> It doesn't look like the WGR614 can, but one new wireless router
> >> promises to
> >> <http://www.buffalotech.com/products/...oductid=88&cat
> >> egoryid=6>.

>
> > AFAIK, there is nothing special about a magic packet itself that would
> > prevent it from being routed. It may be that the OP chose a port (e.g.
> > 9) or broadcast route that his router doesn't forward. If that is the
> > case, he might try using a known routable port which will be forwarded
> > to the target machine.

>
> Thanks for your followups.
>
> Perhaps I didn't make it clear in my original post that I could indeed
> send the magic packet through the router (by setting up port forwarding)
> to my computer and that it would wake the computer, IF the computer had
> been asleep for less than a few minutes when put to sleep by selecting
> "Sleep" from the Finder. This worked. Asleep longer than a few minutes,
> and the computer was un-wakable by the magic packet. My question was why
> can I wake the computer within a few minutes of sleep, but not after the
> computer has been asleep longer.


I had no problem waking my iMac after it had been sleeping for about 40
minutes. Do you send a single magic packet or a sequence of them?
>
> My other related question was that after waking up the computer (after it
> had been asleep for less than a few minutes), why does it go back to sleep
> within a minute even if the sleep parameter is set to 30 minutes.


I was able to make my iMac do this once; however, the rest of the time
it only needed to be "shaken" once to wake it up.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
 
Reply With Quote
 
Bill Bushnell
Guest
Posts: n/a

 
      12-03-2004, 08:45 PM
> Tom Spiller wrote:
> I had no problem waking my iMac after it had been sleeping for about 40
> minutes. Do you send a single magic packet or a sequence of them?


I'm using the following script:
http://gsd.di.uminho.pt./jpo/software/wakeonlan/

It sends in a UDP packet, 6 times FFh followed by 16 repetitions of the
MAC address of the target computer. The script doesn't claim
compatibility with the Apple hardware, and that may be the problem. I've
run the script multiple times in succession, and if it doesn't respond the
first time, it won't respond the second or more times.

Another poster suggested that it worked within the first minute of being
put to sleep because the hardware may not have completely "gone to sleep"
within the first minute or so.

> I was able to make my iMac do this once; however, the rest of the time
> it only needed to be "shaken" once to wake it up.


Have you gotten a Wake-on-LAN type script to work on a Mac?

Thanks.

--
Bill Bushnell
 
Reply With Quote
 
Tom Stiller
Guest
Posts: n/a

 
      12-03-2004, 09:39 PM
In article <Cf4sd.9194$_>,
Bill Bushnell <> wrote:

> > Tom Spiller wrote:
> > I had no problem waking my iMac after it had been sleeping for about 40
> > minutes. Do you send a single magic packet or a sequence of them?

>
> I'm using the following script:
> http://gsd.di.uminho.pt./jpo/software/wakeonlan/
>
> It sends in a UDP packet, 6 times FFh followed by 16 repetitions of the
> MAC address of the target computer. The script doesn't claim
> compatibility with the Apple hardware, and that may be the problem. I've
> run the script multiple times in succession, and if it doesn't respond the
> first time, it won't respond the second or more times.
>
> Another poster suggested that it worked within the first minute of being
> put to sleep because the hardware may not have completely "gone to sleep"
> within the first minute or so.
>
> > I was able to make my iMac do this once; however, the rest of the time
> > it only needed to be "shaken" once to wake it up.

>
> Have you gotten a Wake-on-LAN type script to work on a Mac?
>


Yes. I've used that script as well as a couple of little applications
that do the same thing. All of them generate the proper magic packet
and, as far as i know, there is no problem with Apple hardware. The
only thing I can guess is that the the preference setting doesn't get
communicated to the hardware properly or the ethernet interface isn't
recognizing the WOL packet. You might try toggling the System
preferences checkbox, quitting the perfpane in betweee to see if the
selection is being communicated to the hardware. Good luck.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
10.3.6 upgrade for iMac G5 clw Apple 1 11-11-2004 02:38 AM
iMac wake from sleep problem K Apple 1 09-26-2004 10:15 PM
iMac DV upgrade roadmap: OS 9.0.4 --> OS 10.3.4 John Brock Apple 3 07-21-2004 02:04 AM
Upgrade iMac firmware xyz Apple 0 11-17-2003 06:36 AM
original airport card with new iMac? Steph Apple 0 07-08-2003 04:59 PM


All times are GMT. The time now is 04:44 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43