From owner-freebsd-questions Mon Jul 15 14:32:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D335837B400 for ; Mon, 15 Jul 2002 14:32:19 -0700 (PDT) Received: from sundsu1.deltast.edu (sundsu1.deltastate.edu [209.147.241.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id E164C43E64 for ; Mon, 15 Jul 2002 14:32:18 -0700 (PDT) (envelope-from zjoe@sundsu1.deltast.edu) Received: from jbentley (dhcp-a170.deltastate.edu [10.1.2.170]) by sundsu1.deltast.edu (8.12.2/8.12.2) with SMTP id g6FLWEDQ008164; Mon, 15 Jul 2002 16:32:14 -0500 (CDT) Message-Id: <3.0.6.32.20020715162307.007d7ca0@sundsu1.deltast.edu> X-Sender: zjoe@sundsu1.deltast.edu X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 15 Jul 2002 16:23:07 -0500 To: freebsd-questions@freebsd.org, jon From: zjoe@sundsu1.deltast.edu Subject: Re: Need help with software to run my APC UPS In-Reply-To: <200207090128.g691SJro026414@smtp-server6.tampabay.rr.com> References: <3.0.6.32.20020708000844.007a3d30@sundsu1.deltast.edu> <3.0.6.32.20020708000844.007a3d30@sundsu1.deltast.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >did you comment out > >#ttyd0 "/usr/libexec/getty std.9600" dialup off secure >or >#ttyd0 "/usr/libexec/getty std.9600" dialup off secure > in /etc/ttys? this was my problem. Tried this and it didn't work. This is where I stand now: 1. Two computers each with a APC Back-UPS Pro 650 and cable attached (one has a 940-0095A and the other has a 940-0095B). 2. One computer runs FreeBSD4.6 and the other runs FreeBSD4.4 3. *Neither* computer will work with "bkpupsd" or "apcupsd" from the ports collection. A) type: bkpupsd /dev/cuaa0 result: on one computer it starts the daemon, but won't perform when power plug is pulled, on the other computer it starts the daemon, but immediately annouces the power has failed and shuts down B) type: apcupsd start result: one computer hangs, the other complains it can't communicate with UPS. Note: A guy on the apcupsd mail-list has the same exact UPS+cable and runs FreeBSD4.6 and sent me his "apcupsd.conf" file. I had the same result with it. 4. Tried installing "upsd" from the ports collection on one computer and the computer hung on booting -- isn't this one needed for NUT to work? (Also installed NUT, BTW.) 5. Totally baffled at this point. According to apcupsd.com, one possible source of error in a situation like this one is: "Chosen serial port has logins enabled. You must disable logins on that port, otherwise, the system prevents apcupsd from using it. Normally, the file /etc/inittab specifies the ports for which a getty process is started. You must disable getty for the port which you wish to use." I'm not sure I disabled logins for the device correctly. Not sure what to do now. Important note: Several years ago one of these UPSs worked with "bkpupsd" with the exact same hardware -- but after I upgraded that very old version of FreeBSD it won't work. Any ideas? :) ----------------------------------------------------------------------- Dr. Joseph A. Bentley Professor of Chemistry Dept. of Physical Sciences Phone: (662) 846-4482 P.O. Box 3255-DSU FAX: (662) 846-4486 Delta State University E-mail: jbentley@dsu.deltast.edu Cleveland, MS 38733 E-mail: zjoe@sundsu1.deltast.edu "It is not enough to succeed. Others must fail." -- Gore Vidal ----------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message