Hi Jussi,<br>
<br>
> I am happy owner of Mustek Powermust 400.<br>
><br>
>I tried to create cgi-interface to my ups with to too good results:<br>
><a href="http://hogsden.dyndns.org/cgi-bin/upsstats.cgi">http://hogsden.dyndns.org/cgi-bin/upsstats.cgi</a><br>
<br>
link down, but it seems due to your server crash...<br>
<br>
> Network UPS Tools upsstats 1.2.2 <br>
>Wed Dec 28 18:29:51 EET 2005 <br>
>System
Model
Status
Battery
Input
Output
Load UPS<br>
>Temp <br>
>Jussin UPS [error:
Unknown command] [error:
Unknown command]<br>
><br>
>
(On the browser that looks quite good...)<br>
><br>
>
I can communicate with my UPS quite OK:<br>
>...<br>
>hogsden:/srv/www/cgi-bin # /usr/local/ups/bin/upsc mustek@localhost <br>
>...<br>
><a href="http://driver.name">driver.name</a>: powermust<br>
>driver.parameter.port: /dev/ttyS0<br>
>
driver.version: 2.0.2<br>
>...<br>
> However, when I try to do the same over WWW and apache cgi-bin interface, <br>
>things start to fail:<br>
>...<br>
<br>
before continuing, you seem to use nut framework (upsd/driver) from 2.0.2 and CGIs from 1.2...<br>
Try to use the files from the same distribution (ie CGIs from 2.0.2 too) and this should solve<br>
things.<br>
Contact this list back otherwise.<br>
<br>
Arnaud Quette<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer -
<a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a>