For those that have been keeping up, I am now the proud owner of a MacBook Air. I originally purchased it to use as a learning aid to get better at working on OS X Snow Leopard and Lion. I also decided to see if I could use it to replace carrying my behemoth Lenovo w701 around to do simple things like console connections. I’ve done my best to spend time in the last month working with it every day and trying out new software to duplicate my current job functions. Now that I’ve got a handle on things, I figured I’d share what I’ve learned with you in a manner similar to my last software blog post.
Terminal Access – iTerm2
This was the first program I downloaded after I logged into my MacBook. If you are a network rock star, it should be your first download as well. This program is the terminal on steroids. Tabs, split window panes, search-in-window, and profile support top the list of the most needed features for someone that spends most of their day staring at a CLI window. I don’t even open the Terminal.App program any more. I just use iTerm2. This program replaced PuTTY for me and did a great job of replacing TeraTerm as well. The only thing that it lacks is the ability to use a serial console connection. I think that’s more of a single-purpose use case for the iTerm2 folks, so I doubt it will ever be rolled into the program. All things being equal, this will probably be the most useful program you’ll download for your Mac.
Serial Console Access – ZTerm
The console is where I live. I spend more time staring at CLI screens that I do my own kids. The inability for me to access the familiar confines of a serial connection is a deal breaker. I was a little apprehensive about serial console access on the Mac after hearing about some troubles that people were having after upgrading to OS X Lion. I pulled out my trust Prolific PL-2303 serial adapter and plugged it in to test the driver support. I had no issues on Lion 10.7.2, but I’ve been told that some may need to go to the Prolific site and download the newest drivers. As a side note here, I had the exact same issues when I upgraded to Windows 7 64-bit on my laptop, so I think the problems with the adapter are based on the 64-bit drivers and not necessarily on your particular OS. Once I had the adapter working in the OS, it was time to find a program to access that console connection. ZTerm kept coming up as the best program to do that very thing. Some of the other serial connection programs (like CoolTerm) are focused on batch serial connections, like sending commands to a serial device in programming. ZTerm allows you to have interactive access to the console. You can also do captures of the serial output, which is a feature I love from TeraTerm. That way, I can just type show run and not have to worry about copying and pasting the input into a new Notepad window. A quick note – when launching ZTerm for the first time, the baud rate of the connection is set to 38400. Since networking equipment only plays nice at 9600, be sure to change that and save your settings so it comes up correctly after that.
Note that ZTerm is shareware and costs $20 to register. It’s worth every penny for those that need to access equipment through old fashioned serial links.
TFTP Server – TFTPServer for Mac
OS X has its own built-in TFTP server. However, I’ve watched competent network rock stars struggle with permissions issues and the archaic CLI needed to get it running. In the comments of my original software blog post, Simon Naughton (@norgsy) pointed me toward Fabrizio La Rosa’s TFTPServer GUI configuration tool. This little jewel helps you get the right permissions setup on your TFTP service as well as letting you point the TFTP service to a specific directory for serving files. I love this because I can keep the remote machine from needed to sift through large numbers of files and keep only the necessary files located in my TFTP directory. I can also enable and disable the program in a flash without needing to remember the five argument CLI command or forgetting to sudo and get a failed error message. Do yourself a favor and download this program. Even if you only ever use TFTP once, you’ll be glad you have this little tool to help and won’t have to spend hours sifting through documentation and forum posts.
SFTP – Built In
This was one of my first “Ah ha!” moments with OS X. Working with voice requires access to FTP services for COP file uploads and DiRT backups. I have used FTP forever on my Windows machines because SFTP was such a pain to setup. I wanted to duplicate that functionality on the MacBook Air, but a few searches found that Apple has removed the ability to configure the FTP service from the GUI. I knew I was going to need to use FTP at some point, so I kept looking and found an article on OSXDaily about enabling FTP with a command line string. However, buried in the article is a gem that took me by surprise. By enabling remote login in the sharing page under System Preferences, you automatically enable SSH and SFTP! Just like that. After all the fits and starts I had with SFTP on Windows, OS X enables it with a simple radio button. Who knew? Now that I have a simple SFTP server running on my MacBook, I don’t think I’ll ever use FTP again unless I have to. Should you find yourself in a predicament where you can’t use SFTP though, there’s the CLI command to enable the Lion FTP server:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
And here’s the command to turn it off once you’re done with it:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
RSS Feeds – Reeder
My favorite RSS reader for the iDevices, Reeder allows me to digest my RSS feeds from Google Reader in a quick and clean manner. No ads, no fluff, just the info that I need to take in. Thankfully, Silvio Rizzi also put out a version for OS X as well. I keep this one up and running at all times in a separate screen so I can flip over and see what my friends are posting. It’s a great tool that allows me to be in the know about what’s going on. It’s $5 on the Mac App Store, but once again worth every penny you pay for it.
There are a ton of other apps that I use frequently on my MacBook Air, but the ones I’ve listed shine above all others. Those get a workout and some of the reasons why my little adventure with OS X is staring to grow on me. Yes, there are apps that don’t really have an equivalent right now. I’ve managed to avoid the need for modeling/graphics software so far, so I can’t compare the alternatives to Microsoft Visio. I spend a lot of my time using Netformx DesignXpert, which I can’t use natively in OS X. Beyond that, it’s just a matter of deciding what I want to do and finding a program that will do it for me. There are a lot of options available, both in the Mac App Store and out on the web. The trick with a Mac isn’t so much about worrying how you’re going to do something, but rather what you want to do. The rest just seems to take care of itself.