Wake-up a network mac -- How to do that ?

KC Hundere khundere at gmail.com
Wed Aug 11 14:45:45 EDT 2021


It looks like you should be able to download the code from here:

https://github.com/jpoliv/wakeonlan

In that zip file is a wakeonlan executable script.   Should be as simple as:

/path/to/script/wakeonlan <MAC address>

I don't have a machine to wake up, but I get what appears to be a proper
response from the script:

user at bigmac % ./wakeonlan 4C:20:B8:EB:44:C1
Sending magic packet to 255.255.255.255:9 with payload 4C:20:B8:EB:44:C1
Hardware addresses: <total=1, valid=1, invalid=0>
Magic packets: <sent=1>

>From XTension, do aysync shell script "/path/to/script/wakeonlan <MAC
address>"

Good Luck.


On Wed, Aug 11, 2021 at 9:51 AM Michel Angelo <michel_angelo at me.com> wrote:

> Thanks Tom. On 11 aug 2021 at 14:36, Tom Yarmas <tom at yarmas.com> wrote :
>
> If you set the wake on network access option (under energy saver control
> panel or Battery control panel on Mohave) you can use a wake on LAN command
> to wake up the Mac. I have not used it , but look at this
> https://www.cyberciti.biz/faq/apple-os-x-wake-on-lancommand-line-utility
>
>
> Yes: Wake on LAN. I can issue a wake on LAN command from my pfSense router
> but have not found the way to command it from the xTenson mac on the LAN.
> The key is is to issue a command line wake on LAN instruction. I Have gone
> all the way in the implementation of the above installation using brew.
> Unfortunately, the related techniques are only supported from Mojave and
> up; On High Sierra, the Linux commands fail and are no longer supported by
> the programmers of all of this (Brew, and so on).
>
> I also discovered that the customary solution was to use the commercial
> software wake on LAN, which used to be free, and is now sold under a 1-year
> license.
>
> Also, it is pretty easy to use SSH to execute commands like shell scripts
> on a remote Mac
>
>
> Yes, certainly feasible, but beyond my ability level. I know the local
> scripts needed, but have not tried to issue it from another mac on the LAN
>
> I consider I can try a dedicated strictly limited to the purpose install
> of xTension in the macBookPro, just for the purpose of these back-up tasks.
> It may work.
>
>
>> Michel Angelo
> <michel_angelo at me.com>
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
>


-- 
KC Hundere
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20210811/fe6027be/attachment.html>


More information about the XTensionList mailing list