12.26.2005
Good vi tutorial
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
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
Open source Linux home theatre software: freevo and A/D converter
How to build a Linux analog to digital converter: http://linuxgazette.net//118/chong.html
12.20.2005
Gmail 'operation' aborted in IE
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.10.2005
TCP/IP filtering and security in Windows 2003
Microsoft Windows Server 2003 TCP-IP Implementation Details - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/networking/tcpip03.mspx
Configure TCP/IP to use TCP/IP filtering - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/676ec0f3-4200-43d4-a512-7c637493c387.mspx
List of IP protocol numbers from IANA - http://www.iana.org/assignments/protocol-numbers
Some common IP protocols are:
1 - ICMP
6 - TCP
17 - UDP
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
Browser Capabilities and browscap.ini
http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/comp3xx0.htm
http://www.w3schools.com/asp/asp_browser.asp
http://support.microsoft.com/kb/311227
12.06.2005
vdump to tape and file simultaneously
type : advfs
advfs id : 0x3cbae55e.010baf45.b
FCA2684 and EMC ClARiiON Cx500
#
# 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
ASP code to log events to application event log
Bandwidth speed test for broadband connections
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
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
Tru64 boot hanging on configuring network
12.02.2005
determine if cluster group is running on current node
if %errorlevel%==0 echo Yes group is running on this node
System error 997 trying to online application in 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
"TraceFile"="c:\\trace.log"
"TraceMode"="0"
"ClientConfigFile"="c:\\test.txt"
usr8022 and dwl-G132 won't connect
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
create keyboard shortcuts for html forms, links and other elements....
11.28.2005
DHCP Client service and Dynamic DNS relationship
: Refreshing DNS names
11.25.2005
DVD burning with cdrtools / cdrecord and cygwin
Free cookie analyzer
11.24.2005
Public/Private key authentication with Putty and OpenSSH
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
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
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
Tru64 LPD and EVM - can't shutup LPD
LPD job submit requested - Status 0 Printer myprintername
LPD job submit completed - Status 0 Printer mypritnername Job number 0
EVM event name: sys.unix.evm.daemon.event_activity
daemon when it detects a high number of events occurring over
several minutes.
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.
this event by modifying the daemon configuration file,
/etc/evmdaemon.conf.
EVM daemon: High event activity - exceeds 500 in 10 minutes
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
count (INT32) = 500
period (INT32) = 10
do
num=$(expr $num + 1)
echo $num
echo 'event { name sys.unix.print.lpd }' | evmpost
done
file=/usr/users/davidbon/evmwatcher.log
evmwatch -A -f "[priority >= 0]" -t "@priority @timestamp @@" >> $file
11.23.2005
VMWare workstation audio / sound volume level
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
Migrating from single print server to clustered print server
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 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.
delete all wins records for printserver1
then brought printserver1 network name online
11.22.2005
Event ID 8 on Windows 2000 cluster
Event log entry almost every 5 seconds, even when no connections are being made to the IIS ftp server:
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.
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.
Connected to cluster.domain.com.
530 Connection refused, unknown IP address.
User (cluster.domain.com:(none)):
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
11.18.2005
Microsoft SQL 2000 setup error
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
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
11.15.2005
HBA card install in AlphaServer
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
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
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
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
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
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
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
How stupid can one man be?
2.18.2005
hello
if [ $# = 1 ]
then echo welcome to my new blog
echo things will hardly ever be posted here
if