oclm - Control the 3com OfficeConnect LanModem
oclm {<option>} <command>
This program can be used to control the 3com OfficeConnect LanModem, an ISDN TA/router. Device statistics are printed to stdout along with a status message (typically OK).
The options are:
Specify the hostname (and optionally port) of your LanModem. By default, the value of the OCLM_LANMODEM environment variable is used; or, if that is not set, then the value 3com.oc.lanmodem.
Specify the password needed to access your locked LanModem. By default, the value of the OCLM_PASSWORD environment variable is used. This is not needed if either your LanModem is not password protected, or if manual calling is accessible and you only use the connect, disconnect, status and manual commands.
The commands are:
Manually connect to the specified provider name or provider index (1-offset). If no provider is specified, then connects to the first provider not currently connected. This displays the progress of the connection attempt on stdout.
Manually disconnect from the specified provider name or line index (1-offset). If no provider is specified, then disconnects from the first provider currently connected.
Manually abort connection attempt to the specified provider name or line index (1-offset). If no provider is specified, then aborts from the first provider currently connecting.
Print LanModem system statistics.
Print ISDN line statistics.
Print current call statistics.
Print last call statistics.
Print last 10 call statistics.
Print service provider statistics.
Print manual call information.
Print caller ID information. This attempts to determine the phone number of current incoming calls. It often fails.
Specifying your password in any manner is, of course, insecure. Hard to abort a call. Others unknown.
Device::ISDN::OCLM
Copyright 1999-2000 Merlin Hughes.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Merlin Hughes <merlin@merlin.org>
To install Device::ISDN::OCLM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ISDN::OCLM
CPAN shell
perl -MCPAN -e shell install Device::ISDN::OCLM
For more information on module installation, please visit the detailed CPAN module installation guide.