Why I Use A Macbook – An Ode To DOS Snobs

I am writing this on my new(ish) BabyDoll.  I sold my Surface 4 and bought this MacBook Pro 13″ Touch Bar.  There were a lot of reason to re-evaluate the Surface, not least of which was that it didn’t actually work on my lap.  Despite what MS says in their “it’s lappable” dogma, it is not.  That dogma don’t hunt.  I have a work Macbook Pro, but I want my own box without a bunch of corporate software on it and that I can do personal junk on without feeling guilty.  I use my personal box full time for work for the above reasons as well.  So off I went to Best Buy.  I had an open mind and was initially looking at another DOS box.  As I over-analyzed though, I went with another Mac.

An OS is a tool to get a job done.  I used to spin up VMs a lot, but the main reason, Office, is usable on Mac at this point. To that point, I can load Windows on my Mac, but I can’t – at least ethically – load MacOS on other hardware.  So, why is MacOS my goto?  Chicks dig it.  Also, it has much better native tools for what I do and I can customize it more than a DOS box.

I love going to customer sites and getting crap from my Windows elitist buddies for using a Mac.  My usual response is “I understand that Unix can be intimidating, I get why you’d stay with DOS”.  Usually sometimes gets a begrudged laugh.  It’s true though.  I’m not an *nix snob.  I don’t want to compile the kernel to use a new mouse, but I want a bash shell damn it! Yeah, I get the Linux Services for Win10 thing, but it is bloaty and gross.  There are tools for Linux boxes that I can’t /easily/ use on my Mac as well though, so there is always a tradeoff.   MacOS gives me the happy medium.  I plug crap in and it works.  I get lots of native WiFi tools and several good suites not available on Windows or Linux (WiFi Explorer Pro being the one that comes to mind most readily).  I can capture packets natively and now I can even use Ekahau without spinning up a VM or BootCamping into Windows!

I love the customizability of the terminal on MacOS.  I use iTerm and a highly aliased .bash_profile to give me shortcuts and visuals I like, I love having nano, cat’ing a file so I don’t screw it up, and all that fun junk.  See my profile below.  It is a mashup of stuff my coworkers have found useful, stuff I’ve dug up around the web and a few things I came up with.

I also use my the ⌘+Space to open Spotlight and type in the app name almost exclusively for launching apps.  I hate mice, all of that hand movement and taking my hands off the keyboard,  so the more I can do to not move to it, the better.  It’s just so damned inefficient.  To that end, I actually prefer a laptop keyboard as the trackpad is closer than taking my hand off of the keyboard to dink with a mouse then moving it back over.  Most can agree that the trackpad on a Mac with its multitouch stuff is top of class.

I love virtual desktops that I can switch between easily with a 3 finger swipe on the trackpad.  I keep a Jump Desktop based RDP session open to my AD server, Jump Desktop VNC to my Ubuntu Box and sometimes one to my lab NUC running Windows 10 as a jump box.  Swipe Swipe done.

So in the end, I pretty much keep all OSs running in one form or another.  BabyDoll is the easiest way to do it.  It’s efficient, it’s extensible and its got the tools I need. I never open my iPad unless I am reading comics or reading Scootering magazine.  I use a Pixel 2 XL. I’m not an Apple fanboy, but my Mac is the best tool in the box for what I do in a day.  Also, chick digs it  (the only one I care about does anyway).


My .bash_profile, it’s all about the aliases baby.

alias ..='cd ../' #back that thing up
alias reload='source ~/.bash_profile' #since I constantly dink with this, I like to easily reload it
alias f='open -a Finder ./' # I avoid the trackpad when I can, one less movement and click to open finder at /
alias inet='curl ifconfig.me' # easier than opening the browser to whatsmyip.com so I can throw an nmap at the outside of the router
alias ip='ipconfig getifaddr en0' #cleaner than ifconfig if I just need my ip
alias speed='curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip' #decent but not perfect quick and dirty speedtest
alias tw='open -a /Applications/TextWrangler.app' #I use nano mostly, but if I need something more rich this makes it easy to open the file in TextWrangler (MUST HAVE for Mac nerds)
alias master='sshpass -p mypassword ssh rocky@aruba-master' #This is my lab, I don't mind cleartext passwords, this makes it easier to jump into my boxes
alias s3500='sshpass -p mypassword ssh rocky@s3500' #see above
alias s1500='sshpass -p mypassword ssh rocky@s1500' #see above above
alias dl380vm1='sshpass -p mypassword ssh rocky@dl380vm1' #see above above above
alias pi='sshpass -p mypassword ssh pi@192.168.0.96' #c'mon, you get the pictures
alias c='clear' #since I copy a lot of my ssh sessions for code snips for my customers, I clear a lot, that way I can do a ⌘A to snip it
alias weather="curl -s 'http://rss.accuweather.com/rss/liveweather_rss.asp?metric=2&locCode=en|us|portland-or|97209' | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3, \1/p'" #stupid terminal trick I found somewhere
alias ss="/System/Library/CoreServices/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine" #launch screensaver and lock screend
alias ls='ls -GFh' #We all have our ls fave, this is mine.
alias iscan=' nmap -p 1-65535 -T4 -A -v' # I forget command arguments because I am old this is for an intense can
alias osmap='nmap -A' # See above, this is a quick scan with OS
alias pscan='nmap -sn' #Quick ping scan

#borrowed from this post that has a LOT of great stuff https://natelandau.com/my-mac-osx-bash_profile/
# cleanupDS: Recursively delete .DS_Store files
# -------------------------------------------------------------------
alias cleanupDS="find . -type f -name '*.DS_Store' -ls -delete"

# finderShowHidden: Show hidden files in Finder
# finderHideHidden: Hide hidden files in Finder
# -------------------------------------------------------------------



Posted on Categories WiFi

Why I Buy Tools Out Of Pocket

Mechanics buy their own tools, plumbers do too, a lot of trades do. Most of us in technology are given a fair set of tools to do the job not long after signing the offer letter, and most of us take it for granted.

My employer is gracious enough to provide the current tech we have on offer.  They supply a lab server.  They provide a pretty beefy and regularly updated laptop.  I’ve got APs out the wazoo.  They even supply a car and the occasional polo shirt.  They provide the basics for me to get my job done.  They provide what I honestly think is a fair toolbox.  Could it be updated more often?  Sure, I’m a gearhound, who doesn’t want new and shiny stuff?

What they don’t provide is the incredible selection of fun wireless hardware that can help me to better understand my craft and ply my trade.  I didn’t get issued a WiFi Pineapple, but I wanted to see how well its Captive Portal could pass for an Aruba or Cisco one.  I wanted to be able to show my customers and to be able to talk about the threats these cute little devices can pose.  I wasn’t shipped a Hacker Arsenal WiMonitor and Winx and but I wanted to show my customers an inexpensive tool that can get some packets quick in a hurry.  I didn’t receive a WLAN Pi when it came out, but I wanted to be able to demonstrate to my customers that having a quick a solution for ePerf/iPerf, grabbing packets, and pulling speed tests is important and doesn’t have to mean buying expensive tools, requisitioning a MacBook or standing up a VM.

I got a desktop machine to use as a server when I started five years ago.  I got a Shuttle a few years later.  I wanted to be able to run multiple versions of all of our software, plus sundry stuff a customer may have in their environment.  Those boxes were out of gas as more and more of my company’s solutions are virtualized.  So I dug around on Craigslist and found a couple DL360s.  I wanted to be able to bounce gear out in the lab in my shop from my office in the house, so I went on eBay and picked up some IP PDUs.  I lock myself out, so I got an AirConsole.

Can I do my job without the kit above?  Yes.  Can I do it more easily with the above?  Hells yes.  When I mentor folks coming up in the trade I tell them that I’m willing to empower them, but that I don’t invest without return.  They have to put as much time into themselves as I do – and as much as I put into myself when my mentors helped me.  I expect them to fill their toolbox, and I expect to help them fill it.

So what’s the meat of this philosophical sandwich?  Easy: How can I expect someone to invest in me if I don’t invest in myself?

Also, I need the tax write-offs.