Mop remote console requestor
moprc [options] <nodename>|<MAC Address>
moprc allows a system administrator to connect to MOP console devices (usually terminal servers) and log into them to issue commands remotely. It is the equivalent of "NCP CONNECT NODE" or "SET HOST/MOP" on VMS.
The node maybe specified as a MAC address in Unix format (ie as 6 pairs of hex digits seperated by colons) or as a name that appears in /etc/ethers.
You will need to be root or have privileges to use moprc.
Selects the ethernet interface to use to connect to the device. By default the value of environment variable MOPRC_INTERFACE or "eth0" is used.
Shows some information about the node that is connected to
Trigger the node. This normally reboots the server so use this with care!
Changes the poll interval of moprc from 200 ms to <n> ms. Changing this down will increase the risk of timeouts, increasing it will decrease the speed of the link.
Shows the usage message.
Shows the version of moprc.
moprc -i eth1 08:00:2B:2B:AD:99
MOPRC_INTERFACE defines the default interface to use if not specified on the command line. If not present the interface "eth0" will be used.
On Darwin you cannot specify an ethernet address on the command-line, the name MUST be in /etc/ethers.
You can script moprc but it sends one character per ethernet packet so is very slow.
There is no locking in moprc so be careful to only run once instance at a time.