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