Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Usually, I use the network connections icon on the top bar to connect to VPN.

VPN Connection

The connection is configured properly and it connects well. Configuration screen shot is given below.

enter image description here

As you can see I have selected the 'Connect automatically' option. But this option doesn't help in connecting to VPN automatically upon login.

This is my university VPN and it uses 'Point-to-Point encryption (MPPE)' for authentication enter image description here

I need to connect to the VPN using command line, so that I can write a script and run it at start up, so the connection is automatically established every time I login. This will also help in connecting to VPN when I login from 'init 3' mode. I depend on this VPN connection for my internet access. Please help me with the required commands.

share|improve this question
up vote 1 down vote accepted

See here the best answer is to use NetworkManager command line interface.

share|improve this answer
great!!! that worked! thanks you so much – WarFox Apr 1 '12 at 14:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .