=> Creating binary package /data/scratch/net/netdisco/work/.packages/netdisco-1.3.3.tgz netdisco-1.3.3nb2: Creating group ``netdisco'' netdisco-1.3.3nb2: Creating user ``netdisco'' useradd: Warning: home directory `/usr/pkg/netdisco' doesn't exist, and -m was not specified netdisco-1.3.3nb2: copying /usr/pkg/share/examples/netdisco/netdisco-topology.txt to /usr/pkg/netdisco/netdisco-topology.txt netdisco-1.3.3nb2: copying /usr/pkg/share/examples/netdisco/netdisco.conf to /usr/pkg/netdisco/netdisco.conf netdisco-1.3.3nb2: /usr/pkg/netdisco/netdisco.conf already exists =========================================================================== The following files should be created for netdisco-1.3.3nb2: /etc/rc.d/netdisco (m=0755) [/usr/pkg/share/examples/rc.d/netdisco] =========================================================================== =========================================================================== The following files are used by netdisco-1.3.3nb2 and have the wrong ownership and/or permissions: /usr/pkg/netdisco/netdisco.conf (m=0660, o=netdisco, g=netdisco) =========================================================================== =========================================================================== $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 /usr/pkg/doc/ for details. - add the netdisco administrator(s) account(s) to the netdisco group - edit /usr/pkg/netdisco/netdisco.conf to suit your needs. You have to set the database password here and in netdisco_apache.conf. - cd to /usr/pkg/netdisco/sql/ and run ./pg --init to create the netdisco database in postgresql. - Add a user to the netdisco system: /usr/pkg/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 /usr/pkg/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: /usr/pkg/netdisco/netdisco -d devicename - Make netdisco discover your network topology, if supported by your devices: /usr/pkg/netdisco/netdisco -r devicename If not supported by your devices, you'll have to fill in /usr/pkg/netdisco/netdisco-topology.txt. - start the admin daemon: /etc/rc.d/netdisco start ===========================================================================