
Netmon is a little program for showing all active 
Linux/ Window$ xx/ OS/2 -machines that are known to your local
Netbios name server (nmbd) on your X-Desktop.

It opens a wish window in the upper right corner of your desktop and
shows a button for each known machine. 

You can open a talk to each of this machines by simply pressing the button 
labeled with the machine name. Netmon tries to open a connection to the user 
whos login name is the same as the machine name. This naming convention is 
irrelevant for windows boxes (wintalk doesn't care about users) and works 
often for "single user" Linux boxes.

You can also send Win-Popups - simply press one of these buttons with the
right mouse button. Netmon opens a edit window and  you can enter your message.
Press ok (type tab, return) and the message will be sent.

There is just a little additional feature that I'm not able to kill - if you
are using a virtual desktop (like fvwm) netmon will follow to your current
desktop on every change in browse list. If you don't like this feature you
can try to fix it (I interested in getting this and each other fix) or you
can hope that there will be logon/off's relatively seldom in your net ...

To receive popups you have to add a line like:
message command = sh -c '/usr/local/bin/popup -display :0 %f %m %s ;rm %s' &

in the [global] section of your smb.conf file. Just replace /usr/local/bin with
your path to popup.


Installation:
- copy netmon and popup to /usr/local/bin or wherever you want
- change the path in line 12 of Netmon to your path to browse.dat (this file
  is written by nmbd - it is usualy located in the samba installation directory
  in ./var/locks/browse.dat).
- set a path to smbclient

Requirements:

Linux (Slackware 2.2 or 3.0)
wish 3.6 or 4.0
samba 1.9.15p8
bash (1.14.3(1) or 1.14.5(1))

Netmon was only tested with these configurations. It is possible that it will
not work with any other configuration - but not very likely. It is
probably that it will work with most other configurations - but not sure.

Ralf Mueller (Ralf.Mueller@rz.tu-ilmenau.de)
