Skip to content

Option to NOT save PPTP VPN Password (Ubuntu 11.10)

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.

Categories: Linux.

Tags: , , , , ,

Cloud Foundry CLI (VMC) Setup on Debian Squeeze

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:

  1. Get your system ready with the pre-requisites for the Cloud Foundry CLI
  2. Install VMC (the CLI)
  3. Create and deploy a simple Ruby app
  4. Test and verify

Read More »

Categories: Cloud Computing, Linux.

Tags: , , , , ,

7 Quick Tweaks for Mac OS X Lion

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:

java -v

3.) Turn off window-restore when quitting and re-opening apps:
Apple Menu -> System Preferences -> General

Read More »

Categories: Apple / Mac.

Tags: , , ,

Deploying Rackspace Cloud Load Balancers via API

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:

Let’s jump right in. We are going to interact with the RESTful API via curl and XML.

Read More »

Categories: Cloud Computing.

Tags: , , , , , ,

Installing wget in Mac OS X 10.6

The exclusion of wget in OS X is rather mystifying.  In any case, its quite easy to build from source and this post will explore how to do just that.

First, you need to have Xcode installed with “Unix Dev Support” which includes gcc and other packages for software compilation.  Xcode is located on your Mac OS X install DVD under the “optional installs” section.  You can also download Xcode from Apple. If you aren’t sure if Xcode is already loaded on your system or not, if you don’t have a “Developer” folder listed in the top level of your HD, then it is not installed.

Read More »

Categories: Apple / Mac.

Tags: , , , ,