Building vpnc with openssl support via MacPorts on Mac OS X

If you install vpnc via MacPorts on OS X, you’ll find that you have no openssl support after it’s built: $ sudo port install vpnc —> Computing dependencies for vpnc —> Cleaning vpnc —> Scanning binaries for linking errors: 100.0% —> No broken files found. $ sudo vpnc vpnc was built without openssl: Can't do hybrid or cert mode. This will cause some problems if you’re trying to use VPN with a Cisco VPN concentrator which uses SSL VPN technology.
Read more →

Connecting to OpenStack Swift with Cyberduck using swauth

Connecting to an OpenStack Swift instance that is using swauth for authentication is quite easy within Cyberduck on the Mac. Open Terminal.app and run this command: defaults write ch.sudo.cyberduck cf.authentication.context /auth/v1.0 Keep in mind that this changes the authentication URI for all OpenStack swift connections made by Cyberduck. If this isn’t what you want, you can easily set it back to the default by running: defaults write ch.sudo.cyberduck cf.authentication.context /v1.0 There’s more information about these settings in Cyberduck’s Swift Howto.
Read more →

Handy hints for using dtrace on the Mac

I’m a big fan of Linux tools which allow you to monitor things in great detail. Some of my favorites are strace, the systemtap tools, and sysstat. Finding tools similar to these on a Mac is a little more difficult. There’s a great blog post from Brendan Gregg’s blog that covers a lot of detail around dtrace and its related tools: http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/ One of the handier tools is iosnoop.
Read more →

Getting online with a CradlePoint PHS-300 and an AT&T USBConnect Mercury

Anyone who has used a 3G ExpressCard or USB stick knows how handy they can be when you need internet access away from home (and away from Wi-Fi). I’ve run into some situations recently where I needed to share my 3G connection with more than one device without using internet sharing on my MacBook Pro. That led me to pick up a CradlePoint PHS-300 (discontinued by the manufacturer, but available from Amazon for about $35).
Read more →

DisplayLink USB to DVI issues in OS X Lion

I added a DisplayLink USB to DVI adapter to my MacBook Pro a while back and it occasionally has some issues where it won’t start the display after connecting the USB cable. My logs in Console.app usually contain something like this: The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 4 of Hub at 0xfa100000) The IOUSBFamily was not able to enumerate a device.
Read more →