Category - Nerd Things

July 29, 2008

More fun with Tinyget.exe

I don't get to do as much scripting as before with my new job, but every now and then I get to do something really fun... like writing a script to post an update to a web server over HTTPS with client certificate authentication. So, here goes... tinyget -d -s:SSL3 MORE...

June 17, 2008

Firefox Download Day is bunk...

It's 12.10 am on June 17th (Firefox 3 Download day) and it's still not available.... Dude, where's my fox...? MORE...

March 26, 2008

Creating eMule P2P rules on the Juniper (NetScreen) SSG 5 series

I generally use two Linux distro based firewalls on my home network, but I recently tested a Juniper SSG 5 for an evening with eMule. This was as close to a certain P2P based streaming AV application we use @ work that I could get without dragging a bunch MORE...

January 22, 2008

Performance notes on the LSI 1068 SATA/SAS Controller

I recently bought an ASUS P5M2/SAS motherboard to set up a whitebox ESX server capable of hosting 64 bit VM's. I chose this mobo because it has a pretty strong following of home ESX users, and the embedded LSI 1068 controller is supported by ESX. I would have liked MORE...

January 8, 2008

How to crash your Cisco 871 Series Router

Turns out it's pretty easy to brick a Cisco 871 series router... just reboot it. OK, it's a little harder but not much. Here's the 411. We selected the Cisco 871 Series router for use in a medical device. The customers of our medical device turn it on before MORE...

October 27, 2007

Fixing the boss's e.mail...

My old boss is in the news again. To be exact, he was my boss's boss to about the tenth power. Way back when I first started at Merrill Lynch (in Tokyo Japan) and was working on the desktop team I was dispatched to the Exec floor to "fix a MORE...

July 15, 2007

Use tinyget to determine your external IP address

Here's what we're trying to do: I wanted to send myself a periodic e.mail to @gmail.com with my external IP address, both to keep a log of IP's used, and to recover in case my dynamic DNS registration fails for some reason. And of course, Google's nearly unlimited MB MORE...

July 13, 2007

Installing ESVA 1.7.1.5 on VMware ESX Server

Installation notes for the VMTN virtual appliance ESVA (E.mail Security Virtual Appliance) on ESX server. 1. Download the latest version of ESVA, available here. 2. Copy all the files up to the ESX server. From Windows, use pscp (Putty) available here. 3. SSH into the ESX console and run MORE...

July 12, 2007

How not to move your filers...

How not to move your NetApp filers... * OK, I admit it... this is a crude photoshop image I made for a Data Center move presentation. We will be more careful moving our FAS960c. MORE...

June 23, 2007

The 411 on testing Exchange 2007

Being a big messaging geek, I couldn't wait to get my hands on the 32 bit testing version of Exchange 2007 RTM. In case you haven't read up on the latest, there is a 32 bit version of Exchange 2007 - but only for testing. After hovering over the MORE...

June 22, 2007

Installation notes: Ontap Simulator on Ubuntu 6.06 LTS on ESX

Installation Notes: NetApp Data Ontap Simulator on Ubuntu Server 6.06 LTS, on ESX 1. Install Ubuntu 6.06 LTS from an ISO. Make the virtual disk 20 gb for 1 simulator and 30 gb if you plan to run two. The NOW site has a good step by step guide MORE...

June 19, 2007

Exchange 2007 Installation notes

Finally got around to installing Exchange 2007 gold in a test lab, on Windows 2003 R2 x64. I'm not sure if I'll be able to get real mail routing through it anytime soon, it has to live off the prod network for now. If you're not a messaging geek, MORE...

June 6, 2007

Update EasyDNS with tinyget.exe

I've used or tried several dynamic IP clients in the past with various results. One windows shareware utility worked fine, but randomly decided to use 100% of the CPU until manually reset. Probably the best so far was Ez-ipupdate for *Nix systems, it's a freeware/open source utility and really MORE...

May 28, 2007

How to force reset a DC computer account (Windows 2003)

As detailed on the MS Support site here The process is mostly the same as in Windows 2000, except you have to stop the Kerberos Key Distribution Center service and restart (or remove the Kerberos ticket cache). I ran this once from memory, when it didn't work I had to MORE...

May 9, 2007

Sample Script - remote shutdown or hibernation of a Windows system

See this post for how to wake up your server remotely. This is the second part of my decidedly-not-rocket-science script to remotely shutdown / hibernate a Windows home fileserver. It will should work on anything Win2k or newer, including XP.Requirements: 1. The excellent freeware application BeyondExec v2 from BeyondLogic.2. MORE...

Sample Script - WOL or Wake On Lan

In order to save power and keep my garage from overheating, I turn off my home file server when not in use. I used to manually run out to adjust the Big Red Switch, but then I decided to get lazy and script the WOL process... and use hibernate MORE...

April 10, 2007

Radiant Barrier and iButtons...

The house remodel is coming along nicely, I've been stapling some radiant barrier in the attic to get ready for the summer heat. If it works half as well as advertised the place will be much cooler in the summer. The insulation up there dates from the early 80's MORE...

March 12, 2007

Fun with Logparser.exe and EventID 1221

Here's a simple query against the Application log on a remote Exchange server through logparser.exe to grab 2 days worth of EventID 1221 (summary of online after-hours maintenance). I've added this to my daily Exchange server status script. Note per MS that you should do an offline defrag (eseutil MORE...

February 16, 2007

Batch Script - Dump workstations from AD and check a file version

We recently identified a bug in a widely deployed application and needed to get a count of how many installs mights be subject to issues. Normally I would just walk over to the SMS console and run a report, but sadly our SMS remains less-than-completely-deployed at the moment, and MORE...

Zantaz EAS Index Maintenance SQL query

If you don't use Zantaz EAS, hit the back button now... this is going to get boring quickly ! When using Zantaz EAS (Exchange Archive System) you have to create an index and eventually split it off when the index fills up. I split the Index membership from a MORE...

February 15, 2007

Quick and dirty Zantaz EAS troubleshooting queries

Here's a couple of quick and dirty tests for Zantaz EAS to verify the back end servers are up and running... cut and paste the following into Internet Exploder (IE). Verify the IIS server can reach the SQL database server.http:// eas-server/EAS_App/easweb.dll?dbtest Verify the IIS server can reach the SQL MORE...

February 13, 2007

Custom Wood Case for the MultiPlex MiniMag RC Plane

Boredom with wood and tools can be dangerous... Here's a custom hardwood case I built for my MultiPlex MiniMag RC Airplane. It's made of Douglas Fir and high quality hardwood veneer ply with brass hardware. The case is custom sized to the MiniMag and holds the plane securely for MORE...

February 7, 2007

Exchange Event ID 3005 MSExchangeTransport

If you're not an Exchange administrator, skip this one. I finished up a 1200 user Exchange 2003 to 2003 migration on Jan 31. After catching up on sleep for a few days it was time to turn off the source Exchange servers. Post shutdown, I ran through the eventlog MORE...

January 31, 2007

The Source of All Evil (www.microsoft.com?)

When surfing the web for Exchange documentation last week, I ran across several links to MS KB articles on http://thesource.ofallevil.com . When you click on the links, you go to the MS web site. What, Microsoft is the The Source of All Evil ? And here I thought it MORE...

January 24, 2007

Scripting moving objects in AD

During an Exchange migration I needed a script to move 200 users into an OU indicating they were migrated. Since the source OU's for these users is all over the place, I took to placing a custom attribute and doing an ADUC saved query (LDAP) search to find them, MORE...

January 18, 2007

More fun with LDAP searches in ADUC

Here's a handy query to find all non-disabled users (not contacts, groups, etc) with a specific SMTP address (primary or otherwise): (objectCategory=person)(objectClass=user)(mailnickname=*)(proxyAddresses=smtp:*@mydomain.tld)(!userAccountControl:1.2.840.113556.1.4.803:=2) MORE...

January 15, 2007

How to expose meta data on Active Directory objects

Recently while troubleshooting a RUS (Exchange Recipient Update Service) issue MS pointed out how the repadmin.exe command could output the meta data on AD objects. This was quite useful in this case, a process outside of RUS was modifying newly created user accounts before the RUS stamped the objects. MORE...

January 7, 2007

Sync Windows Mobile Outlook Contacts across 2 Exchange servers

Turns out it's not so hard to sync Outlook Contacts on Windows Mobile 5 (WM5) across 2 Exchange servers. What:I run my personal Exchange 2003 at home, and the corporate Exchange 2003 system at the office. Since these are completely separate organizations I want to keep my just my MORE...

January 2, 2007

Custom ADUC query - Find a specific SMTP address in AD

Using a custom saved query in AD to find a specific SMTP address. This is helpful if you're having trouble finding the source of a conflicting SMTP address. Limit search to users / contacts:(&(objectCategory=user)(mail=address@mydomain.tld))Wider search by SMTP address:(&(proxyAddresses=smtp:address@mydomain.tld)) You can go further and query all users in a certain MORE...

2 different methods of MS Terminal Service Remote Admin

Here's an easy way to connect to the remote console of a TS server... useful if you get "The terminal server has exceeded the maximum number of allowed connections." error message. mstsc /v:10.10.0.1 /console Where 10.10.0.1 is the IP address of the server in question. You'll have to boot MORE...

November 15, 2006

Batch - add a carriage return with texttools32

Here's a simple way to replace one line of ext with two using Texttools32 from firefly software. Example - Before blah=true Name=robot-0001 blahblah=true Example - After blah=true Name=robot-0001 Mode=1 blahblah=true Command type inifile.ini | t repl 'Name=robot-001' 'Name=robot-0001#0d#0aMode=1' So by adding #0d#0a or a line feed, we can add an MORE...

November 9, 2006

Installing ESVA 1.6 on ESX server

I finally got around to playing with VMware Virtual Infrastructure 3. VI3 is ESX server 3 plus the additional management application Virtual Center 2.o, and the other slick features for backup. Anyway, what I wanted to do first is get ESVA 1.6 (available here) or the E.mail Security Virtual Appliance MORE...

November 1, 2006

Are there any good drugs for... Anger Management?

In my original post Setting the Record Straight and my followup post The Japan Page has Erectile Dysfunction I posted an e.mail exchange with Shanon Fernwald, the owner of www.japanpage.org. This was formerly my home page that I allowed to lapse, and which she now owns. MORE...

October 6, 2006

How to grow NetApp SnapMirrored volumes

The following are my notes on how to grow SnapMirrored LUNs on a MSCS Exchange cluster. What we're running: Microsoft Windows 2003 Enterprise 2 node Active / Passive cluster Microsoft Exchange 2003 SP2 NetApp SnapDrive 3.1 MS iSCSI Initiator 2.01 SnapManager for Exchange 3.1 R1 The Exchange cluster maps the MORE...

September 18, 2006

Sample Script - Windows MSCS Cluster monitor

What it does... Monitors the status of the cluster service and any clustered applications. It will alert if any resources are pending, or if your preferred node isn't active for a particular service. Why? After setting up my first fibre attached Windows MSCS file server cluster I decided to write MORE...

August 30, 2006

Sample Script - Check web server from a batch script

OK, just to prove you can do anything with a command line batch script... how about verifying your web server is up...? Why use an application when you can script it? :-) Thanks to the IIS 6.0 Resource Kit tool TinyGet.exe, you can do amazing things from the command line. MORE...

August 29, 2006

Sample Script - Network Appliance snapshot monitor

As part of a HA Exchange 2003 rollout using iSCSI on Network Appliance filers, I needed a utility to monitor that our snapshots were running every few hours without issues. I couldn't find anything, so I wrote a script to do it. Here's a little background: We're running Exchange 2003 MORE...

August 28, 2006

Exchange 5.5 Site Consolidatin Notes - object rehoming

When consolidating an Exchange 5.5 site: before turning off 5.5 you have to rehome the Distribution Lists and custom recipients. Here are some notes... Run the exdeploy tool in scan mode first. I ran it twice, once to get Distribution Lists and again for custom recipients (contacts). The output is MORE...

August 25, 2006

Why you shouldn't take your Birthday off...

Recently my co-worker, we'll call him Langey, took his Birthday off. His staff were a little sad to not see him on his special day, and felt obligated to get him something to unwrap. Four industrial size rolls of plastic wrap and 2 hours later, his entire cube, and everything MORE...

August 24, 2006

Useful Zantaz EAS SQL Queries

About a year ago I rolled out Zantaz EAS (Exchange Archive Solution) to 3000 users. We were the first large production rollout onto NetApp filers for Zantaz, and after a bunch of tweaking we got it up running. (Zantaz says you can run the Indexer and Archiver over CIFS, but MORE...

August 21, 2006

Sample Script - Convert a text file to a system variable

When running a batch script there are times when you want to take the output of a utility and/or file and convert it to a system variable. Batch was not designed for this, but there's an easy way to do it.... In this example, we'll take a line of output MORE...

August 20, 2006

Strange File - FlushServ.exe

I recently ran into a strange file (and service) running on my Windows 2003 server called FlushServ.exe. An Internet search didn't show any useful hits or details on the file, but I quickl figured it out. MORE...

August 18, 2006

SEO Tools (Search Engine Optimization)

Found a great site full of free SEO tools... Quote: The SEO Tools found in this section were designed to assist you in configuring your website(s) for search engine optimization within the different search engines. Please select one of the SEO Tools from below to begin optimizing your website(s) for MORE...

August 17, 2006

Customized Search Template in MovableType 3.x

MovableType has added numerous improvements since I started using it with v.2.2x. One of the sucky features are the search pages and templates that generate results, they're CGI and not as easy to customize as the rest of the shell. But, turns out you can still do it... MORE...

August 16, 2006

Sample Script - Custom Attribute yields easier LDAP searching in ADUC

During a recent Exchange 5.5 to 2003 cross site mailbox migration, I needed a simple way to select a large number of users out of AD, right click and say move mailbox. Sounds pretty simple, right? But what if you use multiple levels of OU's in your AD structure, and MORE...

August 15, 2006

Sample Script - Get the Legacy Exchange DN from AD

During a recent Exchange 5.5 to 2003 maibox migration, I needed to have quick and easy access to the Legacy Exchange DN (AKA the Obj-Dist-Name in Exchange 5.5). We use the Zantaz EAS (Exchange Archive System) here, and it binds to MB's in the GAL through this field. The ADUC MORE...

August 9, 2006

Sample Script - Runas MMC

I've just about completed a 2500 user Exchange 5.5 to 2003 migration (you'd be surprised how many laggards are still using Exchange 5.5). One of the challenges was quickly logging into several different AD domains to perform account maintenance. Since Windows 2000 the "run as" feature has greatly simplified this, MORE...

The Japan Page has moved...

Yes, the server is now up on a proper ISP, www.hostgator.com. Before this, The Japan Page had been running on a very nice private server (1U) wiith a severe bandwidth limitation. Not that I get that many daily hits, but at least updating the site won't be quite as slow. MORE...

July 4, 2006

SipPhone Sucks (A review of a VOIP service to avoid)

I recently decided to try VOIP, and after looking through a bunch of offerings signed up for SipPhone. Percieved Pluses to SipPhone * Free VOIP calls inside the system (just like everyone else). * Attactive and free software phone client (Gizmo Project) Nice, but my wife won't use it, she MORE...

April 27, 2006

Automating Public Folder Moves in Exchange 200x

Part of the reason I've not posted here regularly is the 1600 user Exchange migration I'm working on right now. (The rest of the reason is I'm either lazy or fixing something at home. :-) I'm almost ready to start the production migration, so it's time to populate the new MORE...

February 1, 2006

A really cool Konfabulator widget

Need to monitor the output of a log file? Like the *nix app tail (tail.exe in windows), but want it to run in a widget? Here's what you need... KonSoulmate by Henrik Virking KonSoulmate is a utility that lets you display the end of any text-based logfile. In fact, you MORE...

ADUC LDAP Queries

Various LDAP queries that can be used against AD in Active DIrectory Users & Computers. Should work in Windows 2000 and Windows 2003 AD, and makes for a very nice "Saved query". Find all non-disabled users with no Exchange Home Server (&(objectCategory=user)(legacyExchangeDN=*)(!msExchHomeServerName=*)(!userAccountControl:1.2.840.113556.1.4.803:=2)) Find all users with "some text" anywhere in MORE...

November 4, 2005

Zantaz EAS e.mail archive secret "Option 99"

Zantaz EAS e.mail archive secret "Option 99" Rolling out Zantaz EAS e.mail archiver and found there is a secret function called "Option 99". This option requires a free license, and will allow you to delete contents of a MB without archiving. Could be helpful to automagically clean out system MB's MORE...

September 2, 2005

BMW F650GS Dakar (Off-roading with a shaft drive?)

I recently sent in my BMW R1100S for service and borrowed a loaner F650GS Dakar from SJ BMW. The guys at SJ BMW are great, even if it costs me more than $500 every time I visit. :-) The F650GS is another story. MORE...

August 24, 2005

Emily riding my BMW R1100S

Here's a great shot of Emily sitting on my bike. Don't worry, she's never actually ridden the bike, it's for commuting and doesn't have rear pegs. You'd think when you bought a BMW bike they could throw in rear pegs though... MORE...

August 14, 2005

Copyright Information

Unless otherwise noted, all Content, Photographs, and DigiArt are (C) 2006 John D. Seaman You may not copy or reproduce any images or part of this site without the express written permission of John D. Seaman. The photographs featured on The Japan Page are available in digital or print MORE...

February 28, 2005

Software RAID on Windows XP

OK, it's a nerd thing to do, especially when decent hardware RAID is available for about $200. And by decent hardware I'm talking about a Promise FastTrak SX 4000 or better, not the fake RAID TX series that offloads all the RAID onto the local CPU. (You spend money and MORE...

February 15, 2005

How to Turbo Charge Mozilla Firefox

1. Enter "about:config" in the address bar and hit return. Browse down the page and look for the entries below: MORE...

Streaming MP3 files from a Web server.

I found a great ASP (PHP also available) application to stream MP3 files from a PC or server. Andromeda is a sharware application consisting of one .ASP file. MORE...

February 14, 2005

Fedora Core Installation Notes

Fedora Core install on a Via Epia-M motherboard failed on initial boot while decompressing the kernel. A little research shows that Fedora Core 2 and newer are compiled for the 686 (aka Pentium) platform. I had to go back and install Fedora Core 1. MORE...

January 30, 2005

MS Exchange 2000 / 2003 Open Relay Filter

A freeware Open Relay Filter (DNS RBL, etc) for Exchange 2000 and 2003. Text description below from Martijn's site. It's freeware, I've not tested yet in production but it looks interesting. MORE...

January 23, 2005

Linux remote access through VNC over SSH

Use VNC over SSH with a Windows client and Putty. Why? Complete remote administration (with a VNC GUI) of a Linux server from a Windows workstation. Users the freeware application Putty.exe. MORE...

Running VNC on Fedora Core2

Really just a note to myself as plenty of documentation exist out there for this... 1. Install VNC, it's included in Fedora Core 2 and later (Core 1 too?) MORE...

January 19, 2005

Sample Script: Web Interface to Windows 2000 DNS

ASP based Web Interface to Windows 2000 DNS What does it do? The web interface allows you to add / remove host (A) and reverse (PTR) records in DNS using an ASP based web interface. MORE...

Sample Script: DHCP Scopemon v.2

Version 2, new and improved! DHCP Scope Monitor is a utility I wrote to monitor the usage of DHCP scopes on W2K servers.  For redundancy I split all DHCP scopes across 2 separate servers, but I needed a way to track usage and free IP's and the MMC is weak MORE...

Sample Script: DNS zone dump utility

A handy script to dump the contents (records) of Windows 2000 DNS zones. Gets all DNS zones that W2K is authoritative for, dump the zone records to txt files. Purpose: track changes if needed, do offline scripted duplicate RR checks, etc. MORE...

Sample Script: Get today's date

A sample command line batch file to get today's date from the system. I use this mostly to output a log file with today's date (such as the format 2005.1.18.log) from a batch script. If you just want today's date or time, from Windows 2000 or newer call the variable MORE...

Sample Script: Errorlevel checking in batch scripts

A batch command line programming example of how to call a utility or perform a function and react according to the %errorlevel% value returned post execution. In this example we parse a log file for an error string. Download file MORE...

Sample Script: DNS KCC

A sample script for Microsoft Windows 2000 DNS servers. Compares the number of DNS zones on your W2K DNS servers and alerts when they are out of synch. This can be useful in a large distributed environment when you have both primary and secondary DNS servers and multiple regional admins. MORE...

Sample Script: Eventlog monitor for Domain Controllers

A sample script utility to monitor critical events in DC eventlogs and alert by SMTP mail. Download file MORE...

January 18, 2005

ASCII Art Generator web page

ASCII Art Generator - create ASCII art without the hard work, just type your text and choose a font. Perfect for the busy oldskool sysadmin. http://www.network-science.de/ascii/ MORE...

Exchange Service Account in Exchange 2000/2003

How to grant an Exchange admin the equivalent of service account rights... http://www.petri.co.il/grant_full_mailbox_rights_on_exchange_2000_2003.htm MORE...

January 14, 2005

How to install MovableType 3.x on Microsoft Windows 2003 Server

How to install MoveableType 3.x on MS Windows Server 2003 I found a page by Simon detailing how to install MovableType on Windows XP, but not much on the web for MS Windows server 2003 documentation. So, for those of you who have to do it on Windows... 1. Install MORE...

October 24, 2003

It's a nerd thang...

Yup, can't believe no one in Silicon Valley thought of this before. (Registered in 2003) :-) MORE...