Patrick's playground

Random thoughts, problems and solutions

Tag: Mac OS X

Getting IPython readline and auto-completion to work on Mac OS X

It's taken me some time and a lot of web pages which tried to solve the readline support with all kinds of hacks, but finally I've been able to get readline support and auto-completion for IPython to work. As it can be quite confusing and hard to follow all posts, this will be a step-by-step approach to get things to work. Note that I've got it working on Mac OS X 10.5.7 Leopard. It is expected to work on Leopard at least. Other versions might not require the exact same solution.

Read More

Installing psycopg2 on Mac OS X

I thought I had psycopg2 installed on my mac.. Thought.. But now I actually have!

Read More

Installing Numpy on Mac OS X 10.5.x Leopard

Installing Numpy according to the Scipy wiki page can be a real pain. As Python and GCC are already part of Mac OS X, some prerequisites are already fulfilled, but an official install didn't do the trick in my case.

Read More

Cisco VPN Error 51

I was getting annoyed today by my Cisco VPN client unwilling to do its job. As I had been playing around with my Time Capsule and my wireless accesspoint to get my wireless network straight so that it could connect with my Nintendo Wii, I encountered an 'Error 51'. Luckily I wasn't the only one who got that problem. The first solution already worked:"The simple fix is to quit VPNClient, open a Terminal window, (Applications -> Utilities -> Terminal) and type the following:

sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart

(for OS X 10.5 and lower) or

sudo kextload /System/Library/Extensions/CiscoVPN.kext

(10.6) and give your password when it asks. This will stop and start the "VPN Subsystem", or in other words restart the CiscoVPN.kext extension. Cisco seems to have problems when network adapters disappear and reappear, something that happens commonly in Wireless or Dial-up scenerios. Sometimes putting a system to sleep, disconnecting an Ethernet cable or simply reconnecting your wireless will cause CiscoVPN to loose track of the network adapters on the system."The source can be found here.

Powered by WordPress & Theme by Anders Norén