KNetmon Documentation



1. Intro
2. Requirements
3. Installing
4. Compiling
5. Configuration
6. Command line options
7. If Knetmon crashes ...



Intro

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

Knetmon is a program similar to netmon for windows, it displays the active users ("network neighbourhood") 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/netmon.html

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:


A working samba installation is absolutely required.

It will also work without NFS, talk, telnet, rlogin and finger.

I compile it with the following stuff:



Installing:

Unpack knetmon-0.99pre1.tgz (tar -zxvf knetm...), enter the new directory, then run configure, make and make install (in this order).
This should compile Knetmon and then copy the binary into your KDE binary directory, create a KDE applink and create a documentation directory.
Maybe you have to restart KPanel 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/knetmon and knetmon/netmonwrapper 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/en/knetmon and copy the file index.html in this directory

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 root (the root of your system must set the "set user id on execution"-flag of both files).



Compiling:


Change to the directory knetmon-#.## and execute configure. After this execute make, then it should compile.
If it fails you can edit the file config.h.in, changes in config.h will be lost after every configure run.
If you uncomment #define DEBUG_ON in defines.h, you will get a lot of ugly debugging output from knetmon.

If you are not able to compile it, please mail me: alexander.neundorf@rz.tu-ilmenau.de



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 Network-Settings:

Active workgroup:



Your user name:


Get browselist from:


Use NSLookup:


Use nmblookup:


Use IP for samba


Use workgroupname for samba


Use guest login for samba


Ask always for password and username


Installed Samba is version 2.0 or newer


Under GUI-Settings:

Use special talk program:


Use following xterm:


Start xterm with options:


Explore with:


Under More Settings:

Mount shares under:

Update period:

Patience time:

Unmount on exit





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", but since version 0.96 I don't know why anybody should need this
-h   prints a short helptext
-v   prints the version number



If Knetmon crashes...



In the case that Knetmon crashes and doesn't exit normally, e.g. using kill -9, all directories that were mounted by knetmon are still mounted. If you want to unmount them all, run the script knetmon_cleanup. It is created automatically by knetmon in your home directory. If knetmon exits normally, this script will be removed or at least be empty.