Saturday, March 2, 2013

UPS on Netgear ReadyNas Duo

On the Netgear ReadyNas Duo you can add a UPS to prevent data loss.
But how do you manage that with out being present or able to login to your ready nas.
With the cli of course. First you have to setup the webui to handle the connection.
To do this you must login to the readynas
Click System
   >> Power
  >>> Under UPS Configuration you can select Enable network monitoring of attached UPS
      >>> Now you can enter your Ip of the host you want to check the ups status.


Here is what the output looks like

~]# upsc UPS@172.x.x.x
battery.charge: 100
battery.chemistry: PbAc
battery.runtime: 1688
battery.voltage: 27.6
driver.name: hidups
driver.parameter.lowbatt_pct: 0
driver.version: 2.0.5
ups.mfr: APC
ups.model: Back-UPS XS 1500 LCD
ups.serial: JB0648006890  
ups.status: OL

take your battery.runtime and / 49 and you get your time in mins
so mine is 
$ bcalc 1688/49
34.4489
34 mins of run time 

hmc clean up things


show disk stats
monhmc -r disk -n 0


Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             16121184   8686268   6616004  57% /
udev                   1036752       132   1036620   1% /dev
/dev/sda3              6040320   1775564   3957916  31% /var
/dev/sda7              8056524    158620   7488652   3% /dump
/dev/sda8             32297564    203056  30453872   1% /extra


Zero out
chhmcfs -o f -d 0

Watch for /var filling up past 50%

If /var ever fills up past 50% you will have trouble logging in via the web or ssh .

Thursday, February 28, 2013

synergyc fun over ssh


Client side

 synergyc -f localhost
 ssh -f -N -L localhost:24800:host_server:24800 host_server

Server Side

 cat /etc/synergy.conf
 section: screens
 t520:
 t420:
 end
 section: aliases
 t420:
 t420s
 t520:
 t520.local
 end
 section: links
 t520:
 down = t420
 t420:
 up = t520
 end
 section: options
 screenSaverSync = false

 synergys -f --config /etc/synergy.conf



Wednesday, February 27, 2013

About my system

 APEVIA X-Superalien ATXA6SW-BL/500 Blue Aluminum Server Computer Case
 CORSAIR CMPSU-750TX 750W ATX12V
CORSAIR DOMINATOR 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066
ASUS Striker II Formula LGA 775 NVIDIA nForce 780i SLI ATX Intel Motherboard
Intel Core 2 Quad Q6600 Kentsfield 2.4GHz LGA 775 Quad-Core Processor BX80562Q6600
Rosewill RCX-Z775-EX 92mm 2 Ball CPU Cooler
2 Western Digital Caviar Black WD1002FAEX 1TB 7200 RPM SATA 6.0Gb/s 3.5
nvidia geforce 9800 GTX

Tuesday, February 19, 2013

using screen as serial terminal

screen -L /dev/ttyUSB0115200 cs8

  • /dev/ttySX:
  • baud_rate: 300 1200 9600 19200 38400 57600 115200
  • cs8 or cs7: eight (or seven) bits per byte.
  • ixon or -ixon: software flow-control (CTRL-S/CTRL-Q) sending data.
  • ixoff or -ixoff: software flow-control receiving
  • istrip or -istrip: Clear (or keep) the eight bit in each received byte.

Example connecting to power pc 

screen -L /dev/ttyUSB0 19200 vt100

Thursday, February 14, 2013

UPS on NETGEAR ReadyNAS Duo






[root@fedora-arm ~]# upsc UPS@172.x.x.x
battery.charge: 100
battery.chemistry: PbAc
battery.runtime: 1036
battery.voltage: 27.2
driver.name: hidups
driver.parameter.lowbatt_pct: 0
driver.version: 2.0.5
ups.mfr: APC
ups.model: Back-UPS XS 1500 LCD
ups.serial: JB0648006890
ups.status: OL

Sunday, November 11, 2012

Pandora no more

Well I gave up on waiting for my open Pandora a year ago and asked for my money back. And now I  have tf101 and keyboard dock.

Sunday, August 14, 2011

Open Pandora

Well I'm Still waiting for my Pandora. But I have kept my hopes
up with the new production Company. So far I have waited
2 years, 5 months, 9 days or 892 days. That's along time for
A gaming device/Computer.