Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday, October 18, 2011

Broken Windows? Ubuntu Linux Saves the Day

Ubuntu Live CD Desktop
Article first published as Broken Windows? Ubuntu Linux Saves the Day on Technorati.

You may have heard about Linux. Perhaps you imagined it as a clunky DOS-like command line system, used by uber-geeks in dark basements and server rooms to perform their geeky techno-magic.

In truth, Linux has matured into an easy to use operating system, complete with a vast eco-system of free software that rivals Windows and Mac in simplicity and beauty. It rarely needs a reboot and viruses are virtually unknown.

Canonical has just released Ubuntu 11.10, it's latest version of the popular Ubuntu Linux distribution. It calls itself 'Linux for Human Beings' and it aims to be one of the most newbie friendly Linuxes. It's innovative 'Unity' GUI (graphical user interface) is designed for simplicity and functionality.

Ubuntu is not shareware or spyware. It is a full-featured system which is provided free of charge through 'Open Source' licensing.

Open Source is a philosophy as much as a license. It gives developers the right to use and build upon the progress of previous developers. Unlike proprietary software, the source code is provided for review, modification and distribution.

This type of collaborative development leads to rapid progress and innovation. Linux runs everything from desktop systems and smart phones to toasters and super-computers.

You don't have to install Ubuntu to try it out on your computer. Many Linux distributions are offered as 'Live CDs/DVDs which run completely off your CD/DVD player. They come with a full library of software pre-installed for everything from a MS Office compatible Office suite to photo editing and email.
 
Linux Mint is based on Ubuntu, but includes popular software, like Flash, Java and proprietary video drivers by default.

Simply download and burn the .iso (disk image) to a CD/DVD. Drop it in your computers' CD/DVD drive and reboot. Most everything works 'out of the box.' Video, sound, wifi, printers and networking. You can explore Linux and enjoy all the free software without risk. Simply eject the disk when your done and the computer reboots as before.

These live CDs are a great tool for malware infected Windows computers. In a pinch, they can provide you with a fully functional and secure system, loaded with the latest software and hardware drivers. Use them to back up files from a dying hard drive or fix a borked master boot record. At least you will have a working system until you can get Windows fixed (again).

Use a Live Linux CD to clean an infected Windows system yourself. Boot using a live CD and simply visit a reputable online virus scanner like TrendMicro, Bitdefender, Kaperskey, or use a free malware detection tool kit like the Kaspersky Rescue Disc.

If you choose to keep Linux on your computer, most Live CDs will walk you through installation, either completely replacing Windows or along side it (called dual-booting).

So head on over and download one of these great free systems. Explore thousands of free software titles from games to utilities.  Keep the live CD handy to rescue malware crippled Windows computers or retrieve data from an unbootable hard drive.

You don't have to be a geek to enjoy the freedom that Linux systems offer. They are simple to use, virtually virus free and solid as a rock.

And while you're at it, take a moment to remember Dennis Ritchie, a father of C and Unix, upon which most modern computing is based. He passed away last week, but these fundamental contributions will live on. RIP and thank you from all of us.

Thursday, October 6, 2011

How Do Viruses Sneak Into Your Computer?

 Article first published as How Do Viruses Sneak Into Your Computer? on Technorati.

contreraspcrepair.com - CC
When was the last time you updated Java, Adobe Reader, Flash or Internet Explorer? These four programs are responsible for 95% of malware infections on Windows computers.

Researchers at the Center for Strategic and International Studies  have monitored over a half million infections over the past three months, utilizing 50 different exploits distributed by 44 different servers. Most malware attempted several different exploitation techniques, searching for known bugs in unpatched software.

The results showed that the vast majority of vulnerabilities in Windows computers were in out-of-date third-party software. The worst offenders were Java, Adobe Reader, Adobe Flash and Internet Explorer.

More disturbing is a whopping 85% of infections were the result of 'drive-by' downloads. These slip into the machine by simply visiting a compromised website or viewing infected .pdf or flash files.

Unsurprisingly, Internet Explorer exploits continue to be common intrusion methods, accounting for 10% of infections, and two-thirds of other infections occurred while using IE.

But don't think your safe just because you are using Firefox, Chrome or Safari. One third of intrusions occurred while using one of these other popular browsers.
Windows XP users accounted for 41% of malware infections, with Vista not far behind at 38%. Windows 7 is better, but still accounts for 16% of exploited machines.

Using a secure browser can help, but the real vulnerabilities exist in add-on programs. Worst is unpatched Java, accounting for 37% of infections. Out-of-date Adobe Reader is not far behind at 32% and old versions of Flash are responsible for about 16%.

Fewer, but still significant numbers of users have been exploited through Quicktime (2%) and disturbingly, Windows Help & Support HCP (3%).

The most important statistic in the study was that almost all exploits (95%) were the result of running out of date versions of one of four specific  programs: Java, Adobe Reader, Adobe Flash or Internet Explorer.

So when was the last time you updated these commonly used browsers or plugins? If your not sure, here are links to their update sites:

Java
Adobe Flash
Adobe Reader
Internet Explorer

UPDATE THESE NOW!

Sunday, August 14, 2011

Setting Up a Free Weather Webcam


"Everyone talks about the weather, but no one does anything about it." - Mark Twain

Weather webcam image
The weather effects our lives everyday and weather websites are among the most heavily trafficked on the web. They tell us whether we will need an umbrella today or what to pack for a trip across the country.

Weather webcams are always popular and it is easy and free to set one up yourself. Whether you run Windows, Mac or Linux there are tools and hosting available which only requires you own a webcam to be up and running on the web.

Basically you need three things: a webcam, software which can upload via ftp and a website which will host and publish your images.

Webcams are ridiculously cheap these days and if you don't have an old one in a drawer somewhere, they are available online or at your local department store for 10.00 and up. Generally, you want the best resolution you can afford with back light and white control, if possible.

Webcam software is usually included with your webcam or is widely available online. You will need a program which can upload your images to the web via ftp or sftp.

Free software for Windows is available here:
http://www.lundie.ca/fwink/

For Mac:
http://www.klieme.com/EyeSight.html

And Linux:
I use uvccapture, designed for still webcam images, it handles auto-exposure better than software designed for streaming video. It is available in the Ubuntu repositories or you can grab it here:
https://github.com/csete/uvccapture
See "My Linux Setup" below for instructions. 

Camorama Software
Regardless of the software, the process will be the same: Capture an image, save it to your computer, use ftp (or sftp) to upload it to a remote server, view it online.

For free weathercam hosting and making the images available online, I use weatherunderground. They will broadcast your images, create a video of the last 24 hours and even provide a weather calendar of the last month which offers videos for each day.

Ok. Lets get started.

Plug your webcam into a usb port on your computer. Point the camera out the window. This sounds simple enough, however there are considerations which may complicate your choice of view.

Direction: Pointing your camera either due west or east will result in direct sunlight on your camera and window glass during part of each day. This usually results in overwhelming glare which can obliterate the image. If possible, it is best to point your camera either north or south so it will not be pointed directly into the sun.

Distance: USB looses signal strength with a cable over 15' long. This can cause corruption of your images and an unreliable source. Choose a window which you webcam can reach without using an extension or keep the total distance under 15 feet.

Sky Cam
Subject: Choose a view which gives the info you are looking for. Are you watching for snow so you know if you need to leave work early? If yes, then make sure you can see the ground. Are you watching the sky for approaching threats of bad weather? Point it toward an open area of sky, preferably in the direction which weather usually approaches (avoiding due west/east if possible).

Once you have decided on a view, next you will need to create an account with your host. In the case of this article, that will be weatherunderground.
Go here to setup an account:
http://www.wunderground.com/members/signup.asp

Setup your webcam here:
http://www.wunderground.com/webcams/signup.html

You can choose to upload images via FTP or URL. This means either you will send the pics directly to weatherunderground via FTP, or point them toward your own website where your webcam already exists. We will be using the ftp option.

Streamcam Software
To setup your webcam, you will be asked a few questions:
First, select the FTP option and give some general information about your organization (if any) and location. Select your timezone. Your address is requested, but general area info is fine. Enter the City, State and Zip Code. Your latitude and longitude will be calculated.

If you have a Personal Weather Station (PWS) and would like to upload the data, you can enter the address, IP or url here.

Finally, you can choose to share your camera type and this info will appear on your webcam page.

Click 'Save Changes' and you will be taken to a page where your camera will be listed with a name like mywebcamCAM1. It will show the location you entered and allows you to add another webcam if you have one.

Go to your webcam software and use the following settings, per the WunderCam FTP Wiki:
   "FTP SERVER: webcam.wunderground.com
    Username: You will be provided with a Camera ID on the sign up page in the "Your Current Cameras" box.
    Password: You will need to log in with the same password you use to access the Weather Underground site.
    Directory: We actually move the file for you, so if your software requires a directory you should set it as '/', but otherwise leave it blank.
    Filename: We also change the filename of your image, so a default name can be almost anything you'd like but 'image.jpg' is preferred.
    Binary: Please make sure that you are uploading your images through FTP using the binary setting.
    Image Resolution: There is no minimum or maximum resolution. However, the larger the resolution, the larger the file size, so please adjust your resolution and image quality settings to get the best image within the size limitations. "
If you click on the link which is your CameraID, it will take you to your own webcam page, which displays your current image, date and time, current local conditions, camera type and you will start building a calendar which shows still and videos of each day.

 

Bookmark this page or link to it from somewhere else for a reliable free weathercam, accessible from anywhere (including from your smartphone). You will also see your webcam included in their weathercam 'library', which is available by clicking on the 'webcams' tab on the weatherunderground site.

Last, monitor your new webcam for a few days and adjust as necessary to reduce glare (clean the glass, inside and out), fine tune the image and make it as useful to you and interesting to others as possible. Finally, If desired, you can submit your webcam to a site such as 'EarthCam', to be included in their listings of worldwide webcams.  As their tagline boasts, "Where the World Watches the World".

As Mark Twain noted, we may not be able to do anything about the weather, but we can monitor it closely and be prepared for it. Your new weathercam makes that easy and fun.

*********************************

EDIT: In November, 2017, Weather Underground announced that it was discontinuing it's free webcam hosting. Over the next month, webcams started dropping off or rarely updating. Many users found other hosting or risked losing their web presence.

Happily, Weather Underground users were vocal about their "passionate support" for their weather webcam network and on December 7, 2017 announced they would "continue to allow users to add webcams to the Weather Underground Network."

Thank you, Weather Underground for listening to your customers and continuing this valuable public service and a big thank you to WU webcam users who spoke up and saved this network of free weather webcams around the world.


*********************************

My Linux Setup

Install uvccapture, then open Startup Applications and paste the following code into the 'command' section.
uvccapture -m -t600 -q75 -x640 -y480 -o/home/user/webcam/image.jpg
This string of commands loads the program and instructs it to refresh the image every 10 minutes (600 seconds), to use compression on the JPG file at 75% quality. It states the webcam resolution, which must be supported by your device. The last argument includes the location to save the image file.

More info and commands for uvccapture are located here: http://manpages.ubuntu.com/manpages/natty/man1/uvccapture.1.html 

For basic ftp upload of images, try this simple script.
Copy and paste the following into a text editor. Edit lines 4, 5 & 6 in the top section and line 5 in the bottom section:
# vi ftp-run.sh
#! /bin/sh
#run this file with ./ftp-run.sh
REMOTE='your-remote-server.com'
USER='username'
PASSWORD='password'
FTPLOG='/tmp/ftplog'
date >> $FTPLOG

ftp -n $REMOTE <<_FTP>>$FTPLOG
quote USER $USER
quote PASS $PASSWORD
bin
/home/user/webcam-folder
mput image.jpg
quit
_FTP
Save the file as ftp-run.sh in the webcam folder. Right click on the icon and under Permissions, click to 'Run this file as a program'. I set up a cron job to run this script every 10 minutes with this command:
crontab -e
    arrow down to bottom

Paste:
*/10 * * * * cd webcam && ./ftp-run.sh

Ctrl + x to exit
Y to save
Enter

More fun with your webcam: PortalView Live Desktop Wallpaper for Linux