Restive Technology

“Technology makes it possible for people to gain control over everything, except over technology” -John Tudor

Browsing Posts published in May, 2009

A long time ago, in a galaxy far far away, Windows always ran on DOS.  Furthermore, file names longer than 8 characters with a 3 character extension were not allowed.  Nor were files that ended in a space.

When Microsoft decided to extend the file name length to more than 8.3 characters, they made the latter backwards-compatible with the former dos ways.  Therefore, a file name like

“My Pictures”

was interpreted in 8.3 format as

“MYPICT~1″

Normally, this feature is never used, because modern day Windows programs use long file names with spaces and other symbols with no problem.  But today, I found an anomaly, a directory of my friend’s pictures that was created (in Unix) with a space at the end, and Windows simply refused to delete it. All the history of Windows and DOS came rushing back to me in one sweet moment.

I tried all the classic ways to do it.  Command line, reboot, try to rename the directory before deleting it.  The problem was, Windows could tell that the file had a space at the end.  I would type ‘del Mich<tab>’ and Windows would fill in the rest of the prompt to say ‘del “Michelle “.’  But I couldn’t delete it until I stumbled across a simple solution:

First, use “DIR /X” to find the 8.3 filename.  Then use del to delete that simple 8.3 name.

Simple, yet profoundly historic.  Much as Microsoft has tried to hide DOS and render it irrelevant in Windows XP, it still shows its roots now and then.

I use Nagios to monitor services. I use a script called check_openmanage to monitor the Dell OpenManage agent on ESX servers using SNMP.  I noticed that it was returning the result

“UNKNOWN: (SNMP) OpenManage is not installed or is not working correctly”

In order to diagnose the problem, I had to connect to the ESX server via SSH.  OpenManage 5.5 runs a few services on the ESX backend.  To check the services, I ran:

/sbin/chkconfig –list |grep dsm

Those services looked fine… so I ran another command for more detail

/sbin/service –status-all |grep dsm

Aha,  dsm_sa_snmp32d was not running.  But I didn’t know the name of the service attached to it.  I found the file:

find / -iname dsm_sa_snmp32d

/opt/dell/srvadmin/dataeng/bin/dsm_sa_snmp32d

OK, I know where that file is… but how does Dell want me to run it?

ls /opt/dell/srvadmin/dataeng/bin

I see “dataeng” as a lone file without an extension.  It is probably the executable that starts the other services.  Sure enough if I ls /etc/init.d I find the same file.

/etc/init.d/dataeng restart

And everything’s working again!

Why did it happen?  Who knows.  It was working fine for months before, so I will just shrug it off as one of those things.  I don’t have time to mess with it any further.

A Windows user is nothing without his tools.  I mostly manage Windows systems –  I use Linux too, but mostly Windows.

With that in mind, here are my top 17 favorite Windows tools, all free of charge.  Many of these will be in other lists, and that’s good, it means they are tools that a lot of people recommend.  Others are more rare pieces of software, treasures I have found useful.

There are obviously many alternatives to this list, but the reason I chose each of these is because they stand apart from others I’ve found in terms of features, user interface, ease of use, and stability.  Perhaps tool X doesn’t do what you want because it doesn’t have feature Y… but for the most part, these products do everything I need them to do, so I recommend them.

1. jZip – A free alternative to WinZip.  It also supports more options, like reading .iso format.  Very useful.

2. FileZilla – FTP Client (and the server is good too!)  Not only is it free, but it’s also the best FTP client I have found.  It supports SSL and you can FTP through SSH if you have a linux server–very useful.

3. Paint.NET – A free replacement for Photoshop (or Paint if you’re still using that).  Supports simple layers and most of the common tools also found in Photoshop.

4. Firefox – Many people don’t bother to choose a browser, since Windows has been bundled with Internet Explorer since 1998.  But this is the browser of choice for people who do.  Supports tabs, error checking (for javascript), password saving, profiles, and is considered more secure than IE.  Beware, though, if you go to a lot of sketchy sites, you might eventually pick up a bug with any browser.

5. PrimoPDF – A driver that allows you to print anything to a PDF file instead of a printer.  Unfortunately the newer version has an extra dialog box after you create the file, which is a completely unnecessary hassle.

6. Thunderbird – A free and better alternative to Outlook, but the calendar system is a plug-in that you have to install, and it isn’t as good as Outlook’s calendar.  However, go web 2.0 and you can have GMail, which completely tramples both Outlook and Thunderbird in terms of accessibility and ease of use.

7.  DriveImage XML – Create an image of your Windows OS while it’s running?  No problem.  Works with Server 2003, XP, and later systems.  It uses Volume Shadow Services to perform the image in the background, so you can continue to use the computer while it’s imaging.  Amazing technology.  The restore, however, is a whole different bag of worms.

8. AVG Antivirus Free version – For home users, this is a good choice.  Avast! is another option, but I prefer AVG because it doesn’t wake you up in the middle of the night by playing “Virus Database Updated!”  through your speakers.  Fair warning though, I seem to remember AVG has a web link protection that should be disabled, as it slows things down a lot while surfing the web.

True story:  My wife and I live in a studio, so we share the room with the computer we use for watching movies.  We have to turn the volume up to watch DVDs because of their dynamic range, so we watched a movie and then went to sleep.  You can see where this is going.  About 3am, Avast! decided to update the virus database and when it was done, it announced the fact to us at the top of our stereo’s volume.  We were wide awake after that.  Thanks Avast!

9. DosBox – Do you, like I, have a collection of old DOS games lying around doing nothing?  Well, DosBox can help you run them again, on Windows XP. Relive those old memories… Civ, King’s Quest, Tetris… oh yes.

10. Pidgin – An IM chat replacement that works with Yahoo, Aim, and Google chat (you can use your GMail account as a username!)

11. Notepad++ – What can you do without a robust file editor?  Notepad++ can search, edit, replace, all the things you need in an editor.  It has context formatting for many file formats and best of all, it’s free!

12. TrueCrypt – Need encrypted containers to store your files?  Need to encrypt your system drive in-place?  Look no further than this amazing utility.

13. VLC Media Player – Great media player, along with Media Player Classic

14. Winamp – Still free, still out there, still my favorite.  You may need to uninstall the terribly cumbersome Yahoo toolbar after installing this package.  I’ve noticed Yahoo has slipped their toolbar into Java and a few other free packages too.  Shame on you.

15. CD Burner XP Pro – Despite the name, it is free software.  It works on Windows XP and Vista, but not so much on Windows Server.  You’re not burning discs on Server anyway, are you?  I also use Alex Feinman’s ISO Recorder.

16. OpenOffice.org – What free software list would be complete without it?  Although, I admit, I don’t use it much since I have MS Office.

17. Audacity – The best free audio recorder and editor I know of.  It has a nice interface and is all around easy to use.

What are some of your favorite free windows tools?  Leave a comment.

This blog is about Technology.

There are many times I want to write down experiences I’ve had; sometimes to remember what I’ve learned so that I gather a set of common solutions to common problems.  Other times, I want to share my experiences so that others can learn.

In truth, technology is a behemoth, an ever-changing monster, and we are locked in a struggle with it as new technology emerges and we try to master it.  IT people are intimately familiar with the constant battle to keep pace as people find new and exciting ways to use technology.  My philosophy is simple:  Technology can be good or bad.  It gets complicated when you ask, when does technology go bad?  And why?  And how the heck to fix it when it does?

I will attempt to provide you, the reader, with informative and entertaining posts about how to make technology work for you, and provide tips to bail you out when good technology goes bad.