Category Archives: #Blog

Quotes by Arthur C. Clarke

Arthur C. Clarke formulated the following three “laws” of prediction:

  1. When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is probably wrong.
  2. The only way of discovering the limits of the possible is to venture a little way past them into the impossible.
  3. Any sufficiently advanced technology is indistinguishable from magic

Techlab Bridge

I upgraded my WIFI Bridge to a clients T-1 to use the Bullet2HP radio endpoint.  System is definitely added to my tools. More detailed setup to come.

Techlab power usage to Facebook

This project was thought up as way to keep an eye of my power usage and let the world know when I am working.

The system uses the following

Setup

  1. Connect Wattsup Pro to whatever equpment you want to monitor
  2. Connect the supplied USB cable to your PC
  3. Setup new account
    1. Gmail
    2. Posterous
      • Configure account with new Gmail account
      • Configure Autopost feature to update Profile
        • Facebook
        • Twitter
        • Etc.
  4. Install Wattsup Linux Utility
  5. Write Perl/Shell Scripts to do the following
    1. Poll Wattsup via the USB Port to test
    2. Email results to post@posterous.com
  6. Configure Crontab Job to run scripts every day at noon

 

Scripts

:::::::::::::: historylog.sh ::::::::::::::

#!/bin/sh cat
‘/home/vitech/logs/currentusage.txt’ >> /home/vitech/logs/usage.txt

 

:::::::::::::: watts2fb.sh ::::::::::::::

#!/bin/sh

/home/vitech/scripts/watts2fb.pl > /home/vitech/logs/snapshottusage.txt

/home/vitech/scripts/smtp-cli –verbose –from=XXX@gmail.com –to post@XX.posterous.com –data /home/vitech/logs/snapshottusage.txt

 

:::::::::::::: wattslog.sh ::::::::::::::

#!/bin/sh date > /home/vitech/logs/currentusage.txt

/usr/local/bin/wattsup -c 1 ttyUSB0 watts >> /home/vitech/logs/currentusage.txt /home/vitech/scripts/historylog.sh

 

:::::::::::::: watts2fb.pl ::::::::::::::

#!/usr/bin/perl

open FILE, “/home/vitech/logs/currentusage.txt” or die $!;

$i=0;

while ()

{ @line = split (/ /,$_); chomp $line[5];

if ( $i == 0 )

{

$tstamp=$line[1]. ‘ ‘ . $line[2] . ‘ ‘. $line[5]. ‘ ‘ . $line[3] ;

}

if ( $i == 1 )

{

$watts = $line[0];

}

$i++;

}

$send = $tstamp . ‘ ‘ . $watts;

print “Subject : Watts used $wattsn”;

print “@line watts”;

 

 

My resources

Here is where I list my tools of the trade :

 

 

  • Hardware
    • Lenovo S10 Netbook
    • Mobile Phones
      • AT&T Backflip Android
      • Verizon Droid
      • Sprint Palm with Windows Mobile 6.1
    • Moleskin Notbooks
  • Software
    • Windows 
      • XP Professional
      • 7  Professional
      • 2003 Server
    • Linux 
      • CENTOS 5.4
      • SuSE
    • FreeBSD
    • Evernote
    • Firefox Browser
    • Synegy
    • Microsoft Office 2003/2007
    • Angry IP Scan
    • RealVNC
    • PuTTY/WinSCP
  • Services
    • Google Apps

 

As always more to come.

About

V.I. Technical Services, LLC (VITECH), is located, registered and licensed to do business in the U.S. Virgin Islands. The business is an independent Information Technologies consulting firm in the Virgin Islands with more than 20 years of experience. VITECH specializes in the design, engineering, equipment and materials specification, equipment procurement, installation and maintenance of Local and Wide Area Networks for Data and VoIP applications. Its clients include owners of some of the larger commercial buildings in the territory, and businesses that demand superior infrastructure and off-island connectivity, with bandwidth intensive applications and class “A” network equipment specifications and maintenance requirements.

Clients are predominantly in the financial services sector or are commercial office space developers with tenant requirements that include centralized data and communications services.  Some are multi-building campuses with high speed optical backbones and wireless bridges. Almost all clients use high speed Internet connections to off-island locations for Virtual Private Networks, FTP file transfer, Terminal Services, Video Conferencing, Data backup services, Voice over Internet Protocol communications, IP trunking, and toll-bypass applications.

V.I. Technical Services currently has 3 full time personnel and 1 part-time assistant. These staff-persons carry out the everyday consulting and system maintenance functions. However, part of VITECH’s business success is due to their experience and expertise in procuring and supervising competent sub-contractors for initial and upgrade cabling installation work. Close supervision ensures that all sub contract work meets VITECH design specifications, and is completed and certified to EIA/TIA 568-A specifications and associated best-practice recommendations.