NetCartographer
NetCartographer is a Java application that runs as a client-side windows application. It has user interfaces for viewing the network topology and network connections with traffic utilization. It is the official Java GUI of Pawikan.
NetCartographer requires a Java in the system where it will be run. Here is how to install Java in FreeBSD.
- su root
- cd /usr/ports/java
- cd linux-sun-jdk14
- make install clean
NOTE: follow the instructions on what to download.
this installation via ports collection requires you to manually download certain files.
After installing the Java, install netcartograper and run "./netcartographer.sh". You might recieve an error below.
ERROR: "Connection to database failed!"
This is error is due to the fact that the NetCartographer uses a Postgresql connection to the remote Pawikan server. Due to security settings in the Postgresql database, all hosts are barred from connecting not unless the "pg_hba.conf" was edited and allowed your IP to connect. So please edit the "pg_hba.conf" in the Pawikan server where ou wish to connect.
Edit the "pg_hba.conf and put at the end of the line stating to permit your IP address to connect:
host all all 10.10.8.3 255.255.255.255 trust
You will see this error in the Pawikan database promt.
FATAL: no pg_hba.conf entry for host "10.10.8.1", user "postgresql", database "netmon"
Make sure to restart the Postgresql server after editing the pg_hba.conf.
Now, retry connecting the NetCartographer again and it should work now!
|