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?

2.18.2005

hello

shift 2
if [ $# = 1 ]
then echo welcome to my new blog
echo things will hardly ever be posted here
if

Out of no where

Here come the ideas. Inventions. Will be coming