Subsections
7.2 Windows-Client imonc.exe
imond on the router and on the client imonc as a team have
two use modes: the user and the admin mode. In admin mode, all
controls are enabled. In user mode the variables
IMOND_ENABLE, IMOND_DIAL,
IMOND_ROUTE and IMOND_REBOOT
control if the respective functions are available. If all of these
variables are set to `no ', this means that all buttons in the overview page
are disabled except for the exit and the admin mode button. The
decision whether the user or admin mode is used, is based on the
transmitted password. By clicking the button admin mode, located in the
status bar, you may switch to the admin mode at any time by entering the
admin password. To switch back imonc must be restarted.
Once imonc is started an additional tray icon is displayed, which
shows the connection status of existing channels.
The colors mean:
- Red
- : Offline
- Yellow
- : A connection is in the process of being established
- Light Green
- : Online and traffic on the channel
- Dark Green
- : Online and (nearly) no traffic on the channel
imonc shows a behavior a little different from the Windows standard
when clicking on the minimize button in the title bar. This minimizes imonc
to the system tray only a tray icon near the clock remains. Double clicking
on the tray icon with the left mouse button brings imonc's window back to
the foreground. With the right mouse button you may use the context menu,
of the tray icon to execute the main imonc commands die angezeigten
without displaying its
main window.
Imonc stores many properties (including all columns widths of the string grids)
in the registry, so its appearance may be widely adapted to your needs. Imonc
uses the registry key HKCU\Software\fli4l
to store this informations
If even after careful reading of the documentation problems on imonc or the
router itself still remain you can post to the newsgroup. It makes sense
to note the support information you get when choosing SystemInfo and then Info
on the About page of the imonc client. The router password will be queried
then (not the imond password) and after that imonc will create a file fli4lsup.txt
that contains all the important information regarding the router, including
imonc. This file can be posted on the newsgroup when explicitely demanded
and will give much better chance for quick help.
Further details concerning the development of the Windows imonc client can be found
on the homepage of Windows Imonc http://www.imonc.de/. Here you can
see what new features and bug fixes will be included in the next version.
In addition, you will find the latest imonc version, if it is not included
in the FLI4L distribution already.
Imonc requires the name or IP address of the router fli4l. As the default
the program attempts to establish a connection with the computer ``fli4l''.
If this entry is correctly entered in the DNS, this should work out of the box.
Otherwise you can pass following parameters in the link:
- /Server:The router's IP or hostname (short form: /S:IP or hostname)
- /Password:password (short form: /P:password)
- /log Option for logging communication betweeen imonc und imond. When
entered a file imonc.log will be written each time when imonc exits. It
contains the complete communication and thus can grow quite large. Please
use this parameter only in case of problems.
- /iport:Portnumber Portnumber imond listens to. Default: 5000
- /tport:Portnummer Portnumber telmond listens to. Default: 5001
- /rc:''Command'' The command provided here will be transmitted to the
router without further checking and imonc will exit afterwards.
If more than one command should be transmitted at once, they must be devided
by semicolons. You will have to provide an imond password in addition for
this to work because no password query will be queried. Possible command
are documented with imond, see chapter 8.1. In addition to the commands
there another one exists: timesync. If used imonc will synchronize the
clock of the client with the router's clock. The command dialtimesync is
not supported anymore, it is substituted by "dial; timesync".
- /d:''fli4l-Directory'' Pass the fli4l-directory as a start parameter.
May be of interest when using more than one fli4l version.
- /wait If the hostname can't be reolved imonc will not exit anymore -
start another try by doubleclicking the tray icon.
- /nostartcheck Disables checking of imonc already running. Only makes
sense to monitor several different fli4l routers in a net. When using more
instances the builtin syslog- and E-Mail-capabilites will be disabled.
Usage (to be entered in the link):
X:\...imonc.exe [/Server:Host] [/Password:Password] [/iport:Portnumber]
[/log] [/tport:Portnumber] [/rc:"Command"]
Example with IP address:
C:\wintools\imonc /Server:192.168.6.4
or with name and password:
C:\wintools\imonc /S:fli4l /P:secret
or with name and password and router command:
C:\wintools\imonc /S:fli4l /P:secret /rc:"dialmode manual"
The Windows client queries some imond information on the existing
connections and displays it in its window. In addition to general
status information such as uptime of the router or the time (both locally
and on the router), for each existing connection the following informations
are shown:
Status |
Connection establishment/Online/Offline |
Name |
Telephone number of the caller or circuit name |
Direction |
Indicates if a connection is incoming or outgoing |
IP |
IP, that was assigned to the router |
IBytes |
Bytes received |
OBytes |
Bytes sent |
Online time |
Actual online time |
Time |
Sum of all online times |
KTime |
Sum of all online times in consideration of charge intervals |
Cost |
Computed costs |
The data is updated every 2 seconds by default. In the context menu of
this overview it is possible to copy the assigned IP to the clipboard
as well as hanging up the channel (for each available channel which is
online at the moment). This is of interest in case that several different
connections exist, e.g. one to surf the Internet and another to a private
net and only one of them should be terminated.
If the telmond process is active on the router, imonc can show information
about incoming phone calls (ie calling and called MSN) in addition. The last
incoming phone call is displayed above the buttons. a log of phone calls received
can be obtained by viewing the calls page.
By the six buttons in imonc the following commands can be selected:
Button |
Caption |
Function |
1 |
Connect/Disconnect |
Dial/Hang up |
2 |
Add link/Rem link |
Bundle channels: yes/no - only available in admin mode |
3 |
Reboot |
Reboot fli4l! |
4 |
PowerOff |
Shut down fli4l and power off afterwards |
5 |
Halt |
Shut down fli4l to power off safe afterwards |
6 |
Exit |
Exit client |
The first five commands can be switched on and off individually in the
router's configuration file config/base.txt for the user mode. In admin mode all
are enabled. The dialmode controls the dialing behavior of the router:
Auto |
The router will establish connections automatically when getting
queries from the local net for the circuit concerned. |
Manual |
The user himself has to establish connections. |
Off |
No connections can be established. The dial button is deactivated. |
Note that fli4l by default will dial out independently. So you never
actually will have to press the connect button...
It is also possible to manually switch the default route circuit, setting
the automatic LCR on and off. In the Windows version of imonc the selection
list `` default route'' is provided for this. In addition you can configure the
hangup TimeOut time directly in imonc. use the Config button next to the default
route for this. All configured circuits of the router are displayed here. The
value in the column Hup-timeout can be edited directly in the string grid
for ISDN circuits (not yet working for DSL).
An overview over LCR can be found on the page admin/Timetable.
There you'll see what circuit imond selects automatically at which time.
The configuration is reached using the Config button in the status bar. The window
is divided into the following areas:
- The Area General:
- Actualization Interval: Set here how often the overview should get actualized.
- Synchronize Time on Startup: When starting the client's system time and date
will get synchronized with the router's system time. You can execute this manually
by using the button Synchronize on the Overview-page.
- Start Minimized: Program will start minimized to the system tray.
- Start with Windows: Specify here if the client should start automatically
with system start. Provide necessary start-parameters in the field Parameter.
- Fetch News from fli4l.de: Should news from fli4l's homepage be fetched and
displayed by imonc? Then headlines are shown in the status bar. A new page News
is displayed to show the complete messages.
- Logfile for Connections: The file name here is used to save connection lists
locally on the imonc's system.
- TimeOut for router to answer: How long should we wait for an answer from the
router before assuming that the connection has failed.
- Language: Pick the language for imoncs to use.
- Confirm Router Commands: If activated all commands influencing the router
generally have to be confirmed, i.e. Reboot, Hangup ...
- Hang up even when traffic: No information should be displayed when the
connection is closed and there is still traffic on the line.
- Automatic Connection to the router: Should we try to reconnect to the router
in case of lost connections (i.e. when rebooting the router).
- Minimize Window To System Tray: Should imonc minimize to system tray instead
of terminating itself when clicking the Exit button.
- Proxy Settings:
Define a proxy for imonc's http-queries here. It will be used for fetching news.
- Activate Proxy-support for Http-queries: Should we use a proxy
- Address: Address of the proxy server
- Port: Port number of the proxy server (default: 8080)
- TrayIcon:
Set the colors of the tray icon next to the clock to your own needs.
In addition you can specify that the actual dialmode will set the background
color of the tray icon.
- Calls: The position of the call notification window will be saved in the
registry in order to allow to set a fixed position for the window. Simlpy drag the
window to the desired position.
- Update: Set here in what way imonc will be informed about new calls. There
are three possibilities. The first is querying the telmond service on the
router in regular time intervals. A second is evaluating the syslog messages.
This variant is preferred to the first - of course, the imon's syslog client
has to be enabled. If imonc is used with a routed eisfair system the third
possibility is to use the Capi2Text package for call signaling.
- Delete Leading Zeros (Phone Boxes): Phone boxes often use an additional
Zero to prefix the caller's number. This option will suppress the digit.
- Own Area Code: Save your own area code here. If a call with the same
area code is received it will get suppressed when displaying.
- Telephone Book: Here, the file can be specified, in which the local
Phone book is saved for resolving of the phone number. If the file does not
exist, it is created by the program.
- Logfile: The file name you can specify here is used to save the call
list locally on the computer. This menu item is only visible if the config
variable TELMOND_LOG is set to `yes' (this also applies to the
call list).
- Use External Search: In this area, a program may be specified that will
be called when a phone number can not be resolved using the local phone book.
Info should be provided by the corresponding program. Until now there exists
a connection to the telephone CD KlickTel and from Marcel Wappler a connection
to the Palm database.
- Call Notification:
Here can be determined whether an indication of incoming phone calls
should be displayed, and how this is presented visually
- Activate Call Notification: Indicate Calls or not.
- Show Call Notification: Should a notification window be displayed on
incoming calls? Infos: MSN called, Calling ID of the caller and date/time.
Set variable OPT_TELMOND to `yes' in config/isdn.txt for this to
work.
- Suppress If no number is transmitted: Should the call notification
be displayed if no calling number was transferred?
- Display Time: This setting specifies how long the call notification
window should remain open. Setting this to ``0'' willavoid that the
window is closed automatically.
- Fontsize: Sets the font size. This is of influence for the window size
because it is computed based on the font size.
- Color: Set the font color here. I use red for better reecognition.
- Phonebook: The page Phonebook contains the numbers for resolving caller
IDs (MSN). The page will be shown even if the variable TELMOND_LOG is
set to `no' caller number resolving is also used for showing the last aller
on the summary page. Alternatively a local file can be picked as phone book here.
The structure of the entry is as follows:
# Format:
# PhoneNumber=displayed Name[, Wavefilename]
# 0241123456789=Testuser
00=unknown
508402=Fax
0241606*=Elsa AG Aachen
The first three lines are comments. The fourth line accomplishes that
``unknown'' will be shown if no caller ID is submitted. In the fifth
line the name ``Fax is assigned to MSN number 508402. In all other cases
the format that will be shown is always PhoneNumber=Name. The sixth
line demonstrates the possibility to define a group number. This will
resolve all numbers matching the condition 0241606* to one name. Note
that the first entry found in the phone book that matches will be picked.
Optionally a wave-file can be set that will get played when a call with
this number comes in.
As of version 1.5.2: on the page Names it is also possible to synchronize
the local phone book with the router's one (stored in /etc/phonebook) and vice
versa. The files are not simply replaced but missing entries will be added.
If a phone number exists in both phone books with different name you will be
prompted for the entry to be taken. Note that the synchronization of the phone
book on the router is only changed in the ramdisk, so, after a reboot all
changes will be lost.
- Sound: Wave-files specified here will be played when the specific event has occurred.
- E-Mail: If E-Mail-Checking finds new E-Mails on the POP3-Server
specified, the selected wave-file will be played.
- E-Mail-Error: If an error occurs when loading E-Mails auftritt, this
wave-file will be played.
- Connection lost: When the connection to the roter is gone (i.i. the router is rebooted),
this wave-file will be played. If the option ``Automatic Reconnect to router'' is not
activated a MessageBox will pop up asking you to reconnect.
- Connection Notification: When establishing a connection this
wave-file will be played.
- Connection closed: When a connection is closed this wave-file will be played.
- Call Notification: If Call Notification is activated this wave-file will be played on incoming calls.
- Fax Notification: If a new FAX is received this wave-file will be played.
- E-Mails
- Accounts: Configure your POP3-Accounts here.
- Activate E-Mail-Check: Should E-Mail-check look for new
E-Mails automatically?
- Check every x Min: How often should the E-Mail-check look for E-Mails
automatically. Attention: a short interval can keep the router online forever!
This will be the case if the interval is chosen shorter than the Hangup-Timeout
of the circuit in use.
- TimeOut x Sec: How long should we wait for the POP3-Server until it answers?
The value ``0'' means no timeout is in effect.
- Also if Router is offline: The router will perform a dialin to look for
E-Mails. After checking all POP3-accounts the connection will be shut again.
To use this feature the Dialmode has to set to `auto'. Attention: If not using a
flatrate additional costs will arise!
- Circuit to use: Which circuit should be used for checking E-Mails?
- Stay online afterwards: Should the connection stay until Hangup-timeout or hung up
directly after E-Mail-Check.
- Load E-Mail-Header: Should the E-Mail-Headers be loaded instead of
only queriying the number of E-Mails? Loading E-Mail-Headers is a
precondition for deleting E-Mails directly on the server.
- Notify only of new E-Mails: Should only be noted for new E-Mails
acoustically and with the tray icon?
- Start E-Mail-Client: Should the E-Mail-Client bes tarted
automatically if new E-Mails were found?
- E-Mail-Client: Specify the E-Mail-Client to start.
- Param: Provide additional parameters for starting the E-Mail-Client.
If using Outlook as E-Mail-Client (not Outlook Express), you should
set /recyle as a parameter. This will use an already existing instance of Outlook
when loading new E-Mails.
- Admin
- root-Password: Set the router password (
PASSWORD
in config/base.txt)
here, i.e. to edit port forwarding locally and copy it back to the router.
- Files on the router that should be displayed: All router files mentioned here
can be displayed on the page admin/files easily via a mouse click. This way you
can review logfiles of the routers very easy directly in imonc.
- Edit Config files: Choose here if config files should all be opened in
an editor (if the TXT-files are linked to an external editor this may lead
to a huge number of open editor instances). Alternatively only the directory
can be opend to give you a chance to pick the files to rework yourself.
- DynEisfaiLog: If an account at DynEisfair exists you may set the login
data here to review a logfile for the actulization of the service on the page
Admin/DynEisfairLog.
- LaunchList serves for configuring the launch list (did you guess?).
If will be executed after a successful connect if the option ``Activate Launchlist''
is activated.
- Programs: All programs mentioned here will be started automatically
when the router established a connection and the launch list is activated.
- Activate LaunchList: Should it be executed on a successful connect?
- Traffic serves for adapting the look of the TrafficInfo window to you needs.
A user reported problems with older versiions of DirectX.
- Separate Traffic-Info-Window: Should a graphical channel visualization
be displayed in a separate window? In the context menu of the window you
can define whether the window get the StayOnTop attribute. This causes the window
to be placed on top of all other windows. This value is also saved in the
registry and thus is available even after a program restart.
- Show title bar: should the title bar of the traffic info window be
displayed? It shows with which Circuit the router is online at the moment.
- CPU usage in title bar: Should the CPU utilization be displayed
in the title bar?
- Online time in title bar: Should the online time of the channel also
be displayed in the title bar?
- Semi-transparent window: Should the window be transparent? This feature
is available only on Windows 2000 and above.
- Colors: Define the main colors for the Traffic Information window. It
should be taken into account that the DSL channel and the first ISDN channel
will be assigned the same color value.
- Limits: Set the maximum transfer values for DSL here - upload and download.
- The syslog area is used to configure the display of syslog messages.
- Activate Syslog-Client: Should imonc display syslog messages? This
option be switched off if an external syslog client (for example Kiwi's
Syslog Client) is used.
- Show All Messages From: Messages should be shown from which priority
on? It makes sense to start with debug priority to see which messages
are interesting for you. After that you may set the priority to your
preferance.
- Save Syslog Messages To A File: Should syslog messages be saved to
a file in addition? Choose the messages to be logged to the file in the
groupbox. The following placeholders are present:
- %y
- - will be replaced by the current year
- %m
- - will be replaced by the current month
- %d
- - will be replaced by the current day
- Show Port Names: Should we display port names instead numbers?
- Firewall-Messages In User Mode: Specify here whether Firewall Messages
should also be shown in user mode or not.
- The Fax Area serves to configure Fax display in imonc.
This area only appears if mgetty resp. faxrcv are installed on the router (OPT-
packages on fli4l's homepage).
- Fax Logfile: The filename set here is used to save Fax lists locally.
- Local Directory: To display Faxes they have to be stored locally. Set the
directory destination for this option here.
- Actualization: There are two different ways for imonc to recognize a new
Fax that has been received. Either imonc monitors the syslog messages
(the syslog-client in imonc must be activated then) or it checks the lofiles
in intervals. Prefer the first option if possible. If using the second option
you may specify the time interval to actualize the page Fax overview. Note
that this setting is not given in seconds but will be multiplied with the
setting in Common/Actualization interval.
- The area grids serves for adapting the tables in imonc to your own needs.
Set for each grid which colums should be shown and for grids in the area calls,
connections and Faxes since what time the infos should be displayed.
The calls page is only dsiplayed if the configuration variable
TELMOND_LOG is set to `yes' because no call log exists otherwise.
All incoming calls that were logged while the router was working are
displayed on this page. You may choose between viewing calls saved
locally or on the router. When clicking on the reset button while
reviewing the calls saved on the router the logfile there will be erased.
In the call overview you may right click on the number or MSN to copy
it to the phone book and assign a name to it there which will shown instead
from this point on.
As of version 1.4 this page displays the connections established by the router.
This helps to monitor the router's behavior especially when automatic
dialin is configured. IMOND_LOG in config/base.txt has to be
set to `yes' for this page to appear.
You may choose between viewing connections saved locally or on the router.
When clicking on the reset button while reviewing the router's connection log
it will be erased.
The following infos will be shown
- Provider
- Start date and -time
- End date und -time
- Online time
- Charged time
- Costs
- Inbytes
- Outbytes
Either OPT_MGETTY or OPT_MGETTY has to be installed
on the router. You will find both on the fli4l homepage in the opt database.
All incoming faxes will be listed on this page then. The context menu
of the overview provides several options only available in admin mode:
- A Fax may be displayed. In Admin/Remoteupdate the fli4l directory
path has to be set correctly because Faxes on the router are gzip-packed
and thus need this program to exist in the path. You may also copy
gzip.exe and win32gnu.dll to the imonc directory. If gzip.exe is not
found at this places imonc tries to open the webserver of the router
on the right page.
- A may be deleted. If chosen the Fax will be deleted locally
and on the router (the fax file and the corresponding entry in the logfile).
- All Faxes o the router may be deleted. Files and logfile on the
router are both deleted, but not from the local logfile.
You may switch between Fax overview local and on the router.
This page is shown only if at least one POP3-E-Mail-account is
configured and activated in the config dialog.
The page E-Mail should be self-explaining. Here the E-Mail-
Check is monitored. If the option ``Check even if the router is offline''
is not activated the E-Mail-Check will check all E-Mail-accounts
for E-Mails in the specified tme interval when the router is online.
If the option is activated the E-Mail-Check will go online if necessary
with the circuit in use at this moment and after this close the connection
again. Dialmode has to be set to ``auto'' for this to work.
If E-Mails are found on the POP3 server vorhanden either the configured
E-Mail-Client will be started or a new symbol is shown in the try icon
containing the number of E-Mails on the server. A double click will
start the E-Mail-Client then. If an error occurred with one of the
E-Mail-accounts a message is shown in the E-Mail-History and
the E-Mail-TrayIcon shows a red colored upper right edge.
In the E-Mail-overview you may delete mails directly on the server
by using the context menu (right click) without having to download them before.
The cell of the E-Mail to be deleted should be selected before.
Choose Delete MailMessage to perform the action.
This area is only visible if imonc is in admin mode.
The first item shows an overview on the circuits - resp. Internet providers -
which the router can choose automatically via LCR. A double click on a provider
will show the times defined for it in config/base.txt.
The second item enables you to do a remote update for the router. You may choose
which from the five packages (Kernel, Root filesystem, Opt-file, rc.cfg
and syslinux.cfg) should be copied to the router. To copy the update you have
to specify the fli4l directory to inform imonc from where it should obtain the
files needed. Also the subdirectory for the config files (default config) is needed
for creating the Opt-file, rc.cfg and syslinux.cfg. A reboot should be preformed
after the update to enable the new configuration. If a password is queried while
updating the one from config/base.txt at PASSWORD is meant here.
To avoid port forwarding ony binding to exactly one client PC you may now edit
the configuration directly on the router. For the change to come to effect
you have to reconnect. Because the file is only edited in the ram disk all changes
are lost with the next router reboot. To save your changes permanently
you have to have to adapt the base.txt in config and update the Opt-File on the router.
The fourth item on the admin page - Files - is used for easy review
of configuration and log-files simply via a mouse click.
The list is configured in Config/Admin and then ``files on router to view''.
After that you may pick which file to show in the ComboBox on this page.
The fifth item is the page DynEisfairLog. It only appears if you provided the
access data for your DynEisfair account in the Config-file. The logs of the
service will be displayed then.
The last item is the Hosts page. All computers in /etc/hosts are shown here.
All these will be pinged and the result is shown as well. In this way you
can check if a PC is on.
Those pages are only visible if entries are present in the respective logs and imonc
is in admin mode.
An the errors page all imonc/imond-specific errors are noted. If problems occur
reviewing this page may help.
On the Syslog page all incoming Syslog messages are shown except for those of the
firewall. They have an own page Firewall. In order for this to work the varable
OPT_SYSLOGD in config/base.txt has to be set to `yes'. The variable
SYSLOGD_DEST must contain the clients IP
(i.e. SYSLOGD_DEST='@100.100.100.100 - of course with the real IP
of the clients). Syslog message and according date, time, IP of the Senders
and priority will be shown.
Firewall messages are displayed on an own page Firewall to be better readable.
OPT_KLOGD must be set to `yes' in config/base.txt in addition.
If the option is activated in imonc's config news from the fli4l homepage are
shown here directly in imonc. Via http protocol the
URL http://www.fli4l.de/german/news.xml will be loaded. The five newest opt-packages
are shown here as well. For this the URL http://www.fli4l.de/german/imonc_opt_show.php
will be queried. In the status bar the headers of the news will be shown alternatingly.
© 2001-2020 The fli4l-Team - 2 February 2020