Monthly Archives: May 2009

Extend the timeout on SSH connections

A quick google search will quickly answer this question, but I’ve found myself asking it a few times lately.  Often when I let an SSH session go idle, I’ll end up being disconnected.  By adding ServerAliveInterval 60 to ~/.ssh/config I’ve managed to limit this from happening. There is also a similar server side fix for this.  [...]
Posted in quickfire, tips | Tagged , | Leave a comment

Counting occurance of word in list

I’ve had a need to count the number of times a certain value (in this case, a word) appears in a list when using OpenOffice.org. Here was my problem.  I had a long list of values, each had a status of either “good”, “bad”, or “incomplete”.  I wanted to count the number of times each of [...]
Posted in tips | Tagged | Leave a comment

Connecting to serial devices with minicom

I’ve often found the need to break out the console cable to configure a router, switch, or other device that only had a serial console.  On Windows, most folks fall back on the good old hyper terminal to get the job done.  This works great, as long as your on Windows. Since I’ve been getting myself [...]
Posted in Uncategorized | Leave a comment

Simple rules to keep you smart with email

When using email, you should always keep the following rules suggestions in mind.  Most of these apply to mailing lists, but could just as easily make any email communication (and maybe even instant messaging) better. First, don’t top post.  Not only is top posting counter-productive it is annoying.  Also, if the person before you sucks at [...]
Posted in rants | Tagged | 1 Comment

Asterisk with PRI support

If you’re going to be using Asterisk with a PRI card, there are some important steps you have to follow in the right order. Normally, I install the zaptel package then install Asterisk. This is all great, until I need PRI support. For that, I must also install the libpri package. Important to note, for [...]
Posted in Uncategorized | Leave a comment