Files
pkgsrc-ng/net/netdisco/MESSAGE
2016-01-21 23:42:40 +01:00

29 lines
1.6 KiB
Plaintext

===========================================================================
$NetBSD: MESSAGE,v 1.3 2015/09/09 08:35:51 hauke Exp $
Here is a summary of the steps needed to complete the netdisco setup.
Please look at the documentation in ${PREFIX}/doc/ for details.
- add the netdisco administrator(s) account(s) to the netdisco group
- edit ${PREFIX}/netdisco/netdisco.conf to suit your needs. You have to
set the database password here and in netdisco_apache.conf.
- cd to ${PREFIX}/netdisco/sql/ and run ./pg --init
to create the netdisco database in postgresql.
- Add a user to the netdisco system: ${PREFIX}/netdisco/netdisco -u joebob
Give this user administration privileges, so that it will be able to
create other users though the web interface.
- Import the OUI database http://standards.ieee.org/regauth/oui/oui.txt
with ${PREFIX}/netdisco/netdisco -O
- Add an appropriate crontab to user netdisco. ${EGDIR} contains an example.
- Include netdisco in your apache config. ${EGDIR} contains two config
fragments: netdisco_apache.conf and netdisco_apache_dir.conf which
can be included in the httpd.conf to make netdisco available though
http://your.host.name/netdisco/
- Make netdisco discover one of your devices:
${PREFIX}/netdisco/netdisco -d devicename
- Make netdisco discover your network topology, if supported by your
devices: ${PREFIX}/netdisco/netdisco -r devicename
If not supported by your devices, you'll have to fill in
${PREFIX}/netdisco/netdisco-topology.txt.
- start the admin daemon: /etc/rc.d/netdisco start
===========================================================================