The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

oclm - Control the 3com OfficeConnect LanModem

SYNOPSIS

 oclm {<option>} <command>

DESCRIPTION

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:

-lanmodem <hostname[:port]>

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.

-password <password>

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:

connect [<provider>]

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.

disconnect [<provider>]

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.

abort [<provider>]

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.

system

Print LanModem system statistics.

isdn

Print ISDN line statistics.

current

Print current call statistics.

last

Print last call statistics.

last10

Print last 10 call statistics.

sp

Print service provider statistics.

manual

Print manual call information.

id

Print caller ID information. This attempts to determine the phone number of current incoming calls. It often fails.

BUGS

Specifying your password in any manner is, of course, insecure. Hard to abort a call. Others unknown.

SEE ALSO

Device::ISDN::OCLM

COPYRIGHT

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.

AUTHOR

Merlin Hughes <merlin@merlin.org>