Twisted on Windows 64bit

I have just spend several hours getting twisted working with python 64 on my Windows 7 64 bit install so I could make a dummy test server. Basically it turned out that the 64 bit version of python posed the hindering, and i ended up installing the standard 32 bit version and using easy_install to install twisted which is now functioning.

My first thought was simply installing python and using twisted own windows install file, however this did not work at all (I have not tested this method with the 32 bit version of python, but I am guessing it would work as supposed).
Next I tried to use easy_install, but I could not install easy_install from setuptools, and got a warning about python 2.6 not being installed. But when I removed the 64 bit version and installed the 32 bit version it installed without any problems. So my advice is: Use the standard 32 bit version!

Hopefully this will be helpful to others in similar situations.

pptp with NetworkManager

After using some time trying to get a pptp to a VPN server running Microsoft Windows 2003 R2 i finally found a solution. This article made me aware of a Network Manager pptp plugin, but it seems to have been changed a grate deal since the description in the article (I’m using Jaunty), so I had some problem connecting. In the end I made a connection with a windows computer and used the settings used there, here is the result.

Start by installing network-manager-pptp and restarting Network Manager (/etc/init.d/NetworkManager restart) now create a new VPN profile by left-clicking the Network Manager icon choosing “VPN connection” -> “configure VPN” -> “add” -> “Point-to-Point Tunneling Protocol (PPTP)” -> “create”.

Access point: the ip of the VPN server
User name: User name of the user you want to login with
Password: password of the user

Now (and this is what made the difference for me) choose “Advanced” and make sure only MSCHAPv2 is selected enable “Use Point-to-Point encryption (MPPE)” and choose “Security: 128-bit (most secure)”.

This worked for me, but keep in mind that your VPN server might be set up differently, if you have problems, try connecting from a windows computer (the setup is quite simple) and see the details about the connection and try to match them in NetworkManager.