network-manager does not contain the package to setup a PPTP vpn environment, from a terminal window or Synaptic install the following package
network-manager-pptp
terminal cmd: sudo apt-get install network-manager-pptp
Once the package is installed do the following:
- Left click on the Network Manager applet in your system tray, and select VPN Connections > Configure VPN
- Click Add, follow connection wizard, Enter a name for the connection, and the address / IP of the VPN server.
- Select Advanced your settings should look like the screen below.

Note: Do not enter the domain you are connecting to, in the username field, enter it like the following domain\username
network-manager does not contain any options to refuse eap, this will need to be done via the command line or gconf-editor
I have provided both options below as chrunchbang linux EEE PC release, does not contain networking in gconf-editor.
1. open up a terminal window, type is sudo gconf-editor expand system expand networking expand Connections expand either folder, 1,2,3,4 then VPN folder 3 contained my vpn connection settings.
2. right click, create a new key
3. Name: refuse-eap -> Type: String -> Value: Yes
if Networking folder is available in gconf you should now be able to connect to the PPTP VPN without any troubles.
However, if the folder in gconf is not there, please follow the steps below.
1. Open a terminal window.
2. cd ~/.gconf/system/networking/connections/
3. ls -la
output : 1 2 3 4 5 6 %gconf.xml
The folder above represent different connections, you will need to find the connection with the VPN folder, mine is 3, so I would enter the following.
cd 3/vpn/
4. check the full current working director, mine is /home/username/.gconf/system/networking/connections/3/vpn this can be found by issuing the command pwd
5. issue the command: nano %gconf.xml
6. The XML file contains specific values for the VPN connection, add the refuse-eap option in bold below and save the file, more information on using nano can be found on google.com
<!–[if gte mso 9]> Normal 0 false false false EN-US ZH-TW X-NONE MicrosoftInternetExplorer4 <![endif]–><!–[if gte mso 9]> <![endif]–>
<?xml version=”1.0″?>
<gconf>
<entry name=”require-mppe” mtime=”1238198504″ type=”string”>
<stringvalue>yes</stringvalue>
</entry>
<entry name=”refuse-eap” mtime=”1238198504″ type=”string”>
<stringvalue>yes</stringvalue>
</entry>
<entry name=”user” mtime=”1238198504″ type=”string”>
<stringvalue>intabill\shayne</stringvalue>
</entry>
<entry name=”gateway” mtime=”1238198504″ type=”string”>
<stringvalue>220.157.75.66</stringvalue>
</entry>
<entry name=”service-type” mtime=”1238198504″ type=”string”>
<stringvalue>org.freedesktop.NetworkManager.pptp</stringvalue>
</entry>
</gconf>
7. restart networking, command: sudo /etc/init.d/networking restart
Reconnect to your Local Area Network / Mobile broadband and you should now be able to connect to your VPN 
Popularity: 8% [?]
Tags: PPTP,
ubuntu,
vpn