Re: NetworkManager CLI for VPN, current status



On Tuesday 27 of July 2010 20:40:34 Florian Rathgeber wrote:
> Hi,
> 
> I wanted to inquire what is the current status about command line
> interfaces for networkmanager supporting VPN.
> 
> As far as I can see there were 2 attempts:
> - nmcli from Tambet
> 
> http://mail.gnome.org/archives/networkmanager-list/2008-February/msg00128.h
> tml seems to be broken with networkmanager 0.7.996 (Ubuntu 9.10)
> - cnetworkmanager from Martin
>   http://github.com/mvidner/cnetworkmanager
>   seems not to support VPN as of now
> 
> Florian

There is a 'nmcli' tool that is part of NetworkManager now. For more info type 
'man nmcli'.

You can list VPN connections by:
nmcli con list | grep vpn

Activate a (VPN) connection by:
nmcli con up uuid b1d48ef0-e645-407d-b4c3-dfb96532b6d1

Deactivate a (VPN) connection by:
nmcli con down uuid b1d48ef0-e645-407d-b4c3-dfb96532b6d1

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]