Crumpled Thoughts

February 15th, 2007

Wish Me Luck

Posted by Chris in Technology, Life, Sysadmin

I’m driving up to Portland, Oregon tomorrow to do an install for work on Friday. Oliver Russell & Associates is doing a major technology upgrade and we’re rolling out over eight terrabytes of storage in new servers at the Boise and Portland offices. This project has kind of been my baby, and the Portland piece is the final part. We’re implementing some cool new replication technology and linking the sites via a point to point T1. Exciting Stuff :) . Friday I get to set up the server in Portland and configure the Cisco routers between the sites. I’m hoping I don’t hit any major storms on the drive… I’ll be picking up some chains just in case before I head out of town. The forcast is a bit borderline… my route is the little red squiggle in the upper left.

Weather

December 21st, 2006

Christmas Joy

Posted by Chris in Life, Kairi

Our little angel, full of Christmas Joy

Christmas Joy

November 6th, 2006

Go Vote Tomorrow— Seriously

Posted by Chris in Life, Rant

I’m discouraged when I see the voter turnout every two years. With as much as people complain about local and national politics these days, you would think more people would get out to the polls when they have a chance. This year I’m instituting a new personal policy; I won’t discuss politics with people who didn’t at least take the time to vote.

So there you have it. If you don’t vote, you waive all rights to have a political discussion with me. If you don’t vote and still wish to discuss politics, you’ll have to accept a slap to the face before the discussion.

If that’s not motivation, I don’t know what is. And despite the outcome of tomorrows elections, there is one thing we know we can look forward to. Relief from political yard signs and misleading television ads.

October 31st, 2006

Cable Modem Woes

Posted by Chris in Technology, Sysadmin, Rant

A couple of months ago I started having some serious issues with my cable modem. The modem would randomly disconnect and reconnect throughout the day. I called my ISP, and they would tell me everything seemed fine. Then sent a guy to the house who redid some of the connectors on the outside of the house, but it did not help at all.

In a fit of frustration, after it had done this ten times in a 30 minute period, I ran off to Walmart and bought a new modem. Things seemed to be better for a couple weeks, then it started again. When the cable company was of little help, I found that Motorola modems provide some data through a web interface at http://192.168.100.1. I started plotting graphs of Power Level, and Signal/Noise ratio using rrdtool. I was hoping to find a correlation between the disconnects and these values. Today I was looking at the graphs and noticed a strange boost in the upstream power level:

Daily Graph

Daily SNR Graph

Weekly Graph

Weekly SNR Graph

I’m not sure what these values mean, but I would think that higher is better. I didn’t notice any disconnects during the period of improved upstream power level. Anyone know what these values mean?

October 30th, 2006

What am I up to?..

Posted by Chris in Life

Just over here slacking. Seriously, I have all of these things to post about in my head– but between work, family, and chores I’m having a hard time finding the time to sit down and post. I’m hoping to get some pictures up from Kairi’s 2nd birthday party, as well as Haloween tomorrow. She’s going to be the cutest witch in the neighborhood.

I’ve got a few new Mac OS X tips, as well as some other things rolling around in my noggin that I’ve been itching to write about. My impressions of IE 7 and Mozilla Firefox 2.0. My thoughts on Microsoft Vista– having been testing it over the past several months.

Stay tuned. I’m not dead, just busy :) .

-Chris

September 3rd, 2006

Ray of Sunshine

Posted by Chris in Life, Kairi

Some pictures that my Mom took of Kairi while she spent the day with her last week. Mom is much better with the camera than I am.

Ray of Sunshine

Kairi Smiling

Kairi in the geraniums

August 26th, 2006

Waiting for my oil change

Posted by Chris in Technology, Life

Well, I’m waiting for the folks at Jiffy Lube to change my oil, and the Treo is really helping pass the time. I’ve caught up on unread email, read Jason’s latest blog post, and checked Slashdot headlines.

I really like this device. It’s not nearly as bad as a phone as I was afraid it would be. I’ve been able to be much more reponsive to email than I was without it.

Now, all of the little breaks in my day I can use productively. Filling up the car with gas, bathroom breaks, smoke breaks, and waiting rooms are all productive. Now, when I get back to the office I don’t have to spend 30 minutes catching up on email… I can get right to work.

August 24th, 2006

Persistent IP Routes in Mac OS X Tiger

Posted by Chris in Technology, Sysadmin

One of the clients I work for has a Mac OS X server which handles most of the file shares on the network. They have two internet connections, one on their T1, and a secondary DSL connection for redundancy. The Mac OS X server has two network interfaces; one with an internet IP (behind a BSD firewall) and another on the private network. The default gateway on the Mac server is on the internet interface, and a seperate router on the internal network routes traffic to 5 local IP subnets for remote offices, and co-located servers.

Since the default gateway points to the internet, routes have to be added for the four other local subnets to send traffic for those subnets to the router on the internal network. These routes need to survive a reboot— they need to be persistent.

On a Windows box it is simple to add a persistent IP route. Along with your ‘route add’ command, you add a ‘-p’ to make it persistent. Easy enough. Not so simple on Mac OS X. On Linux you could just add the ‘route add’ statements to the /etc/rc.local file and they would be executed at startup, effectively making them persistent. Easy enough. This is not so easy on Mac OS X… but I found a way to do it.

Let me add my standard disclaimer that you do this at your own risk. I won’t be held responsible for any trouble you experience trying to do this. It is working great for me though :)

Open up terminal, and switch to the root user:

sudo su -

You’ll have to type in your password, and have ‘Administer the Server’ rights.

Change to the /Library/StartupItems directory

cd /Library/StartupItems/

The way I created my script was by copying one that was created by a MySQL 4 installer. You should be able to copy any of the directories in /Library/StartupItems to give you a starting point. Just substitute the one you’re using where you see me use ‘MySQLCOM’.

cp -rp MySQLCOM PersistentRoutes

Now change to the PersistentRoutes directory.

cd PersistentRoutes

If you list the contents of this directory you should see two files, one named for the service you copied, and StartupParameters.plist. We need to rename the service you copied to ‘PersistentRoutes’

mv MySQLCOM PersistentRoutes

Now we edit PersistentRoutes with your favorite text editor… mine’s vi.

vi PersistentRoutes

Go ahead and empty the file. If you’re using vi type ‘1000dd’ (no quotes) and it will delete 1000 lines. That should empty it :) . This is the contents of my PersistentRoutes file:

#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 10.0.0.0/24 10.1.2.1 #Route to Boise Colo Facility
/sbin/route add 10.1.3.0/24 10.1.2.1 #Route for SonicWall L2TP Group VPN
/sbin/route add 10.1.4.0/24 10.1.2.1 #Route to Portland Office
/sbin/route add 192.168.69.0/24 10.1.2.1 #Route to Chris' House 

Save, and exit your text editor. ‘:wq’ in vi (write, quit)

Now we need to edit the StartupParameters.plist. Mine looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” 
“http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
        <key>Description</key>
        <string>Persistent Routes for VPN Tunnels</string>
        <key>OrderPreference</key>
        <string>Last</string>
        <key>Provides</key>
        <array>
                <string>PersistentRoutes</string>
        </array>
        <key>Uses</key>
        <array>
                <string>Network</string>
                <string>NetworkExtensions</string>
        </array>
        </dict>
</plist>

That’s it! Now your routes will be added when you reboot. Need to add a new route?.. manually add it from the terminal using ‘/sbin/route add…’ then update the /Library/StartupItems/PersistentRoutes/PersistentRoutes file. Easy!

Hope this helps someone. It was causing me a bit of aggravation. Perhaps someday Apple will make this a bit easier. Use ‘netstat -r’ to display your routing table.

Cheers,
Chris

August 21st, 2006

Recent pictures of Kairi

Posted by Chris in Life, Kairi

We recently had some family pictures taken. Shortly after this, Kairi took a spill and ended up getting blood all over Paula’s shirt. It started raining hard and we didn’t get any pictures of the 3 of us :(

Kairi 2

Kairi 1

August 7th, 2006

Trying out the Treo 700W

Posted by Chris in Uncategorized

A quick post from the treo I’m testing :U

« Previous PageNext Page »