If you are running Ubuntu 11.10 and are using Network Manager to connect to a PPTP VPN, you may notice that once you enter a password, it is auto-saved for future use. Mysteriously, there isn’t a check box to NOT save the password. If you are connecting to the VPN with a 2-factor authentication system (such as OATH which generates a unique pin-code with each login), you have to manually re-edit the configuration file each time. That’s a huge pain.
Anyway, here is the quick fix. Simply open the VPN configuration script:
nano -w /etc/NetworkManager/system-connections/[your_vpn_name]
and change “password-flags=0″ to “password-flags=2″.
That’s it! I googled for several days (literally) until I found this bug report covering the issue. Either I’m a bad Googler (fact), or lots of information isn’t readily available on this topic. I hope this helps someone in need.
For the those of you who, like me, are new to Cloud Foundry and Ruby development, deploying your first Cloud Foundry Ruby application via VMC can be unnecessarily frustrating. The trouble stems mostly from sparse information scattered across the Internet and *especially* from incomplete and partially incorrect documentation provided by VMware when you sign up for a Cloud Foundry Beta account.
In this post, we aim accomplish the following things:
- Get your system ready with the pre-requisites for the Cloud Foundry CLI
- Install VMC (the CLI)
- Create and deploy a simple Ruby app
- Test and verify
Lion is a welcome progression in the Mac OS X family. It, however, has changed the way a few things work from Snow Leopard and before, so I’ve compiled seven quick tweaks I like to perform.
1.) Unhide the Library folder for your particular user account:
chflags nohidden ~/Library/
2.) Easily install Java SE 6:
3.) Turn off window-restore when quitting and re-opening apps:
Apple Menu -> System Preferences -> General
Rackspace Hosting released their beta of Cloud Load Balancers today. Since it is an API-only offering for the time being, I thought it might be helpful to create a quick guide covering the deployment and management of Cloud Load Balancers for all the non-programmers out there.
Here is what you’ll need to get started:
- A Rackspace Cloud Account
- A Mac or Linux computer with curl installed
- The Rackspace Cloud Load Balancers API Developer Guide
Let’s jump right in. We are going to interact with the RESTful API via curl and XML.