virtual grind thoughts from the virtual world


Bitcricket IP Subnet Calculator

For years, I have been using the IP Subnet Calculator dashboard widget for quick IPv4 sanity. Jeremy Williams released this handy tool in 2005, and has been on every Mac I have owned since.

Since IPv6 is becoming more commonplace, I recently started looking for a nice simple calculator for OSX. Low and behold, I ran across Bitcricket's IP Subnet Calculator recently. The Bitcricket calculator is very simple and also contains CIDR and IPv6 functionality. I have been using the calculator for a few weeks now and highly recommend it.

Please note that the Bitcricket calculator works on OSX and Windows.

IP Subnet Calculator Widget
Bitcricket IP Subnet Calculator


Using Keyspan USB Serial Adapter With Mac OSX

I have been getting a lot of questions about using USB serial adapters with my Mac. Although there are a lot out there, I usually recommend that people try the Keyspan USA-19HS. I have never had an issue with this adapter on OSX, as well as Windows.

I do recommend installing the driver that comes with the adapter, it will add a new device to OSX, /dev/tty.KeySerial1.

Once you install the driver, you can add the small AppleScript snippet to open a new terminal window and utilize screen. You can also compile this simple script and create a clickable application to launch your serial screen quickly.

Code below:

tell application "Terminal"
do script with command "screen /dev/tty.KeySerial1"
set number of rows of window 1 to 100
set number of columns of window 1 to 80
set background color of window 1 to "black"
set normal text color of window 1 to "green"
set custom title of window 1 to "SerialOut"
end tell

I must thank Mark Stewart for the info on this.