3.26.2006

cron deficiencies

I was told to make a process run the first day of every month, but cron doesn't have the "smarts" to do it.  I found the following solution to be adequate:

From: http://www.darklab.net/resources/hpux-mailinglist/0715.html

DO SOMETHING ON THE LAST DAY OF A MONTH
 
Unfortunately, cron does not give us a simple way to say
'run this on the last day of month'. Fiddling with the
different length months, leap years, y2k bugs and so on is
messy. Here's a simple solution that gives all the dirty
work to some well tested utility. The idea is to check whether
*tomorrow* is the first day of a month.
 
Solution 1 (using date, change MET to your local time zone)
 
#!/bin/sh
if test `TZ=MET-24 date +%d` = 1; then
   # today is the last day of month
fi
 
You can call this script from cron, say with a crontab of
4 2 28-31 * * /path/to/your/script

3.21.2006

Copy IAS configuration

I was getting a Reason-Code 16 in the system eventlog on a Windows 2003 ISA server and didn't know if the secret for the Radius clients was wrong, or if my config was wrong.  I had a Windows 2000 IAS server that was functioning fine.

I copied the IAS config from the Win2k box to the 2k3 box:
http://support.microsoft.com/kb/317589

By running netsh aaaa config > 2000.txt   and then running netsh exec 2000.txt on the Windows 2003 server.

Then my 2003 IAS started working.

RightFax Fax Cover Sheet conversion issues

The workservers would hang or crash when using Microsoft Word to convert the FCS.  You couldn't stop them in the Enterprise Fax Manager; they would just stay in a "stopping" state.  You would have to kill the workserver.exe processes.  Converting these to the RightFax native PCL format solved the issue and increased the stability and performance of RightFax in a huge way.

 

FCS (Fax Cover Sheets) are stored in Rightfax\FCS.  The source (word document) file is in a subfolder of FCS.  Typically the cover sheet should be PCL format.  See the AdministratorsGuide.pdf for details on how to create a FCS.

 

Using the built-in Windows 2000 HP LaserJet 4000 PCL driver produced the best results for us.

 

Here are some articles from Captaris that are useful:

190 - How do I run a RightFax 8.x or 9.0 WorkServer in Debug Mode?

3537 - Important information on Server Side Application (SSA) conversion using Microsoft Office applications

 

Basically don't use Word to do your fax cover sheet (FCS) conversion…..

3.20.2006

Changing MSDE sa password

How to change the sa password of a MSDE database - http://support.microsoft.com/kb/321081
 

RightFax 9.0 upgrade from 8.5

I recently lead an upgrade and migration to a new physical server from Rightfax 8.5 on Win2k to 9.0 (with SP2) on Win2003 with Brooktrout TR114 Fax boards.  Here are some "Answer ID" documents from Captaris' knowledge base that are fairly important when migrating the configuration to a new server:
www.captaris.com look under support / knowledge base
 
2933 - RIGHTFAX 9.0 UPGRADE FAQ
2110 - Upgrading to RightFax version 9.0
 
I would also recommend taking screen shots or documenting all the settings in the control panel's applets on the old server.
 
Rightfax installs MSDE by default and it has a default 'sa' account with a blank password.  See the following answer ID and kb article title for a description of the areas in the Rightfax configuration that you need to change.
3449 - How do I change my 'sa' password in MSDE, and where do I modify the password in RightFax 9.0 SP1?
 
During the install I mistyped the password or username that a number of the Rightfax services run under.  (The installer will tell you the password or username is wrong but doesn't let you go back and correct the issue).  This causes the Workserver1, workserver2, workserver3 services never to be created and thus the Rightfax services don't startup properly.  I got a bunch of errors in event logs.  To recreate the services (this applies to any Rightfax service), you use the proper RightFax control panel applet (or right-click, configure the service in Enterprise Fax Manager).  In this case, open the "RightFax WorkServer" applet and then select the button at the bottom: "Select Service Account" and fill in the fields.  When you OK out of the dialogs the Workserver1,2,3 will be recreated.  Again if you foo-barred the password during the install you will need to do this on the following control panel applets:  RightFax E-Mail Gateway, RightFax Server (in the Advanced tab), and the RightFax WorkServer.  If more Rightfax options are installed, more applets may be installed.
 
Also Windows 2003 contains Brooktrout fax board drivers, but they don't work with the driver that RightFax needs/uses.  I had to follow the following knowledgebase articles:
215 - RightFax & Windows 2003 - How to remove the Brooktrout TR114/TruFAX PnP driver
After following that article I still needed to remove the faxboards in the RightFax DocTransport applet then re-add them.  This recreated the FaxBoard service so that it did not depend on the bfax driver.  If I didn't remove the fax boards and re-add them, then I got a whole bunch of errors in the event log.

3.18.2006

Windowsupdate error 0x80072F76

When trying Windows Update (www.windowsupdate.com or update.microsoft.com) I got the following error instead of the normal "Express" and "Custom" scan buttons:
The website has encountered a problem and cannot display the page you are trying to view. The options provided below might help you solve the problem.
error 0x80072F76

Along with these entries in %systemroot%\WindowsUpdate.log:
2006-03-18 15:29:28  372 cd0 Misc WARNING: DownloadFileInternal failed for http://update.microsoft.com/v6/windowsupdate/selfupdate/wuident.cab : error 0x80072f76
2006-03-18 15:29:28  372 cd0 WUWeb FATAL: CheckIfClientUpdateNeeded failed: error 0x80072f76

http://support.microsoft.com/kb/836941

TDS accelerator was enabled and running.  I disabled the TDS download accelerator and was able to scan for updates on Windowsupdate.

 

3.17.2006

urldecode

Online pages where you can post URL encoded (%20, etc...) data and get the decoded (human readable) version. On both of these sites you can encode or decode a URL.
http://www.albionresearch.com/misc/urlencode.php
http://www.simplelogic.com/Developer/URLDecode.asp

3.14.2006

disable the F8 safe mode

Here's how to disable the F8 key to get into safe mode.  You may want to use this in a kiosk environment where you want to prevent someone going into safe mode:

http://groups.google.com/group/microsoft.public.win2000.security/browse_thread/thread/4db76c0cf6d216be?hl=en&
aka http://tinyurl.com/h89j3

http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=132165&page=&view=&sb=5&o=&vc=1

3.12.2006

Unload application disbled /greyed out in IIS

In IIS6 application unloading / recycling is handled differently.  You may notice that the "Unload" button is greyed out or disabled in the Application Settings area.  This is because the application is in native IIS 6 mode using application pools.  Synonymous to unloading the application in IIS 5 is the concept of recycling the application pool in IIS6, see the Application Pools folder in IIS manager (inetmgr).  The only time the Unload button will work is if the IIS web service is running in IIS 5.0 isolation mode and the Application Protection is set to either Medium or High.

3.10.2006

HSG80 controller - setting time

set [this_controller | other_controller ] time 11-mar-2006:08:10:15

For instance, to set the time on the attached controller ("this" abbreviated) to 3/11/2006 at 8:10:15 am --
set this time 11-mar-2006:08:10:15

3.08.2006

blogger "mail-to-blogger" feature stops working - marked as draft

If you used to be able to use the mail-to-blogger feature to email posts and have them publish directly to you blog, but now they don't publish and instead sit in your lists of posts as a draft, then your blog has been flagged as possible spam blog.

Why are all my posts being set to drafts? - http://help.blogger.com/bin/answer.py?answer=1263

Edit just one draft and by the word verification area click the ? question mark. Blogger will review your blog to verify it's not spam and you'll be able to publish like you used to. I'm not certain what triggers blogger to mark the blog as spam, but this blog was marked and hopefully they'll review it and find it's nothing more than silly old me.

What's a Spam Blog? - http://help.blogger.com/bin/answer.py?answer=1260 (excerpt: they can be recognized by their irrelevant, repetitive, or nonsensical text) -- that pretty much characterizes my style of writing: "nonsensical text"! HA!

3.07.2006

Admin Scripts - Earn $100

You can earn $100 by sending TechRepublic your original sys admin scripts. I've got a few that I think may earn me some money. Might as well..
http://techrepublic.com.com/5100-1035_11-6045607.html?tag=search

2.28.2006

nslookup command line options

nslookup usually operates in interactive mode. You can specify options like debug, d2, type= , etc. in interactive mode using the ' set' command. Those same options can be specified by using switches directly without going into interactive mode; in fact any option that can be set in interactive mode can be used in a switch:
nslookup -type=mx domain.tld nslookup -debug domain.tld

To bring up nslookup's help in interactive mode, just issue a ? (question mark). To bring up the syntax that is listed below I had to provide more than two options on the command line: nslookup 1 2 3 brought up:
Usage:
nslookup [-opt ...] # interactive mode using default server
nslookup [-opt ...] - server # interactive mode using 'server'
nslookup [-opt ...] host # just look up 'host' using default server
nslookup [-opt ...] host server # just look up 'host' using 'server'

2.27.2006

html links without clicking

Very cool javascript that activates a html A element just by hovering the cursor over the link: http://labs.mininova.org/noclick/
They've got some other interesting things HTML/javascript, etc: http://labs.mininova.org

2.22.2006

Refreshing group policy - 2000/XP/2003

I keep forgetting how to refresh Group Policy on a Windows 2000 client:
secedit /refreshpolicy {machine_policy | user_policy}[/enforce]

The command changed from secedit to gpupdate in Windows XP and Windows 2003. From the secedit help file:
secedit /refreshpolicy has been replaced with gpupdate.

GPUpdate [/Target:{Computer | User}] [/Force]

2.21.2006

USB problem in XP

Win XP only - from: http://searchwinsystems.techtarget.com/tip/1,289483,sid68_gci1102478,00.html?track=NL-297&ad=543642
in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USB Edit or create a DWORD "DisableSelectiveSuspend" set it to 1 and reboot.

Window XP USB problems (hotfix): keyboard, file transfer, etc. - http://support.microsoft.com/kb/908673

2.20.2006

Deploy printers by using Group Policy

Only available from a Windows 2003 R2 extended AD schema. Pretty cool if you ask me. Unfortunately Windows 2003 R2 costs money, it's NOT a free upgrade from Windows 2003 (SP1).

Deploy printers by using Group Policy
URL: http://technet2.microsoft.com/WindowsServer/en/Library/ab8d75f8-9b35-4e3e-a344-90d7799927231033.mspx

2.19.2006

Handle mailto email link via gmail

Nice greasemonkey script to rewrite mailto email links to open Google's gmail compose window: http://blog.monstuff.com/archives/000238.html

Disable hotkey support in Citrix NFUSE / web interface

If an application, like a server application running inside a terminal emulator (Reflection, etc), uses the same keystroke as the Citrix client, it will intercept the keystoke and run the hotkey function instead of delivering the keystroke to the application. An example would be using shift-F3 for a text terminal session in an emulator: the ICA web client would, by default, intercept the keystroke and try to close the application window. Shift-F3 is assigned to "close remote application".
Disabling / changing hotkeys on NFUSE / Citrix web client is done via the template.ica file under the [wfclient] section:
How to Enable or Disable Hotkeys within an ICA file (including Template.ica) - http://support.citrix.com/article/CTX140219
Hotkey1Char=(none)
Hotkey1Shift=(none)

2.17.2006

Command to remove all CRLFs from a file

Use the following command to remove CRLF (all) carriage returns and line feeds from a text file, effectively joining all lines into one single line.

Using the tr command in cygwin:
tr -d '\r\n' < sql.txt > sqlnew.txt

If you want to use the tr command outside of the Cygwin environment, the following files must be copied from \cygwin\bin to the directory you want to store them in:
tr.exe
cygwin1.dll
cygintl-3.dll
cygiconv-2.dll

2.15.2006

Terminal Services licensing database corrupt/damaged

Trying to deactivate License Server (terminal services) via the "internet" method, I get the following error after hitting 'next' in the dialog:
"The Licensing wizard encountered an internal error from the license server.  Message Number: 0xc0110011"

System eventlog:
Event Type:     Error
Event Source:   TermServLicensing
Event Category: None
Event ID:       38
Date:           2/15/2006
Time:           2:48:25 PM
User:           N/A
Computer:       MyComputerName
Description:
Can't generate a license for client because of error 'Can't add certificate to store, error c0010020.'.



You cannot activate a Terminal Services license server in Windows 2000 Server or in Windows Server 2003 -
http://support.microsoft.com/kb/887444

Windows Server 2003 Terminal Server Licensing - http://www.microsoft.com/windowsserver2003/techinfo/overview/termservlic.mspx
Frequently Asked Questions About Terminal Services 2003 - http://www.microsoft.com/windowsserver2003/community/centers/terminal/terminal_faq.mspx

call (888) 571-2048 to reach the Microsoft Clearinghouse.

File access via VPN very very slow

Ran into this one recently:  WinXP Pro client,  checkpoint VPN, 2 mapped drives to different members of a windows 2000 cluster.  One of the mapped drives was noticeably slower than the other.  I moved the cluster resource group to the other cluster member, it still was slow.  When I had the root of the mapped drive displaying in explorer, I noticed that it had a file handle open on desktop.ini in one particular sub-folder (caught this by using the 'shared folders' snap-in (fsmgmt.msc or compmgmt.msc).  When I deleted the desktop.ini file, the mapped drive was much, much faster.  I restored the desktop.ini file and it slowed down again.  I then looked at the folder properties and it was marked with the read only (R) attribute (on the directory only, not the files).  I turned the R attribute mask off the directory and the mapped drive was fast.  Turned the read-only attribute on again, the it was slow.
 
It's weird that this combination of read-only attribute on the folder and the desktop.ini in that folder would cause a significant file access slow down.  I didn't notice any speed different when connected at LAN speeds, but via the check point VPN there was a definite difference.
 
Here's the contents of the desktop.ini file:
[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://Folder Settings\Folder.htt
PersistMonikerPreview=%WebDir%\folder.bmp
[ExtShellFolderViews]
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}
[.ShellClassInfo]
ConfirmFileOp=0
 

2.11.2006

Determine SSL ciphers running on your web server

SSL Digger - Nice free tool from FoundStone (division of McAfee) for determining what SSL versions and encryption ciphers your web server supports.  If you are running a crucial web server you might want to turn off the weak ciphers and SSL version (SSL2).  The browser and server are supposed to negotiate the highest cipher and SSL version, but some ciphers have already been proven to be weak and vulnerable to crack/attack.

www.foundstone.com  It's kind-of hard to navigate the site: click on resources, then on the left side, "free tools". You should see it under the "Foundstone S3i™ Tools".

Disable SSL2 and weak ciphers in IIS

How to disable SSL protocols and encryption ciphers in Microsoft IIS. For IIS (IIS6 and IIS5):
The ciphers and SSL protocols must be disabled via registry entries; thus a reboot is required after changing the settings. If I ever find some free time, I may create a GUI utility to easily enable/disable these cryptos.

See the following documents:

Description of the Secure Sockets Layer (SSL) Handshake - http://support.microsoft.com/kb/257591
TLS/SSL Tools and Settings -
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/3f98fdd9-ed64-49f7-9c20-a2d4581dfbea.mspx
How to disable PCT 1.0, SSL 2.0, SSL 3.0, or TLS 1.0 in Internet Information Services - http://support.microsoft.com/kb/187498
How to Restrict the Use of Certain Cryptographic Algorithms and Protocols in Schannel.dll - http://support.microsoft.com/kb/245030/

The following are the registry entries I made to make one of my servers secure (Grade A by SSL Digger):

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]
"Enabled"=dword:ffffffff

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\NULL]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 56/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 128/128]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 64/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168]
"Enabled"=dword:ffffffff

Adding CPU / RAM to ES45 Alpha Server

1.      shutdown, turn off and unplug power
2.      insert  hardware  -  see pages 129-140 of the ES45 manual: 
http://h18002.www1.hp.com/alphaserver/download/ek-es450-ug-b01.pdf
3.      at chevron >>>  show config | more    and    show memory
4.      After boot:
  psrinfo –v  (processor info)
  vmstat -P  (Physical memory info)
  dxsysinfo -dash  (X windows display of CPU / memory activity)
5.      If you receive a “too many users logged on already” you may have to add the License PAK codes that were shipped with the cpu.  As root, run lmfsetup and enter the codes from the PAK.  After successfully entering the codes, it will ask to run an “lmf reset”, say yes and it will load the licenses into the kernel cache.

rDirectory - make AD web browsable

They've got a Free Community edition for those with small/limited needs, like creating an employee directory:

rDirectory: A Smart Choice for Your Evolving Directory Needs: "Simply put, rDirectory turns Active Directory into your enterprise-wide platform for securely publishing, accessing and maintaining information about virtually any directory-based corporate resource."

tail multiple log files in Win32 environments

Not just another tail command, but can match keywords, and can send mail notifications.
Tail for Win32 - Home Page

2.10.2006

Updating to FireFox 1.5 on Linux (Ubuntu)

These same instructions can be tweaked for other distros as well:
FirefoxNewVersion - Ubuntu Wiki

Linux Distrobution Guide

http://distroguide.box.sk - Main Page - Distro Guide

Security Warning disabled

My company has a lot of sites in it's trusted sites zone in order for users to download files from these sites. It kills me when I use my Windows XP SP2 machine and IE. I'd do a google search and one of the results was a link to microsoft. When I clicked the link, I'd get a Security Warning message: The current Web page is trying to open a site in your Trusted sites list. Do you want to allow this?

What was weird about it was that I had NO, not one, site listed in the trusted sites zone. I later found this was because of group policy. A few days later after group policy refreshed on my machine, the sites showed up in the trusted sites list.

To remove this warning, in the trusted sites zone, open the custom settings under Miscellaneous, "Web sites in less privileged web content zone can navigate into this zone." set to enable.
See: Security Warning appears when you try to navigate to a Trusted site from a webpage

Read AND Write NTFS volumes from Linux - Captive

The best solution to writing NTFS formatted volumes in Linux; it uses the native ntfs.sys driver and therefore is very safe:

Jan Kratochvil: Captive: The first free NTFS read/write filesystem for GNU/Linux: "Captive: The first free NTFS read/write filesystem for GNU/Linux"

2.09.2006

Packet capture tools

Open source and free packet sniffer/capture tools:
http://www.winpcap.org/ Also provides WinDump tool which is
based/proted from tcpdump. Reading the Windump FAQ first, even before
the manual, is essential.
And of course the big one: http://www.ethereal.com/

2.08.2006

Kerberos Token Size and logon problems

Your kerberos ticket can't be bigger than 12000 bytes by default as it will cause logon issues. This is typically cuased by being a member of too many groups.

Microsoft Certified Professional Magazine Online Column: The Group that Broke the Camel�s Back

2.03.2006

Gmail browser cache full message

Message from gmail after logging in:  Your browser's cache is full and may interfere with your Gmail experience.  Fix this   Hide

This only happens when using Gmail via the secure https method: https://mail.google.com/mail

caused by the Advanced option in Internet Explorer (in IE: tools/internet options/Advanced tab, security section) setting:  "Do not save encrypted pages to disk"  When this option is checked, gmail believes the cache is full because the pages won't be saved to disk, thus gmail thinks the cache is full.  Uncheck the box or ignore/hide the error message.

1.18.2006

Renaming device files in Tru64

On Tru64, it sucks when a faulty device is replaced and the new device now uses a different device file.  The example below is how to delete the old device from hardware manager's database and how to rename the device special files using dsfmgr.
 
for reference: man hwmgr_ops
 
First, delete the old device:
# hwmgr show scsi -type tape
  -get hwid of old device
  -in this case tape1 was hwid 165
# hwmgr delete -id 165
 hwmgr: Delete operation was successful
 
Second, move the new device file to the old name.
# dsfmgr -m tape2 tape1

Alpha Server performance

Quick way to gauge how a CPU upgrade will increase performance on your
Alpha box:
http://h18002.www1.hp.com/alphaserver/performance/perf_by_name.html

1.17.2006

Frontpage error submitting form

Problem:  Can't submit frontpage developed form.  The error message in the browser is: Frontpage error.  In the application event log on the server hosting the frontpage extended web the following two entries will appear:

Event Type:     Warning
Event Source:   FrontPage 5.0
Event Category: None
Event ID:       1000
Description:
Microsoft FrontPage Server Extensions:
      (OS Error #13 Message: Permission denied)

Event Type:     Warning
Event Source:   FrontPage 5.0
Event Category: None
Event ID:       1000
Description:
Microsoft FrontPage Server Extensions:
  
http://frontpageserver - Error #2005d Message: The server extensions were unable to access the file "service.lck". Please check the file permissions.


Solutionhttp://frontpageserver/_vti_bin/_vti_adm/fpadmdll.dll?page=webadmin.htm   Click on '
Check server health' choose 'Tighten security', detect and fix for the web or subweb that is experiencing the problem

That solved the issue I was experiencing.

12.26.2005

Good vi tutorial

http://www.nuxified.org/vi_survival_guide

I like the % command which moves the cursor to the next matching bracket or paren. set showmatch to have it move to the beginning match when closing the bracket.

12.23.2005

New Dell and Sonic Update Manager

Brand new Dell Dimension 1100; after removing a bunch of the bundled software, I kept getting a Windows Installer message after bootup asking for the Sonic Update Manager disk.  "1" was listed in the "look in"/disk location.  The solution can be found here:  http://forums.us.dell.com/supportforums/board/message?board.id=sw_other&message.id=48777&view=by_date_ascending&page=2

Which points to the following:  http://consumer.installshield.com/kb.asp?id=Q111006

I just downloaded and ran the first program listed.  Then ran the second program listed on the installshield.com web page.  The message never reappeared since....

12.21.2005

Source of tech news: digg.com

www.digg.com  is a great source for lots of science / technology news.  A number of the links that I've posted on this blog have be found via digg.com

Open source Linux home theatre software: freevo and A/D converter

Home theatre software which Incorporates lots of open source projects including MythTV: http://freevo.sourceforge.net/about.html

How to build a Linux analog to digital converter:  http://linuxgazette.net//118/chong.html

12.20.2005

Gmail 'operation' aborted in IE

Using Gmail, I have come across some emails that kill Internet Explorer if I open them.  The emails that do it for me are ones from financial institutions, but I've heard that others have the same issue with emails from different origins.  What happens is that when you open the 'bad' message, IE pops up it's "Security Information" box and says: "This page contains both secure and nonsecure items.  Do you want to display the nonsecure items?".   It doesn't matter if you select Yes or No, because IE will give an error message: "Internet Explorer cannot open the Internet site https://mail.google.com/mail/.   Operation aborted"   Then once you click OK, you get either an "Action canceled" or "The page cannot be displayed" errors.

This seems to happen only when using gmail via SSL:  https://mail.google.com/mail   You can view the message without any problems via gmail and standard http - http://mail.google.com/mail   The problem only seems to happen in IE;  using https://mail.google.com/mail  via FireFox, I have no problems opening the emails.  Another way around the issue is to open the email in a new window: turn on the keyboard shortcuts for gmail and then do a shift-o to open the message in a new window; it will open just fine that way.   Sometimes just trying to open the message after a few times will get it to open successfully.  Another thing that works is to open the message first using the standard http interface: http://mail.google.com/mail,  then without closing the browser, change the URL to secure http - https://mail.google.com/mail  then view the message without a problem.

The above was tested using fully patched IE6 on Windows XP, SP2  and using FireFox 1.5.  It may act the same way with different versions of both IE and firefox.

12.09.2005

Open Source M database / compiler

GT.M High end database + MUMPS compiler -
http://sourceforge.net/projects/sanchez-gtm
Possible alternative to Intersystems Cache?

12.07.2005

See your IP address

See what IP address your device/PC is reporting itself to be.  Check what IP address your company has assigned to the external NAT on the firewall:
 

burn DVD / CD from the command line free

Command Burner - http://www.commandburner.com
 

Browser Capabilities and browscap.ini

You can use the ASP object BrowserType (MSWC.BrowserType) to find browser capabilities within your web app.  Browscap.ini also affects the values returned from this object.
 
 
ASP Browser Capabilities Component
http://www.w3schools.com/asp/asp_browser.asp
 
HOW TO: Add Internet Explorer 6 Information to the Browscap.ini File
http://support.microsoft.com/kb/311227

12.06.2005

vdump to tape and file simultaneously

Use vdump to output to stdout, pipe it to tee and have tee send it to the tape device, then redirect stdout from tee to a file or another tape device.
 
Example:
fileset to backup: /mycrap/mountpoint
 
vdump -0f - /mycrap/mountpoint | tee /dev/ntape/tape1c > /morestuff/vdumpbackup
 
Using the -q (quiet) option still results in 4 lines from vdump going to stderr:
path     : /mycrap/mountpoint
dev/fset : crapdomain#mntpt
type     : advfs
advfs id : 0x3cbae55e.010baf45.b
You can kind just redirect stderr to /dev/null in that case.  I don't like the idea of that in case of 'real' errors going to stderr, then you'll miss them.  The above example would then be:
vdump -0f - /mycrap/mountpoint 2>/dev/null | tee /dev/ntape/tape1c > /morestuff/vdumpbackup
 
 

FCA2684 and EMC ClARiiON Cx500

Tru64 needs and entry entered into the ddr.dbase file:
backup the /etc/ddr.dbase first.  Here's the entry needed, put it under the DISKS section:
 
SCSIDEVICE
    #
    # Entry for CLARiiON Storage
    #
    Type = disk
    Stype = 2
    Name = "DGC"
    #
    PARAMETERS:
      #
      TypeSubClass = hard_disk, raid
      BlockSize = 512
      BadBlockRecovery = disabled
      DynamicGeometry = true
      DisperseQueue = false
      TagQueueDepth = 32
      PwrMgmt_Capable = false
      LongTimeoutRetry = enabled
      ReadyTimeSeconds = 90
      InquiryLength = 120
      RequestSenseLength = 120
      #
    ATTRIBUTE:
      #
      # Disable PR/AWRE/ARRE and enable I/O Barrier
      #
      AttributeName = "DSBLflags"
      Length = 4
      ubyte[0] = 25
      #
    ATTRIBUTE:
      #
      # Disable Start Unit with every VPD Inquiry
      #
      AttributeName = "VPDinfo"
      Length = 16
      ubyte[6] = 4
      #
    ATTRIBUTE:
      #
      # Report UDID value in hwmgr -view devices
      #
      AttributeName = "rpt_chgbl_dev_ident"
      Length = 4
 
After this is entered, you need to recompile the ddr.db file using the ddr_config -c command.  You'll need to contact you SAN guy to create the LUN and setup security on the SAN side of things.  Once that's done, you should be able to see the LUN after you scan: hwmgr -scan scsi   then view the devices: hwmgr -show scsi
 
 

ASP code to log events to application event log

How To Log Events from Active Server Pages - http://support.microsoft.com/kb/301309
 
Note the "Troubleshooting Notes" section if it doesn't work.  I used the WSH method and it worked, even though the anonymous account was a part of the guests group and the RestrictGuessAccess was not set.
 

Bandwidth speed test for broadband connections

For DSL or Cable broadband connections. Many other ones out there, but this one does not require Flash or Java to perform the test.

This one much more to offer: a latency and upload speed test and has links for pasting results in forums and what-not.
http://www.speedtest.net/

12.04.2005

modify Tru64 kernel parameters

How to modify Tru64 kernel parameters / attributes / subsystems:
 
Always backup the /etc/sysconfigtab file first before attempting any of this!!
Always merge instead of using the -u or -a option of sysconfigdb; you will overwrite what was in /etc/sysconfigtab.

see sysconfigdb -l proc  to see what values are recorded in /etc/sysconfigtab

sysconfig -q proc max-threads-per-user max-proc-per-user > dave

vi dave
proc:
max-threads-per-user = 8192
max-proc-per-user = 8192

sysconfigdb -m -f dave proc


sysconfig -q pts nptys > dave
vi dave
pts:
nptys = 2048

sysconfigdb -m -f dave proc


sysconfig -q ipc sem-msl sem-mni shm-max > dave
vi dave
ipc:
sem-msl = 50
sem-mni = 128
shm-max = 2147483648

sysconfigdb -m -f dave ipc

restart the system

verify the values:
sysconfig -q proc max-threads-per-user max-proc-per-user
sysconfig -q pts nptys
sysconfig -q ipc sem-msl sem-mni shm-max

 

make a bootable tape for tru64

sysman boot_tape
 
 

Tru64 boot hanging on configuring network

Tur64 hung on bootup after the:
Configuring network:
setting hostname: node1
 
Nothing network related would work.  I'd get a connection refused message when trying to telnet or ssh in....  That's because it hadn't loaded the rest of the network scripts: /etc/inet.local, etc.
 
I forgot to set MAX_NETDEVS in rc.config.  I control-c out of the hang, changed rc.config by: rcmgr set MAX_NETDEVS 24   and restarted.  Everything worked fine.

12.02.2005

determine if cluster group is running on current node

How to determine if a particular cluster group is running on the current node:
 
mygroup=name of cluster group
 
cluster group mygroup /status | findstr /i "%computername%"
if %errorlevel%==0 echo Yes group is running on this node
 

System error 997 trying to online application in cluster

I got error 997, overlapped io operation bringing a generic application online in Windows 2000 cluster:

cluster.exe is the command line tool to administer a Windows cluster (NT,2000,2003). See cluster /? for options.


C:\>cluster resource solitaire /offline
Taking resource 'solitaire' offline...

Resource Group Node Status
---------- ---------- ------ ----------
solitaire CluGrp Node1 Offline


C:\>cluster resource solitaire /online

Bringing resource 'solitaire' online...

System error 997 has occurred.
Overlapped I/O operation is in progress.



Error Message: System Error 997 Has Occurred -- http://support.microsoft.com/kb/248408


solution: use the /wait switch see below:


C:\>cluster resource solitaire /online /wait:2

Bringing resource 'solit' online...

Resource Group Node Status

--------- ------ ----- -------
solitaire CluGrp Node1 Online

11.30.2005

Epic Client communications registry settings

[HKEY_LOCAL_MACHINE\SOFTWARE\Epic Systems Corporation\EpicEComm]
"TraceFile"="c:\\trace.log"
"TraceMode"="0"
"ClientConfigFile"="c:\\test.txt"
 

usr8022 and dwl-G132 won't connect

usr8022 and dwl-G132:

G132 sees access point, but won't associate or connect to it.

192.168.123.254

blank password.

wireless tab --  Change basic rate to 1-2-5.5-11(mbps)  instead of 1-2-5.5-11-22(Mbps)

must reboot router  tools tab --  reboot


possibly:  (seemed to work either way)

using D-Link ariplus xtremeG wireless utility, under advanced change the frequency from 802.11b/g-2.4GHz  to 802.11b-2.4GHz

11.29.2005

accesskey attribute on html tags

http://diveintoaccessibility.org/day_15_defining_keyboard_shortcuts.html

create keyboard shortcuts for html forms, links and other elements....

11.28.2005

DHCP Client service and Dynamic DNS relationship

Today I couldn't ping, nslookup or connect to a server.  Others in my team could ping and connect, they were resolving the server name via WINS.  I don't have any WINS servers listed in my TCPIP config.  So I decided to check on the server:
 
C:\>ipconfig /registerdns
 
Windows 2000 IP Configuration
 
Error: The system cannot find the file specified.
: Refreshing DNS names
 
C:\>services.msc
--- The DHCP Client service was disabled.  DHCP Client service is responsible for registering the hostname in a Dynamic DNS environment.
 
Changed the startup type to Automatic, started the DHCP Client service, and re-ran the ipconfig /registerdns  command.
 
See: Dynamic DNS updates do not work if the DHCP client service stops  -  http://support.microsoft.com/kb/264539
 

11.25.2005

DVD burning with cdrtools / cdrecord and cygwin

 
Good guy Dirk brings a lot of open source and other free tools to the Win32/Windows platforms:
http://www.paehl.com
 
 

Free cookie analyzer

Galleta: from foundstone -
 
converts an IE cookie to a (tab, or other) delimited file.  Good stuff for FREE!
 

11.24.2005

Public/Private key authentication with Putty and OpenSSH

I like Steve Friedl's blog, and I saw an interesting tidbit on this one: http://www.unixwiz.net/archives/2005/11/_secure_linuxun.html

It's great when great minds share information like this freely. It helps all of those searching for solutions to find the answers quickly. His web site is full of good stuff as well: http://www.unixwiz.net/

Thanks Steve!

Technet virtual labs - FREE

TechNet Virtual Labs - http://www.microsoft.com/technet/traincert/virtuallab/default.mspx allow you to test Microsoft's software in a 'sandbox' environment. I haven't tried one yet, but it seems to be a very good idea.

Best of all there's FREE!!!! You people know how I'm a big proponent of Free!

Microsoft Exchange Server 2003 Outlook Web Access Web Administration

download here: http://www.microsoft.com/downloads/details.aspx?FamilyID=4bbe7065-a04e-43ca-8220-859212411e10&displaylang=en

It wouldn't work when I installed it. I had my default web site stopped when I did the install. I started the web site, and installed OWAAdmin again, but still didn't solve the problem. Had to right-click and uninstall the OWAAdmin.MSI file. Then I installed again, and all was well.

Guess what? You don't need to do manual segmentation anymore, you can use this tool.

I keep getting prompted for credentials when I access it, I assume it needs admin rights on the exchange server.

I also had to re-create the client side scripts for .NET:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322> aspnet_regiis -c
Start copying the ASP.NET client side script files for this version (1.1.4322.0).
Finished copying the ASP.NET client side script files for this version (1.1.4322.0).

Exchange 2003 OWA customization

Add / remove portions, features of OWA (Outlook Web Access).  Remove calendar, public folders, etc....
How to modify the appearance and the functionality of Outlook Web Access by using the segmentation feature in Exchange 2003
- http://support.microsoft.com/kb/833340
 
Creating and Deploying Outlook Web Access Themes - http://www.microsoft.com/technet/prodtechnol/exchange/guides/CreatingOWAThemes/9bb177d9-2bbe-4c01-bb21-2f6ce96089a8.mspx
 
 

Tru64 LPD and EVM - can't shutup LPD

No matter what the EVM configuration files ( /etc/evmdaemon.conf and /etc/evmlogger.conf ) state, if you have the 'activity monitor' set up in evmdaemon.conf, any events that hit EVM will count against the threshold for the activity monitor.  Even if you configure EVM to ignore or otherwise not log certain events, EVM will still trigger this activity monitor.
 
I had a ton of print jobs being printed certain hours of the day.  I wanted to stop the LPD daemon from posting these events (stop it from being chatty), because they were just normal system functions/activity that I don't think should count against the activity monitor, escpecially since I know this server will be busy handling print jobs already.  No matter what I tried, LPD always posted 3 events to EVM for each print job.  It seems no matter what configuration changes you make, you can't tell LPD to shut the hell up.  Even changing /etc/syslog_evm.conf didn't help at all.  Surprise, surprise.  Looks like the LPD daemon is hardcoded to post to EVM ----- which really sucks, you Compaq/DEC/HP engineers!!!:
 
LPD daemon started - Status: 0  PID: 1081011
LPD job submit requested - Status 0  Printer myprintername
LPD job submit completed - Status 0  Printer mypritnername  Job number 0
 
 
When enough of these events happened I would receive the following email message from EVM:
 
SUBJECT: EVM ALERT [600]: EVM daemon: High event activity - exceeds 500 in 10 minutes
============================ EVM Log event ===========================
EVM event name: sys.unix.evm.daemon.event_activity
 
    This high priority event is posted by the Event Manager (EVM)
    daemon when it detects a high number of events occurring over
    several minutes.
 
    Action: Use the event viewer or the evmget(1) command to review the
    event log for the source of the activity.  If the log does not show
    high activity around the time at which this event was posted, it is
    likely that the events were low priority, and hence were not
    logged.  You can monitor low-priority events by running the
    evmwatch(1) command with an appropriate filter, or by temporarily
    reconfiguring the EVM logger to log low-priority events.
 
    Note: You can change the parameters which control the posting of
    this event by modifying the daemon configuration file,
    /etc/evmdaemon.conf.
 
======================================================================
 
Formatted Message:
    EVM daemon: High event activity - exceeds 500 in 10 minutes
 
Event Data Items:
    Event Name        : sys.unix.evm.daemon.event_activity
    Priority          : 600
    PID               : 1048856
    PPID              : 1048577
    Event Id          : 326425
    Member Id         : 2
    Timestamp         : 24-Nov-2005 15:08:06
    Host IP address   : 192.168.1.1
    Cluster IP address: 192.168.1.3
    Host Name         : host.domain.com
    Cluster Name      : cluster
    User Name         : root
    Format            : EVM daemon: High event activity - exceeds $count in
                        $period minutes
    Reference         : cat:evmexp.cat:100
 
Variable Items:
    count (INT32) = 500
    period (INT32) = 10
 
======================================================================
 
 
Script to generate/post EVM events:
num=0
 
while [ $num -lt 500 ]
do
 num=$(expr $num + 1)
 echo $num
 echo 'event { name sys.unix.print.lpd }' | evmpost
done

Script to capture all EVM posts, regardless if they are logged or not:
#!/usr/bin/ksh
file=/usr/users/davidbon/evmwatcher.log
evmwatch -A -f "[priority >= 0]" -t "@priority  @timestamp @@" >> $file
 

11.23.2005

VMWare workstation audio / sound volume level

Hate it when your guest VM changes the volume in the host OS? just follow the steps in the FAQ:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=853

in workstation 4 and above just add the following line somewhere inside your .vmx config file:
pciSound.enableVolumeControl = "FALSE"

Happiness!

quickly access Microsoft KB article

Here's a quick way to access Microsoft's KB (Knowledge Base) technet articles if you know the Article ID:
 
the url is:  http://support.microsoft.com/kb/{ARTICLE#}   where {ARTICLE#} is the article number
 
For instance If you're looking for article 257903, the you can get to it this way: http://support.microsoft.com/kb/257903   - Cluster Network Name May Not Come Online with Event ID 1052
 
 

Migrating from single print server to clustered print server

Migration of a single Windows 2000 print server to a Windows 2000 clustered print server.
'printserver1' is the name of the old print server.
 
I ran the Print Migrator wizard to get the printers on the cluster.  My plan:  on the night of the conversion, I would shutdown printserver1 and add a "network name" resource in the cluster configuration for printserver1 so that any clients that didn't run the vbs logon script(see my migration blog article) to change the connections would still be able to print without any noticeable effects.  That was my plan at least.  The following was the Murphy's law version of what happened:
 
After the shutdown of printserver1, tried to bring online the printserver1 'network name' resource.  But, I couldn't bring the printserver1 'network name' resource online.  I kept saying 'failed'.  The following events were posted to the system eventlog.
NOTE: make sure the advanced property, 'affect the group', is turned off, otherwise if you do have problems with the resource coming online, it won't cause the group to fail.  You can always turn that option on once the resource is stable and working. 
 
Event Type: Error
Event Source: ClusSvc
Event Category: Services
Event ID: 1069
Date:  11/23/2005
Time:  2:00:24 AM
User:  N/A
Computer: NODE1
Description:
Cluster resource 'printserver1' failed.
 
*************************************
*************************************
 
Event Type: Error
Event Source: ClusSvc
Event Category: (2053)
Event ID: 1052
Date:  11/23/2005
Time:  2:00:24 AM
User:  N/A
Computer: NODE1
Description:
Cluster Network Name resource 'printserver1' cannot be brought online because the name could not be added to the system.
Data:
0000: 0e 50 00 80               .P.€   
 
 
 
Cluster Network Name May Not Come Online with Event ID 1052 - http://support.microsoft.com/kb/257903
 
Solution (for me anyway):
delete all dns A and PTR records for printserver1
delete all wins records for printserver1
 
run nbtstat -RR on each node in cluster
then brought printserver1 network name online
 

11.22.2005

Event ID 8 on Windows 2000 cluster

Windows 2000 cluster, running IIS ftp as a cluster resource:
Event log entry almost every 5 seconds, even when no connections are being made to the IIS ftp server:
 
Event Type: Error
Event Source: MSFTPSVC
Event Category: None
Event ID: 8
Date:  11/22/2005
Time:  5:55:45 PM
User:  N/A
Computer: NODE1
Description:
FTP Server could not create a client worker thread for user at host 192.168.1.50.  The connection to this user is terminated.  The data is the error.
For additional information specific to this message please visit the Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
 
Solution:
Put the IP of the cluster (192.168.1.50 in this case) in address restrictions and the event log entry no longer happens, except for when an unauthorized IP tries to connect to the cluster ftp.  You must restart the IIS resource in the cluster to stop the event log from appearing.
 
client behavior:
C:\>ftp cluster
Connected to cluster.domain.com.
530 Connection refused, unknown IP address.
User (cluster.domain.com:(none)):
 
C:\>ftp node1
Connected to node1.domain.com.
Connection closed by remote host.

not quite related to this issue, but has same event log entry:
Event ID 8 When Clients Try to Access IIS FTP Site - http://support.microsoft.com/kb/293637

Epic Print Service running on Windows 2000 cluster

The upgrade from EPS version Fall 2004 to Spring 2005 IU2 caused the EPS service name to change from "epicprintservice" to  "EpicPrintService722".  Had to change that in the cluster configuration which requires the resource to be taken offline/ brought online when change is complete.
 
Caveats to running EPS on a windows print cluster:
1.  One locally installed printer must exist on each cluster node/member.  Restart(take offline/bring online in cluadmin) the EPS service if the printer was installed while EPS was running.
2.  Printer Path in the Epic device table needs to be the full unc for the printer.  Using the short name (the printer name by itself) doesn't work if all your printers are defined on the cluster name and not on the nodes directly (which is the way print clustering works).
 
 

11.18.2005

Microsoft SQL 2000 setup error

during SQL 2000 Standard setup -

error message:
previous installation created pending file operations on the installation machineyou must restart the computer before running setup.

FIX --
go here and delete the contents of the following registry key:HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

11.17.2005

PowerDVD XP v4 DVD error message

If you get (as I did) when trying to play certain DVD movies in PowerDVD XP 4 the following error message then you'll have to get and install the patch listed below.
message:
title bar: DVD Error
error code: 89030000
Unknown file format

patch can be found here: http://www.cyberlink.com/multi/download/dl_patch_82_1_ENU.html

This error message occurred on a Windows XP SP2 box. Not sure if it happens on other platforms, who knows?

11.16.2005

registration forms for newpaper websites - why bother

Don't register on a newspaper or similar web site simply to access some 'free' content / articles. Use the service: http://www.bugmenot.com

11.15.2005

HBA card install in AlphaServer

How to install an HBA (host bus adapter) in an Compaq / HP AlphaServer running Tru64 Unix - here are some of my tips and a very good writeup on the TRU64-UNIX-Managers mailing list.
SUMMARY: HBA: How to install -- http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2005-07/0035.html


I had to install a FCA2684 (aka DS-A5132-AA ??) HBA in a ES45 for various reasons. First after picking a 66Mhz slot and installing, at the SRM console, I ran wwidmgr -show adapter to see the adapter and receive an error something about NVRAM being invalid. That's because the NVRAM wasn't initialized since it was a brand new card. So since the topology was set correctly ('fabric' in my case) all I had to do was issue: wwidmgr -set adapter -item to initialize and save the setting in the NVRAM on the HBA.

Many times the firmware on the HBA must be a certain level, to check the firmware level, you can run the 'lfu' command and do the 'verify' command to see what the firmware level is. You can also see the firmware version when the emx driver initializes - see the /var/adm/messages for boot-time messages; grep for emx.

After that comes the Tru64 driver install / kernel rebuilt/config. The emx subsystem/driver that comes with Tru64 provides the support for this card. Support for the FCA2684 is included in Tru64 5.1B-2 (patch kit PK4) and above. If you don't have PK4 or higher installed, install it. If for some reason you can't install the PK, then you can install NHD7 (New Hardware Delivery) which will give you the driver/kernel rebuild necessary. I didn't want to screw with that, so I installed 5.1B-3 (PK5), at least I thought I did...

I configured support for the emx driver in the /sys/conf/SYSNAME ( where SYSNAME is the uppercase name of the system ). It's found in a section of like named 'config_driver' entries. all I did was add a line: config_driver emx and then save the file. Then came time to rebuild the kernel using the new option just added to the config file:
doconfig -c SYSNAME (rebuild the kernel)
cp /vmunix /vmunix.old (backup the kernel)
cp /sys/SYSNAME/vmunix / (move the new kernel into place)

After I rebooted, I noticed something strange in the boot up log: (from /var/adm/messages)
PCI device at bus 0, slot 9, function 0 could not be configured:
Vendor ID 0x10df, Device ID 0xfa00, Base class 0xc, Sub class 0x4 Sub-VID 0x10df Sub-DID 0xfa00 has no matching entry in the PCI option table
This message appear because I was NOT running the correct version of the emx driver. I was on 5.1B not 5.1B-3 (aka PK5). To see what version the emx driver is, or to see what cards it supports you can grep for strings in the emx module:
strings /sys/BINARY/emx.mod grep rev -- I was running 2.06 (from 5.1B)
strings emx.mod grep FCA -- see if my card was supported - it wasn't listed.

I then installed 5.1B-3 from cd and after the reboot, the emx driver loaded and all was well.

Stay in touch with business colleagues

LinkedIn: www.linkedin.com seems like a great way to find people that may be interested in working on a project or business idea. I like the idea, if not just to see who in my area is involved in my industry. I always felt like an outsider.

WPA2, D-Link, and Windows XP

How to get WPA2 to work in Windows. I believe it's only supported natively in Windows XP SP2 with the addition of a hotfix. WiFi equipment vendors may offer their own connection software that may work with WPA2...

I've got a DI-624 and wanted to use the more secure WPA2, but didn't know how to configure it properly on my WinXP SP2 laptop with the Dell TrueMobile 1300 WLAN 802.11b/g card. Don't give me the credit, I just found the following via google: http://www.dslreports.com/forum/remark,13878831?hilite=dwl-g650

The hotfix to add WPA2 to XP is found here: http://support.microsoft.com/kb/893357 (titled: The Wi-Fi Protected Access 2 (WPA2)/Wireless Provisioning Services Information Element (WPS IE) update for Windows XP with Service Pack 2 is available)

Here's a good white paper on WPA/WPA2 and deployment: http://www.wi-fi.org/getfile.asp?f=WFA_02_27_05_WPA_WPA2_White_Paper.pdf

intermediary remote control products

No, I'm not talking about the remote control products like PCAnywhere, or NetSupport Manager or SMS.... Those products require you have control over the target PC to install a client piece of software.

The remote control I'm speaking of here is specifically designed for end users / customers that need support periodically and will launch the support via their web browsers by means of a java applet or activex control.

Here's some research I've done. My favorite solution, so far, is the logmeinrescue.com from 3am labs. It seems to be the biggest bang for the buck. If you have one that's better, then comment about it bucko!


www.gotoassist.com
Annually $3900 for 1 seat
$700 implementation fee

www.logmeinrescue.com $1188/year
The technician: www.logmeinrescue.com
ask the user to go to: www.logmein123.com then type in pin number.

remote support products:
http://www.gotoassist.com
3rd party

http://www.networkstreaming.com
appliance

http://www.logmein.com
3rd party

http://www.netsupport247.com

http://www.remoteus.net
requires app server in DMZ

http://www.dualdesk.com
must open ports on technician's firewall.

11.14.2005

Single server KVM over IP

Just saw an ad today for a single device IP KVM. The Dominion KX101 from Raritan: http://www.kxbutt.com

I've always been looking for an inexpensive single device IP KVM. This one isn't that cheap from the quick froogle search I did, it seems to be around $750. Provide a comment regarding more economical IP KVMs that you've used. Thanks.

11.13.2005

In practice: g4u cloning

Very slow: hours... this was in a 100mb fdx switched environment. Basic premise: get an FTP server that can hold an image as big as your drive. Don't use IIS (at least on Win2k pro) it died after 4GB was uploaded (yes, it was an NTFS partition; this wasn't a fat16/32 file size limit problem, it was an IIS problem). I ended up using the free Quick 'n Easy FTP server lite.

BTW: www.webattack.com aka www.snapfiles.com has lots of great freeware / shareware utilities that have helped me over the years. If I'm looking for an app or utility free to use (and when aren't I?), the first place I look is webattack.com.

Anyway, after the FTP server is setup (setup a user named 'install' and give him a password), then boot the PC you want cloned/imaged with the g4u CD. Follow the instructions on the screen. I did this to move from a 40gb drive in my laptop to a 80gb drive. Once the uploaddisk/slurpdisk (g4u terminology for dump disk / load disk) is complete I was able to use my new 80gb drive.

But wait; it copied the configuration over identically. That means all my partitions are still the size they used to be on the 40gb drive. Solution: enter ntfsresize - or the QTparted front end, available on many linux distros. Here's some info: http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html

I opted to use the RIP distro: http://www.tux.org/pub/people/kent-robotti/looplinux/rip/ after booting, I followed the instructions from the RIP homepage to backup the mbr and partition table. I then ran fdisk, deleted my partitions, recreated a new 80gb partition that consumed the entire drive size, changed the type to 7 (ntfs) and set it to be bootable ('a' command). After writing ('w') it to disk, I ran the ntfsresize /dev/hda1 to resize the partition to occupy the entire disk. To confirm the resize was successful, I ran ntfsresize --info --force /dev/hda1. Remeber that just because I used fdisk to delete the partition, that doesn't delete the phyisical partition, it just deletes the entry for the partition in the partition table. That part is not that destructive because your can recover from it (if you know what the hell you're doing!).

Lastly for me, since I was doing dual-boot with XP and Fedora and had grub installed on the mrb, I had to fix that since I'm stupid when it comes to grub. I booted with the XP cd, selected R for repair, which booted me into recovery console. From there I did a 'fixmbr' command to kill grub and get the XP boot loader installed. see the description of the XP recover console: http://support.microsoft.com/?id=314058

confused? See the following: http://homepage.smc.edu/morgan_david/cs40/assignments/assgt4.htm
http://homepage.smc.edu/morgan_david/cs40/partitionrec.htm
http://www.ntfs.com/boot-sector-damaged.htm general good source of NTFS info: www.ntfs.com

11.12.2005

cheap / free hard disk cloning

If you're a cheap bastard like me and don't want to spend the money on a product like Ghost, then the following open source / free products might just suit your fancy:

g4u - Harddisk Image Cloning for PCs
http://www.feyrer.de/g4u/

using dd and netcat to clone disks:
(down ???) http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html
Google's cached copy: http://72.14.203.104/search?q=cache:jx4674quVY0J:www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html+linux+cloning&hl=en

resize those NTFS partitions:
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html

11.08.2005

problems with Dell M5200 or Lexmark/IBM printers and MS Office apps

any office program: word, excel, outlook, (winword.exe, excel.exe, outlook.exe)
dell printer m5200 "program error" "generated errors"
right-click properties on printer:C:\winnt\explorer.exe -Function address 0x77fcb21d caused a protection fault. (exception code 0xc0000005)Some or all property page(s) may not be displayed.
http://www.msusenet.com/archive/topic.php/t-1870972607.html
http://support.microsoft.com/kb/908506 -- 891861 update causes problems for driver
delete printer, then had to stop/start spooler, delete driver, and reconnect to printer.

Entry from C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log. Look at the ascii output in the raw stack dump... reference to lexsetprinter lead me to believe it was a print driver issue.***********************************************


Raw Stack Dump
0012c640 ea ac fc 77 c8 00 00 00 - 50 06 a9 01 00 00 13 00 ...w....P.......
0012c650 a8 06 a9 01 50 00 00 00 - 10 c8 12 00 cc c4 01 10 ....P...........
0012c660 00 86 04 10 05 00 00 00 - 06 00 00 00 c0 c7 12 00 ................
0012c670 50 00 00 00 20 07 a9 01 - a8 06 a9 01 50 06 a9 01 P... .......P...
0012c680 0a 00 09 00 00 00 13 00 - 05 00 00 00 00 c6 12 00 ................
0012c690 1e a3 d3 77 f8 c7 d5 77 - 78 01 a9 01 78 01 a9 01 ...w...wx...x...
0012c6a0 b4 83 80 77 28 c6 12 00 - f4 c7 12 00 f4 c6 12 00 ...w(...........
0012c6b0 64 7e fb 77 78 16 f8 77 - ff ff ff ff 04 c7 12 00 d~.wx..w........
0012c6c0 fb 92 57 7c 00 00 13 00 - 00 00 00 00 40 41 15 00 ..W........@A..
0012c6d0 8c c8 12 00 c4 06 a9 01 - 03 00 00 00 00 00 00 00 ................
0012c6e0 00 00 00 00 c8 c6 12 00 - 00 00 00 00 d0 c6 12 00 ................
0012c6f0 f4 c7 12 00 f4 c7 12 00 - 54 1f 5c 7c 80 24 57 7c ........T.\.$W
0012c700 ff ff ff ff 2c c7 12 00 - 76 43 80 77 40 41 15 00 ....,...vC.w@A..
0012c710 34 02 81 77 40 41 15 00 - 8c c8 12 00 c4 06 a9 01 4..w@A..........
0012c720 50 06 a9 01 40 41 15 00 - 05 00 00 00 04 c8 12 00 P...@A..........
0012c730 ab 9f 59 7c 74 02 00 00 - 01 00 00 00 66 d9 01 10 ..Yt.......f...
0012c740 74 02 00 00 5a d9 01 10 - 8c c8 12 00 c4 06 a9 01 t...Z...........
0012c750 50 06 a9 01 74 02 00 00 - 47 00 6c 00 6f 00 62 00 P...t...G.l.o.b.
0012c760 61 00 6c 00 5c 00 4c 00 - 65 00 78 00 53 00 65 00 a.l.\.L.e.x.S.e.
0012c770 74 00 50 00 72 00 69 00 - 6e 00 74 00 65 00 72 00 t.P.r.i.n.t.e.r.


6.08.2005

she's gone

God, I was stupid. All this time wasted. She's more than likely out of reach now.

How stupid can one man be?