wakeonlan says "Can't call method "addr" on an undefined value at /usr/bin/wakeonlan line 117."

wakonlan suddenly stopped working. I run something like wakeonlan -i myip.com:9 6c:f0:49:50:36:fe and it says:

Can't call method "addr" on an undefined value at /usr/bin/wakeonlan line 117.

The port and ip address can't be combined (eg myip.com:0). Instead, use -p for port number. It should instead say:

wakeonlan -i myip.com -p 9 6c:f0:49:50:36:fe and no error will happen.

No votes yet