History log of /freebsd-10-stable/usr.sbin/wake/wake.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 232102 24-Feb-2012 jh

Exit with proper status when wake() fails.

PR: bin/153527
Submitted by: Douglas Steinwand
MFC after: 2 weeks


# 232101 24-Feb-2012 jh

style(9).

MFC after: 2 weeks


# 203686 08-Feb-2010 mbr

If there is only one NIC in the system that is up and running, the
interface specifier on the command line can be ommited.

Besides of this, the bpf is being reused for each machine
that has to be woken up.

Submitted by: Marc Balmer <marc@msys.ch>


# 201024 26-Dec-2009 rwatson

Fix wake(8) synopsis to make it clear that at least one lladdr is required
as an argument.

Submitted by: Marc Balmer <marc@msys.ch>
MFC after: 3 days


# 195264 01-Jul-2009 stas

- Properly order headers, local variables and prototypes. [1]
- Remove unneeded headers.
- Return non-zero error code in usage().

Approved by: re (kib)
Suggested by: bde [1]


# 195237 01-Jul-2009 stas

- Fix the bug in write(2) called with incorrect parameters resulting in writes
always started from the start of the packet.
- Fix usage string (multiple addresses can be specified).
- Make the source more style(9) compliant.
- Improve error reporting (do not silently fail if something goes
wrong).
- Make functions static.
- Use warns level 6.

Approved by: re (kib)
Discussed with: Marc Balmer <marc@msys.ch>, brian, mbr


# 195200 30-Jun-2009 mbr

Add wake, a tool to send Wake on LAN frames to hosts on a local Ethernet network

Submitted by: Marc Balmer <marc@msys.ch>
Reviewed by: rwatson
Approved by: re

M usr.sbin/Makefile
A usr.sbin/wake
AM usr.sbin/wake/wake.c
AM usr.sbin/wake/Makefile
AM usr.sbin/wake/wake.8