www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Zeroshel and Apcupsd mod

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
r1vver



Joined: 09 Apr 2010
Posts: 19

PostPosted: Tue Dec 21, 2010 12:18 pm    Post subject: Zeroshel and Apcupsd mod Reply with quote

Few days ago I get not new but still good working APC Smart-UPS. And of cource first my thought was to get Apcupsd to control my UPS and to correctly shut down my Zeroshell box in case of power failures.

Websearch provided me link http://0sh-mods.net/ (zeroshell mods) with apcupsd 3.14.8 mod for Zeroshell (I think that it's the right Zeroshell).

And my questions are:
Did anyone try this Apcupsd mod with Zeroshell?
Will it work with ZeroShell-1.0.beta12 (hdd installed)?
How to configure Apcupsd conf after installation of mod (web interface or shell and do i need nano for it or something similar)?
Do i need to put anything in preboot?

By myself i'll be able to try this mod only on this weekend, so any information will be helpfull.
Back to top
View user's profile Send private message
FlashEngineer



Joined: 23 Jan 2012
Posts: 22

PostPosted: Mon Mar 05, 2012 2:50 am    Post subject: Reply with quote

I'm having same issue as well, anyone know about this?
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 76

PostPosted: Wed Jul 16, 2014 10:55 am    Post subject: Reply with quote

Tried to get apcupsd to work with recent 3.0.0 zeroshell. UPS is detected via USB. apcupsd says can't find UPS, seems USBHIDEV kernel module is still missing!

Last edited by reaperz on Mon Apr 06, 2015 9:10 am; edited 1 time in total
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 76

PostPosted: Tue Oct 21, 2014 4:21 pm    Post subject: Reply with quote

Since I did not get it working, i did buy ASUS RT-N16 router and added Shibby Tomato AIO firmware to that. It has apcupsd integrated. With that 50 EUR solution you can get to monitor APC UPS via USB. Plus you get nice 802.11n wifi (theor max 300mbit/s on dual channels).
Back to top
View user's profile Send private message
vedrokompot



Joined: 21 Oct 2014
Posts: 3

PostPosted: Wed Oct 22, 2014 10:58 am    Post subject: Reply with quote

reaperz,

Do you tried to install apcupsd in Zeroshell 3.2.1?
Maybe kernel 3.4.90 or 3.14.21 has USBHIDEV module?
I have same problem, i need use APC with Zeroshell, but i`m beginner with Linux, and i dont know should i try to install apcupsd in 3.2.1 release or not, because it would difficult for me.
Thanks in advance!

P.S.: Can apcupsd running on ASUS RT-N16 correctly shutdown Zeroshell box when power down? apcupsd daemon doing it via net?
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 76

PostPosted: Wed Oct 22, 2014 7:08 pm    Post subject: Reply with quote

I was not interested in shutting down machine, only wanted to create UPS load, temp and voltage graphs.

But now with new 3.14.21-ZS-PAE I got apcupsd working!

cd /Database/

downloaded 0sh-mods-apcupsd-3.14.8-v1.1.tar.bz2

tar xvfj 0sh-mods-apcupsd-3.14.8-v1.1.tar.bz2
cd 0sh-mods-apcupsd-3.14.8-v1.1
./install.sh
cd /Database/

run the daemon:

/Database/opt/1.0/beta12/packages/sbin/apcupsd -f /Database/opt/x.x/packages/etc/apcupsd/apcupsd.conf

and run the command to get status:

/Database/opt/1.0/beta12/packages/sbin/apcaccess status
Back to top
View user's profile Send private message
vedrokompot



Joined: 21 Oct 2014
Posts: 3

PostPosted: Wed Oct 29, 2014 10:44 am    Post subject: Reply with quote

Thanks for the detailed reply! But I can't find 0sh-mods-apcupsd-3.14.8-v1.1.tar.bz2 anywhere. I searched on this forum, after this i googled - unsuccessfully. Site http://0sh-mods.net/ is down, i try several times on different days, but its still down. Or, my provider blocked this site. Can you post here link to 0sh-mods-apcupsd-3.14.8-v1.1.tar.bz2 mod ?

thanks again!!!
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 76

PostPosted: Thu Oct 30, 2014 8:16 am    Post subject: Reply with quote

Well, seems that domain 0sh-mods.net has expired. Guess the owner did not want to pay for that any more.

I uploaded 2 files that i downloaded from that site long ago (iftop is unrelated to apcupsd but also nice utility):

99.ee/0sh-mods-apcupsd-3.14.8-v1.1.tar.bz2
99.ee/0sh-mods-iftop-0.17-v1.0.tar.bz2


I did not add http:// in front of the links, don't want bots crawling on my site.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group