Documentation for Knetmon



1. Intro
2. Requirements
3. Installing
4. Compiling
5. Configuration
6. Command line options
7. Running multiple knetmon's



Intro

Knetmon is free software according to the GNU General Public License.

Knetmon is a program similar to for instance netmon for windows, it displays the active users in a network (unix and windows) and provides an interface to many networking related command line tools (samba, nfs, ping, talk and so on).

Latest versions you can get from
http://www.rz.tu-ilmenau.de/~lekus/software.htm

Please tell me if you manage to compile knetmon on another system than linux/pc.
Bug reports, comments, patches, suggestions ... to
alexander.neundorf@rz.tu-ilmenau.de


Alexander Neundorf


Requirements:

For complete functionality you need:


Either a working samba must be installed, then nfs isn't required, or nfs must work, then samba doesn't matter.

If you have only nfs, then showmount, nslookup, domainname -d and ping are absolutely required.

You can decide what will be used via the configuration dialog of knetmon.
It will also work without talk, telnet, rlogin and finger.
It is compiled with:



Installing:

Unpack knetmon.0.90betaR2.tgz (tar -zxvf knetm...), enter the new directory and enter 'make install'.
This should copy the binary into your KDE binary directory, create a KDE applink and create a documentation directory.
Maybe you have to restart KPanel or KWM if you are using it.
Then you should find Knetmon in the start menu under "Internet".
If you want to install Knetmon manually:
-copy the binary knetmon/bin/knetmon in your KDE binary directory ($KDEDIR/bin)
-copy knetmon/knetmon.kdelnk in the location where your other *.kdelnk files are and restart kpanel
-create a directory $KDEDIR/share/doc/html/eng/knetmon and copy the file index.html in this directory

If you get a lot of console output, start it like:
knetmon >/dev/null &

If Knetmon runs, configure it, you will find the configuration dialog under ->More ->Configure .

Make sure that you have the right to execute smbmount, this means, that smbmount and smbumount must be installed suid (the root of your system must set the "set user id on execution"-flag in both files).



Compiling:

Change to the directory knetmon and enter make, then it should compile, the binary will be created in the directory knetmon and bin. If it doesn't compile, edit the file config.h to fit your configuration, this means mainly to adjust the directories of your Qt and/or KDE headers and/or libraries.
Some warnings will appear.

Users of RedHat 5.1 and other systems without libg++ need additional knetmon.missing_files.tgz, this must be installed over the source of knetmon. You can get it from the same locations where you can get knetmon.



Configuration:

If Knetmon runs, configure it, you will find the configuration dialog under ->More ->Configure .
Knetmon reads its configuration usually from the file ($KDEDIR)/share/config/knetmonrc and if this one doesn't exist from ($HOME)/.kde/share/config/knetmonrc.

Under Settings:

Mount shares under:


Temporary file:

Update period:

Unmount on exit

Under Network-Settings:

Your user name:

Use NSLookup:

Use samba for getting browselist

Get browselist from:

Use IP for samba

Under GUI-Settings:

Use special talk program:

Max number of button rows:

Adjust fontsize:

Use following xterm:

Start xterm with options:

Explore with:





Command line options

There are only a few command line options for knetmon at the moment:

-c /anydir/ownconfigfile   starts knetmon reading and writing its configuration to the file "/anydir/ownconfigfile"
-h   prints a short helptext
-v   prints the version number



Running multiple knetmon's

If you want to see the users of more than one workgroup or from different servers, you can start knetmon with different configfiles. Let's say, you want to see the workgroups "wg1" with server "wg1server" and "wg2" with server "wg2server" then you have to do the following:

Start one knetmon and configure it this way, that it works with workgroup "wg1", maybe like this:

Then create another configuration file in your home directory or anywhere else, the standard configuration file knetmonrc is usually located in $KDEDIR/share/config or $HOME/.kde/share/config.
Change in this directory and copy knetmonrc like this:

Now open the configure dialog and change the following:

I hope it should work now. If you start knetmon without any further options you should see workgroup "wg1", and to see workgroup "wg2" you have to start: