Re: Pre-populate NM-vpnc profiles?
- From: Casey Harkins <caseyharkins gmail com>
- To: Brian Long <briandlong gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: Pre-populate NM-vpnc profiles?
- Date: Wed, 05 Dec 2007 13:33:09 -0600
Brian Long wrote:
Hello,
I would like to use gconftool-2 or something to pre-populate various
system-wide VPN profiles for NetworkManager-vpnc. Is there any
documentation on how to do this? I have various Cisco pcf files from
which I can extract the Gateway, Group, Group Password, etc. Is there
an easy way to add a bunch of NM-vpnc profiles from the command-line?
This would allow me to wrap it inside an RPM, etc.
Not necessarily any documentation, however you should be able to extract
the relevant configuration from gconf directly. Configure at least one
vpn (I believe you can even import the pcf files in the vpn
configuration dialog), then use gconf-editor or something to find the
appropriate configuration under /system/networking/connections/.
There are a couple of problems that will have to be overcome. First, all
NM connections (including wired/wifi/vpn) are enumerated beneath that
gconf location (at least on 0.7). I'm not sure how NM will react if
these are out of order or non numeric. Depending on the configuration
needed, it might be necessary to do this from a login script for the
user, rather than as system-wide gconf settings (if key
locations/usernames etc are stored in gconf).
Good luck.
-casey
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]