Technology Insights

Sniff All Broadcast Traffic Using tcpdump

Earlier while troubleshooting a possible issue with VMWare Player on Ubuntu Linux I needed to sniff broadcast traffic. The goal was to see if there were multiple MAC addresses sending out broadcast traffic after VMWare Player was installed on Ubuntu even without a VM actually running. Below is a quick example of how to sniff Ethernet broadcast and multicast traffic using tcpdump.

Technology Insights

Get Mouse Control Back In Windows Virtual PC On Windows 7

This is really easy to do but it will be different for Windows OS’s configured in Windows Virtual PC and Linux/Unix OS’s configured in Windows Virtual PC. For instance Windows XP Mode run from Windows Virtual PC will allow you to easily move the mouse between your desktop and the Windows XP Mode Virtual PC without skipping a beat. When you try to do the same thing within a Linux Windows Virtual PC or a Unix Windows Virtual PC this will not be the case because the Windows Virtual PC integration features are not available to anything but Windows Operating Systems at this time. Below are the instructions for breaking your mouse out of the Linux or Unix Windows Virtual PC.

Technology Insights

How to Install MacPorts on Snow Leopard 10.6

I have recently gotten a macbook pro to play around with so my next few articles will most likely cover getting the tools and such the way I want them on the mac book pro. The first thing I discovered is that many of the command line tools which I use every day such as nmap are available in the macports package which is a package management system similar to what I was used to in Linux.

I will details the steps I had to take to get macports installed:

Technology Insights

What do pts and tty Mean on Linux? What is the Difference Between The Two Terminal Types?

I have been asked the question numerous times of what PTS and TTY mean in Linux regarding terminals. People ask because they may be newer to Linux and learning how to view a process list they may actually see a serial connection, SSH connection, or a telnet connection in the process list that might show something like pts/0, pts/2, tty1, or tty2 in the TTY column. Most processes will just have a question mark in this column but if something is connected to an actual terminal then it will list where it is connected in the TTY column of “ps”.

Technology Insights

Use vi To Find And Replace Content While Breaking a Line

The power of the Unix command vi never ceases to amaze me. I have known how to search and replace easily using vi for a long time however I didn’t know how to find and replace plus insert a line break during the replace. After toying around with vi for awhile I was able to figure it out. The example below shows how to find and replace certain text while inserting a line break.

Contents of a File:


  1. (1,2,'title one','2009-04-20 17:55:46','description one'),(2,2,'title two','2009-04-20 18:05:54','description two'),(3,2,'title three','2009-04-20 18:23:10','description three'),(4,2,'title four','2009-04-20 19:33:42','description four'),(5,2,'title five','2009-04-20 19:45:34','description five')