Category Archives: tips

Rewrite incoming CallerID

We’re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I [...]
Also posted in quickfire | Tagged | Leave a comment

Asterisk GotoIf Application

The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]). I have not used labels in the dial plan [...]
Also posted in quickfire | Tagged | Leave a comment

Quick install of Tomcat5 on CentOS

At the office, we’re in the process of doing some work where we need a tomcat server.  Without having to get into things to much, I found this simple method for getting tomcat5 up and running pretty quickly.  I’m sure I’ve left out some important things, and I’m doubtful as to how production ready this [...]
Also posted in quickfire | Tagged , | Leave a comment

Launch Google Chrome and external links with incognito mode.

The instructions floating around are to place the --incognito switch (single – works fine for me) in your desktop shortcut. But sometimes you may be in an application like Tweek Deck, etc that links to webpages. These pages don’t launch in incognito if you only fix your desktop shortcut. Here is how to do both. [...]
Also posted in quickfire | Tagged , | Leave a comment

Remove bonded interface in OpenFiler

I decided to try and use NIC bonding in OpenFiler and while things seemed to go well at first, I did run into some issues over time.  I’m still in the process of testing, and I think most of the issues are “user error” and not so much problems with NIC bonding or OpenFiler itself.  [...]
Posted in tips | Tagged | Leave a comment

Find Text and Find/Replace Easier Than You Think in Linux

How to search all files for a text string: grep -lr string ./ > results.txt -l will print only the path and file names of the matches. Search all files of a certain name for a certain string: grep -lr string ./ | grep filename Yes, do specify ./ if you are doing all directories within current. (source and more info) Find [...]
Also posted in quickfire | Tagged , , , , , | 1 Comment

Installing Dropbox on Ubuntu (and others)

I’ve been using dropbox to sync and share files between my various computers for quite some time, and overall have been very pleased.  However, one area things are not so great… documentation for installation on Linux.  After having to reinstall on my notebook, I decided to somewhat document the hidden part of the process. After downloading [...]
Also posted in quickfire | Tagged , | 1 Comment

Modify Windows XP routing table

During some network changes I’ve found the need to modify the routing table. To change the default route on Windows XP (and possibly Windows Vista, 2000, etc) you use the route command. The syntax is pretty simple, here is a quick example…. route change 0.0.0.0 mask 0.0.0.0 172.18.12.120 To delete or add routes, simply change the keyword [...]
Also posted in quickfire | Tagged , | Leave a comment

Check speed of connected link in Linux

If you’ve ever wanted to check on the status of your Ethernet links, you’ve probably used the ip commands (or ifconfig) to view some basic information.  However, you might have noticed these commands do not tell you what the current link speed is, or other possibly important details.  That’s where ethtool comes in. [jonmoore@megaton ~]$ sudo [...]
Also posted in quickfire | Tagged , | Leave a comment

Cancel a traceroute on Cisco devices

Many times I’ve started a traceroute to either a mistyped IP address, the wrong IP or something else that I would really rather not wait for 30 hops to time out before moving on. When doing the traceroute the device tells yous to “Type escape sequence to abort,” but doesn’t share what exactly this [...]
Also posted in quickfire | Tagged | Leave a comment