
Q: Configure says:
   "configure: error: Must specify a location for the interface"

A: You'll have to provide a location to install the web based interface.
   This is done using --with-htmldir when running configure.

--
Q: I run netinfo but no data came

A: This can be due to many reasons:

	* You're using a kind of firewall that prevents netinfo from
	  contacting your network devices.

	* You've not setup your routers/switches correctly.
	  You should configure your routers/switches to provide SNMP
	  information.

	* Your routers/switches does not support SNMPv2.
	  Try to telnet on them. At the enable prompt try "show version"
	  If the version is not 12.0 or greater then you cannot use
	  netinfo on this devices. Try upgrading the IOS.

   In any case you can use snmpwalk (comes with libnetsnmp) to get more
   details that may help you. For a switch try:

	$ snmpwalk -v 2c -c community_name switch_ip mib-2.17.4.3.1.2

   and for a router:

	$ snmpwalk -v 2c -c community_name router_ip IP-MIB::ipNetToMediaPhysAddress

--

Q: I've added a switch but there are no IP addresses.

A: L2 switches does not know about IP addresses (except from their
   ARP cache). IP addresses are collected from routers. You'll have
   to provide a router too.

--

Q: I've added a router but no info is shown

A: You'll have to add at least one switch.

--

Q: Why #!/usr/bin/php 
Q: Why .cgi and .php ?

A: This way netinfo can be run using the suexec wrapper.

--

Q: Is netinfo secure ?

A: Netinfo does not require any privileges to work. This gives a bit
   of security when running the "netinfo" binary. As for the web
   based interface IT IS NOT DESIGNED WITH SECURITY IN MIND. This means
   the the web based interface IS NOT SECURE. You'll have to use your
   web server's abilities to password-protect netinfo web pages...
   Don't forget that the username and the password for the database
   connection is stored in a file that can be retrieved using http.
   As of version 2.3.0 help.cgi can be used to READ ANY READABLE FILE
   FROM YOUR SYSTEM.

  ** YOU SHOULD ALWAYS PASSWORD PROTECT THE NETINFO WEB PAGES OR ELSE	**
  ** YOU ARE ON YOUR OWN						**

--

Q: The web pages are not displayed correctly.

A: You'll have to use an HTML4 + CSS2 capable browser. I've tested
   the web pages using Konqueror 3.0.8 (KDE 3.1 beta2) and Netscape 7
   for linux. IE seems that is not able to display png images with
   transparency and it draws a white background on some images.

   Also note that the web pages are created using vi and kwrite and are
   auto-created from the php scripts. If you find errors send me a note.

--

Q: I'm getting some 'permision denied' lines when i'm trying to use
   the web interface.

A: You've probably created the database using another user than the one
   that you've specified in .dbconf. You'll have to recreate the databases
   using this user or grant him read/write permissions to the tables.

--

Q: The history editing pages does not seem to work properly. I get PHP
   error messages whenever i press a button.

A: It is mandatory to remove any emtpy lines before the "<?php" and
   after the "?>" lines in .dbconf. If you've upgraded from a version older
   that v2.2.1 then you'll have to edit your old .dbconf and remove the last
   (empty) line from the file.

--

Q: When i run netinfo it says that it cannot find libvlib shared library.

A: If you're using linux and you've installed libvlib in /usr or /usr/local
   then make sure that the user that runs netinfo has the apropriate read
   rights for the library. Also make sure that you've run ldconfig after
   installing the library. If you're not using linux then it is possible
   that you'll need to set an environment variable like LD_LIBRARY_PATH to
   point to the library.

   ** In any case, using --enable-static-vlib when running configure will
   solve the problem by statically linking the library to netinfo binary.

--

Q: create.sql does not seem to work. I get:

   ERROR:  Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
           Pre-installed languages are SQL, C, and internal.
           Additional languages may be installed using 'createlang'.

A: You have to create the plpgsql language for the database. See the
   README.

--

Q: Problems / Questions / Requests ?

A: v13@priest.com

--


