How to connect to VPN using commands in Linux (Fedora 16)

Posted by WarFox on Super User See other posts from Super User or by WarFox
Published on 2011-11-15T09:44:07Z Indexed on 2011/11/15 9:56 UTC
Read the original article Hit count: 176

Filed under:
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about vpn