Quote:> Looking for something not too tricky that's a sample of how
> to do this on Solaris. I'd like to eventually port or
> recreate etherwake to run on Solaris, to be able to send
> Wake-on-LAN packets to (presumably non-Solaris) systems.
To do something like this you'll probably need to use DLPI.
DLPI is standard accross most Unix, with a few variations accross each
unfortunately and somes (Unixware) allow only one DLPI provider only (the
IP stack).
Hopefully Solaris was one of the easier implementation of DLPI to work
with.
Under Solaris you need to open the device directly to use DLPI (/dev/eri,
/dev/bge0, ...)
You can find the complete list of interfaces with the SIOCGIFCONF ioctl().
If you need more help, just ask on this newsgroup (or find my e-mail).
--
A high IQ is like a Jeep; you will still get stuck, just farther from help!