Migrating from Tunnelblick on OS X to OpenVPN GUI Client on Windows

This was done on Windows 7. These same instructions should work for Windows Vista.

First install OpenVPN from the actual OpenVPN site here: http://openvpn.net/index.php/open-source/downloads.html You should use at least version 2.1.4. Do NOT install OpenVPN GUI from http://openvpn.se/ It contains an older version that does not work properly on Windows Vista or Windows 7.

Run the installer as Administrator.

You can copy all of the Tunnelblick OpenVPN files on your OS X in “~/Library/Application Support/Tunnelblick/Configurations/” to “C:\Program Files\OpenVPN\config\”. Change the file extension of all “*.conf” files to “.ovpn” The OpenVPN Client GUI software scans for “.opvn” files.

Run the OpenVPN GUI as Administrator. Once connected, look in the log file and verify that you do not see the following line:

ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct.

If you see this, you didn’t install the version from openvpn.net or you didn’t run the GUI as Administrator.

Are you a Git user? Let me help you make project management with Git simple. Checkout Gitpilot.

You should follow me on Twitter: @jprichardson and read my blog on entrepreneurship.

-JP

DataGrid Not Found in Silverlight 4

I created a fresh new Silverlight 4 project. I opened up MainPage.xaml and started typing “DataGrid”… but intellisense didn’t show it.

I found out that I needed to add the following to the top of my Xaml file:

xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"

In then started showing up in intellisense. I tried to compile the simple app and I got an error out of the MainPage.g.i.cs file. The error is:

“The type or namespace name ‘DataGrid’ could not be found (are you missing a using directive or an assembly reference?)”

I opened up the Silverlight MSDN for the DataGrid control and found out that my DataGrid is in the System.Windows.Controls namespace and the System.Windows.Controls.Data assembly. I didn’t see it in my references tree, so I tried to add a .NET reference. Unfortunately, “System.Windows.Controls” or “System.Windows.Controls.Data” weren’t in the list.

It turns out that you need to navigate to the “Browse” tab in the “Add Reference Dialog” and then add the file “System.Windows.Controls.Data” which is typically found in “C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Libraries\Client”

Hope this helps someone.

Are you a Git user? Let me help you make project management with Git simple. Checkout Gitpilot.

Follow me on Twitter: @jprichardson or read my blog on entrepreneurship: Techneur.

-JP

Follow

Get every new post delivered to your Inbox.