

			    TkNetmon 2.0.7a
			    

UNIX 	
    FreeBSD 5.4
    
    Packages needed:
	 X Window
	 Tcl-8.4.4,1
	 Tk-8.4.4,1
	 tktable-2.8
	 blt-2.4z 
	 tcl-sql-20000114_2
	 snack-2.2
    optionally needed:
	fping 
	net-snmp-5.?? 
    packages, expected to be installed on local or other host:
        mysql-server-3.23.??
	netmond-2.2-b6
	
    If you have PACKAGEs (tktable-2.8.tgz blt-2.4z.tgz tcl-sql-20000114_2.tgz snack-2.2.tgz),
    then:

    # pkg_add TkNetmon-2.0.7a.tgz
	
    If you have source archive only:
    #
    # Suppose, you have compiled and installed Tcl, Tk, Blt-2.4,
    # TkTable-2.8, tcl-sql-20000114_2. MySQL server installed some where in your net.
    # 
    #

    % ftp ftp://ftp.nsk.su/pub/RinetSoft/netmond-2.2.tgz
    % tar zxvf netmond-2.2.tgz
    % cd netmond-2.2
    % patch </some/where/SrcAddress.patch
    % ./configure
    % make
    % su
    Password:

    # pw groupadd netmon -g 2002 -M root
    # install -c -m 1550 -o root -g netmon ./netmond /usr/local/sbin 
    # install -d  -m 550 -o root -g netmon /usr/local/lib/TkNetmon-2.0.7a
    # tar zxf TkNetmon-2.0.7a.tar.gz -C /usr/local/lib/TkNetmon-2.0.7a
    # install -c -m 550 -o root -g netmon /usr/local/lib/TkNetmon-2.0.7a/sbin/netmondctl /usr/local/sbin

    # chown -R root  /usr/local/bin/TkNetmon-2.0.7a 
    # chgrp -R netmon /usr/local/bin/TkNetmon-2.0.7a 
    # chmod -R ug-w /usr/local/bin/TkNetmon-2.0.7a
    # mv /usr/local/lib/TkNetmon-2.0.7a/doc /usr/local/share/doc/TkNetmon-2.0.7a
    
    No need "root" privileges to run TkNetmon.
    Current user must belong to "netmon" group.    
    It is useful to create special user "netmon", and run TkNetmon from this user:  
    
    # pw useradd -n netmon  -u 2002  -g wheel  -c 'Network Monitor account' -d /usr/home/netmon -m \
	-s /bin/csh
    # pw groupmod netmon -M root,netmon
    
    You may install sudo-1.6.?? package and configure it to allow netmon run
    reconfiguration script:
    
    # echo "netmon   ALL = NOPASSWD:/usr/local/sbin/netmondctl" >>/usr/local/sudoers 
    
    Events log expected to be in MySQL table. You may create it with commands:
    
    # mysql <examples/netmon.db.sql

    % TkNetmon 

Linux  
    Similar like for FreeBSD
    


    