SENDMAG

0 Likes

Module SENDMAG.NLM is designed for remote turning on of 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.



  1. 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


    where:

    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.

Labels:

Collateral
Comment List
Related
Recommended