summaryrefslogtreecommitdiff
path: root/net/netdisco/MESSAGE
blob: f264682a9a299fd6432fbee7def21dd5d365a9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
===========================================================================
$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
===========================================================================