Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.