fli4l documentation - Client-/Server interface imond

8. Unix/Linux client imonc

In the meantime there are two versions for Linux: one text based version (imonc) and one with a graphical interface (ximonc). Sources for ximonc can be found in directory src. Documentation for ximonc will be available in version 1.5-final. Advanced Linux users should feel comfortable with the sources.

Letīs concentrate on the text-based version of imonc: Base of this program is curses. It therefore has no graphical interface. Sources can be found in directory unix.

Installation:

    cd unix
    make install

imonc will be installed in `/usr/local/bin` .

Call:

    imonc hostname

Enter IP address or name of FLI4L router as hostname; ex.:

    imonc fli4l

imonc will then show the following information:

- Date/time of FLI4L router
- Actual route
- Default route circuits
- ISDN channels

    Status:         Calling/Online/Offline
    Name:           Telephone number of partner or circuit name
    Time:           Online time
    Charge-Time:    Online time - depending on charge value
    Charge:         Calculated costs

Possible/available commands are:

0 | `quit` | end program
1 | `enable` | activate
2 | `disable` | de-activate
3 | `dial` | dial (!)
4 | `hangup` | hang up (!)
5 | `reboot` | boot again
6 | `timetable` | output of time table
7 | `dflt route` | set new default route circuit
8 | `add channel` | add 2nd channel
9 | `rem channel` | de-activate 2nd channel

Command description in detail:

0 | `quit` | Connection to imond server will be disconnected and program will be closed.
1 | `enable` | All circuits will be set to dial mode "auto". That is the default state of FLI4L after booting. That means: when there is a connection request from the internal network, FLI4L will dial automatically.
2 | `disable` | All circuits will be set to dialmode "off" . After this action FLI4L is almost "dead" (or: sleeping). FLI4L will be waked up by use of the enable command.
3 | `dial` | Manual dialing via the default route circuit. This is originally meant for test purposes, since FLI4L usually dials automatically.
4 | `hangup` | Manual hang-up: Hang-up before FLI4L will hang-up automatically.
5 | `reboot` | FLI4L will be re-booted. Not really useful command...
6 | `timetable` | Generate output of the time table for the default route circuits. Example: see above
7 | `default route circuit` | Manual switching between default route circuits. May be useful, if you want to disable automatic LC routing for a while, because some providers allow access to own mailbox only when using your own internet account.
8 | `add channel` | Use this to add the second ISDN channel. You need: ISDN_CIRC_x_BUNDLING (see package ISDN) set to 'yes'.
9 | `remove channel` | Switch off the second ISDN channel. See also: "add channel".

Otherwise obey the remarks for these commands as given in chapter 8 about the imond client imonc.exe under Windows.

Additional remark: From FLI4L version 1.4 it is now possible to install a "minimalized" imonc client on the FLI4L router itself. Do so by setting option: OPT_IMONC='yes' (see package TOOLS).

With this new feature you are now able to enter specific settings on the FLI4L console; ex.: routing etc. wirh imonc. Attention: This "mini imonc" will only be functioning on the FLI4L router itself! Using it on a Linux-/Unix client will always need to use the "older brother" in directory unix/imonc.c .

##### [ top ]