Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Easily wake a networked Mac via Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Easily wake a networked Mac via Automator
Authored by: ctierney on Oct 24, '07 11:45:00AM
Hello, For so reason the python script didn't work for me, but netcat did (not by broadcasting though):
#!/bin/sh

{ for (( i = 1; i <=  6; i++ )); do printf "\xff"; done
  for (( i = 1; i <= 16; i++ )); do printf "\x00\x11\x22\x33\x44\x5a"; done
} | nc -uw1 192.168.1.75 9
--
Cole

[ Reply to This | # ]
10.4: Easily wake a networked Mac via Automator
Authored by: mzs on Oct 24, '07 12:14:49PM

Wait for 192.168.1.75 to not be in in your ARP table, then that will not work, hence the use of the broadcast.



[ Reply to This | # ]
10.4: Easily wake a networked Mac via Automator
Authored by: ctierney on Oct 24, '07 01:54:06PM

The netcat solution doesn't work with broadcast. Maybe it something to do with my network at work. I'll try both the python and netcat version at home.
--
Cole



[ Reply to This | # ]
10.4: Easily wake a networked Mac via Automator
Authored by: ctierney on Oct 24, '07 03:38:23PM

Still no go at home with either netcat or python. Cool hint, though! I'd love to get it working.
--
Cole



[ Reply to This | # ]