Thursday, October 25, 2007

I Hate HP All-In-One Printers

The title says it all. They seem affordable, look nice on a desk, and promise easy setup. HP has deceived us. Ink is way over-priced, and setup can be a nightmare.

For the last 6 years, HP has produced multifunction Printer/Scanners/Copiers (PSC's) and PSC's with Fax (All-In-One, or, AIO). Seldom has Windows happily accepted the software then continued to work well without a hiccup. Most typically, just getting Windows to load the software has been enough to make me want a beer. And a hammer. Just a few days ago, I went to set up a AIO expecting it to take under an hour. Four hours later, I had found a solution. It wasn't easy, but once I completed these instructions, I was able to set up the printer and make it work as expected.

This shouldn't be necessary, and is enough to make me say I hate HP All-In-One's,but, they still look good on a desk.

Tuesday, October 16, 2007

Taking Screenshots is OS X

OK, so our Apple's didn't come with that handy "Print Screen" button, so in OS X have to use obscure key combos.
Table 1: Built-in Mac Screenshot Commands
Key Combination Result
Command+Shift+3 Capture entire screen and save as a file
Command+Control+Shift+3 Capture entire screen and copy to the clipboard
Command+Shift+4 Capture dragged area and save as a file
Command+Control+Shift+4 Capture dragged area and copy to the clipboard
Command+Shift+4 then Space bar Capture a window, menu, desktop icon, or the menu bar and save as a file
Command+Control+Shift+4 then Space bar Capture a window, menu, desktop icon, or the menu bar and copy to the clipboard

(This is from MacDevCenter)

Now, when using your Mac and Windows XP or Vista, you can press Fn + F11 to print screen, and you can print only the active window with Option + Fn + F11. (From The Sean Blog)

Saturday, October 06, 2007

Tools that make my geeky life easier:

This fellow (http://www.mcse2000.com/download.php)has created some very useful tools for Windows Server administrators.

My favorites?

Well, I like NTBackup Print Log because it does that: watches for NTBackup to finish, then finds the last log file and sends it to a printer. This helps supply some of NTBackup's missing functionality (however, I need a utility that helps make scheduling simpler and one that adds support for pre/post-backup commands).

The other indispensable tool is the frighteningly effective Ultra VNC Pusher which can push VNC into a remote Windows computer to which you have SMB access. Not for the faint of heart!

Wednesday, September 05, 2007

New MDS/OASIS VPN Connection Available

Thank goodness, we can finally begin ditching those obnoxious dial-up modems and use the broadband that we all know and love by downloading the client from https://www.qtso.com/mdcn.html. CMS has given nursing homes the ability to submit MDS's via the Internet using a virtual private network provided by AT&T Global Networking. The client is easy to set up, and seems to work well in Windows 2000 and XP. But my joy ended here.

Apparently our friends as CMS forgot that we are all highly dependent on our computer networks and that we occasionally keep important stuff like MDS files on a network drive. So when we connect to MDS/OASIS using the VPN and try to upload our MDS's from a network drive thenetwork drive is unreachable and we cannot select and submit our files.

I did what any good tech does before pulling his hair out - I called tech support. The guy at CMS tech support was friendly and knowledgeable, and acknowledged that this is a problem. Furthermore, the tech assured me that this is by design. Apparently the rest of our network presents a threat to CMS's computers (I'm paraphrasing here), so the machines that connect to CMS are quarantined from their network.

The tech went on to explain that CMS expects users with networked computers to copy MDS's from the network to their computer prior to connecting to the MDS/OASIS site.

Instead of manually copying these files, I created a batch file to copy them automatically and then launch the AT&T Global Network Client once the copy has completed. Here's how you can make your own:

  1. Create a text file on your desktop and rename it to a batch file by changing its filename extension to .bat - I named mine MDS-OASIS.bat
Edit your text file so that it contains similar to the following - you may use a different program with different network drives and foldernames replace m:\marktech\XFEROUT with the path to your MDS's - if you don't know what this means, then call a professional:
xcopy m:\marktech\XFEROUT\*.mds c:\XFEROUT /d /v /y /i
"C:\Program Files\AT&T Global Network Client\netclient.exe"
exit
  1. There a LINE BREAK (in other words, press Return) at then end of each line if you're typing this.
  2. Save this file as a .txt file and rename it as a .bat file. If you don't know how to do this, consult a computing professional.
  3. When you run it, a DOS window will open, it will copy all .MDS files that you don't already have to the folder c:\XFEROUT, then invoke the AT&T Global Dialer.
  4. When you finish your transfer and close the dialer, the DOS window will disappear.
So what exactly goes into this sausage? Well, here's a detailed explanation of what xcopy is doing:

/d only replaces files that are newer than ones on the target drive

/v verifies that each file is copied correctly

/y suppresses prompting to overwrite files on the destination computer

/i causes xcopy to assume that c:\XFEROUT is a directory, not a file.

Wednesday, August 29, 2007

Let's Waste some Time!

OK, so you've done everything on your to-do list, you're all caught up on your sleep, you're in front of your computer, and you have nothing to do? Leave Solitaire alone and rot your brain the traditional way - by watching TV on your computer!

Joost.com has a Beta program that works on both Windows and Mac that allows you to watch TV on demand. Now we're not talking live TV here, we're talking a list of channels, each with a list of already-run shows.So, if you missed a few episodes, this may be the place to find them. There's MTV, Cartoon Network, WB, Indy 500, NHL, BET, and a Sports Illustrated Swimsuit channel! Myself, I've been catching up on Metalocalypse.

Now, if you want original, more current content, check out Miro, an application which is best described as RSS [RSS defined]for video - it can be pointed at video blogs (called channels in Miro), and it will automatically download the videos whenever updates appear. I love the science and how-to stuff, expecially from Make magazine. Since this can reach out and get whatever you can find online, it is a very powerful tool - it can search Google, YouTube, and other video sources. Furthermore, it downloads and saves those videos, which allows them to be transferred to an iPod, shared with friends, or just saved for later. This program keps me thoroughly entertained when I dn't have an Internet connection because it downloads whatever you desire then saves it for later!

Tuesday, July 17, 2007

Secure Windows Remote Desktop - Part 2, Clients

So, you need to tunnel Remote Desktop, and your servers are all set up, right? Good.

Now get Putty.exe for you client computer from HERE and run it.

Fill in your IPCop's host name or public IP and then change the port to 222.

Next, expand Connection, then SSH and select Tunnels.

Add a new forwarded port source 3399 (since this one isn't commonly used) and forward it to the target server's internal IP (NOT the IPCop's IP!) and add a :3389 to the end of the string as in the second figure.

Go back to Session, click Save, and give this connection a name. Click Open, and you will be prompted for a username and password - give these (preferably the remote user we created earlier instead of the dangerous root user) and you will get a prompt. You're done with Putty for now!

Now go to Start, Run, and type mstsc.

Fill in the Server line with localhost:3399 and hit connect. If all been done correctly, you will get a remote desktop on your target machine.

Secure Windows Remote Desktop - Part 1, Servers

The example I give is for a Windows client to connect to a Windows 2003 server behind an IPCop Firewall without granting root access to said firewall. So if a tech needs in, this is a sound way to grant him or her access.

Some background: Microsoft RDP (Remote Desktop Protocol) has vulnerabilities with regards to security and encryption (details are beyond the scope of this post). If we use a protocol that is more secure (namely SSH), then tunnel RDP through the more secure protocol, we wind up with a much more secure implementation.

Requirements:

  • IPCop Firewall - or your favorite Linux distro server serving up SSH on a public IP address - I'll only address IPCop, but this can be generally applied.
  • Remote Desktop Server (Like Windows XP Pro or Windows Server 2003 - other protocols like VNC will work with this, you just ned to know the required ports to fill in on your Putty Tunnel settings.
  • A Windows client with Putty installed (it's easy, just go here -- and download putty.exe)
So, once your IPCop has been set up for SSH (See IPCop docs Here) and remote access to SSH has been granted, you can only log into your IPCop's console as root. Great for you if you are the only one that needs access, but bad if you need to share access as the root user can seriously mudge things up. So we create a new user without root privileges.

SSH to your IPCop as root and sign in.

Create a new user called remote as a member of a new group (also named remote) and use this user for shared remote access. As root, issue the following commands to add the new user:

groupadd remote
useradd -s /bin/bash -g remote -m -k /dev/null remote

The meaning of the command line options (from ifs.vlsm.org):

-s /bin/bash

This makes bash the default shell for user lfs.

-g remote

This option adds user remote to group remote.

-m

This creates a home directory for remote.

-k /dev/null

This parameter prevents possible copying of files from a skeleton directory (default is /etc/skel) by changing the input location to the special null device.

remote

This is the actual name for the created group and user.

To log in as remote (as opposed to switching to user remote when logged in as root, which does not require the remote user to have a password), give remote a password:

passwd remote





Friday, April 13, 2007

Windows XP On an Intel-Based Apple (You're off to Boot Camp, Soldier!

So my best friend bought me Command and Conquer 3 for PC. My newest working PC is a laptop that I bought three years ago, you can't disrespect a decent game like that! So I did what any good (Mac) geek would do - I went to Boot Camp - Apple's Beta tool for installing Windows XP or Windows Vista on any Intel-based Apple computer (yes, even the Mini!) and dual-booting between OS X and XP (or Vista). However, this is a Mephistophilean bargain - you'll need to generously donate some hard drive space for a Windows partition, you'll also need Vista (R) or Windows XP (R) Service Pack 2 full install version. I also feel somewhat guilty for sullying my beautiful Macbook Pro with something so banal as XP Home.

You CAN use an earlier XP full installation CD (I've read that the upgrade can work too, but I haven't played with it) - If (that's a big if) you have an XP CD, a CD Burner, a running Windows XP Machine that can use the burner, - and some time on your hands, check out http://www.applematters.com/index.php/section/comments/how-to-the-curmudgeons-guide-to-boot-camp/, which has links to sites that tell you how to "slipstream" your SP2 and create an XP install CD with SP2.

So how well does it work? Well, ALMOST as well as Windows XP on any PC I've used - I don't know if its a portender of things to come, or just my rotten luck, but I already had a scare where the system wouldn't boot to XP this morning, and I just installed it yesterday! Luckily, after turning it off (it wouldn't respond to key presses), then letting a Scandisk run (it happened automatically because of the "bad shutdown") and fix a single problem (don't remember what it was), it booted fine, and Stan and I had a fight to the death on CnC3, he on his PC, and me on my newly Windows Mac.

Tuesday, March 27, 2007

Broken Windows Services?

Dial-A-Fix is a tool that can reset many Windows settings back to default, potentially fixing problems caused by spyware, "accidents," and those mysterious failures that seem to happen spontaneously to most Windows machines.

I've successfully used it to fix some nagging problems with Windows Update like the lack of a crawling green progress bar and even update errors. This can also reset your Winsock (Hello LSP Fix!)

Monday, February 19, 2007

Windows Vista: Not Welcome in Nursing Homes

A customer showed me a letter from IVANS today, dated 1-Jan-07. Here's the body of the message:

To: IVANS Customers Using AT&T Global Network Client
From: Paul Tuten, Director, Product Management
Re: T&T GNC Support of Vista

The current versions (5.x.x, 6.x.x) of the AT&T Global Networki Clients are not supported by IVANS/AT&T on Microsoft's new Windows Vista operating system. As such, IVANS does not recommend that you upgrade to the new operating system if you use the GNC until AT&T has released a version that supports the operating system.

AT&T plans to release a new version, 7.0 of the AT&T Global Network Client at the end of the 2nd quarter of 2007, which will provide limited support of the Windows Vista operating system. The specific limitations with 7.0 are that the following features will not be avaialble/will not work in Windows Vista:

  • Managed Personal Firewall
  • Network Logon Extensions (GINA or PLAP)
  • 64-bit operating systems

IVANS will post the General Available (GA) release of AT&T Global Network Client 7.0 to our website www.ivans.com/downloads when available.

If you are required to migrate to the new operating system before the General Available (GA) release of 7.0 version of the client, we may have a workaround for you. Please contact our helpdesk at 1-800-548-2675 to discuss your options.