Module SENDMAG.NLM is designed for remote turning on the workstations and other servers from the NetWare server level.
This program sends so called MAGIC PACKET to a computer which is to be switched on remotely. This effect can be obtained provided that the mainboard of the managed computer has the WAKE ON LAN function and it is set in the BIOS to the value ENABLED.
SENDMAG.NLM is dedicated for servers working on the NetWare platform version 5.0, 5.1, 6.0 and 6.5.
Installation of SENDMAG program on NetWare server:
SENDMAG module (SENDMAG.NLM) should be copied to a controlled server to SYSTEM folder on SYS volume.
Start SENDMAG.NLM module:
The program can be executed immediately from a server console level or using CRON module it can turn on workstations and servers at the given moment.
To start SENDMAG program one should use the syntax as below:
SENDMAG /aNetworkIPAddress /mMACAddress /pPortNumber
NetworkIPAddress - IP address of a network in which there is a remote computer that is to be turned on. This address should be given accordingly to the class of the network.
For the network 10.0.0.0 ( A class ) one should give as a parameter address 10
For the network 172.20.0.0 ( B class ) one should give as a parameter address 172.20
For the network 192.168.1.0 ( C class ) one should give as a parameter address 192.168.1
MACAddress - 12-characters MAC address of a network card of the station to which is sent MAGIC PACKET.
PortNumber - IP port number of the remote computer. It is an optional parameter. While omitted the default value is set to 7.
Example of a program call:
SENDMAG /a10 /m003C5678D0AF
SENDMAG /a172.20 /m00CD34567890 /p2000
SENDMAG /a192.168.1 /m1234567890AF
A sample of the CRONTAB file used by CRON program:
00 08 * * 1-5 SENDMAG /a192.168.1 /m0034567890AF
01 08 * * 1-5 SENDMAG /a192.168.1 /m0054567890AF
02 08 * * 1-5 SENDMAG /a192.168.1 /m0084567890AF
03 08 * * 1-5 SENDMAG /a192.168.1 /m0094567890AF
04 08 * * 1-5 SENDMAG /a192.168.1 /m00C4567890AF
In the example above Netware server will turn on remotely the stations with the given MAC addresses every day from monday to friday in succession from 8.00 till 8.04 o'clock.