freebsd-ports/net/p5-Net-Wake/pkg-descr
Doug Barton cf9046834a Add p5-Net-Wake 0.01, Send Wake On Lan (WOL) packets to power on computers.
PR:		26595
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-04-15 19:15:19 +00:00

15 lines
430 B
Text

This package sends wake-on-lan packets to turn on machines
that are wake-on-lan capable.
For now there is only one function in this package:
Net::Wake::by_udp(host, mac_address, [port]);
You can power on PCs by
perl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
You can also specify broadcast address for `host'. It is useful in a
intelligent network.
--
Yoshihiko Sarumaru <mistral@imasy.or.jp>