Re: dbus and OpenVPN Autostart





Dan Williams wrote:
> 
> On Tue, 2009-02-24 at 08:37 -0800, Harald S. wrote:
> 
>> Thanks a lot for the script. My usecase is slightly different. At the
>> office
>> I need vpn to connect to the internet. I also need vpn to access my work
>> email from home, but then I use split-tunnelling. Can you point me in the
>> right direction to use one vpn connection for a specific access point and
>> a
>> different vpn connection for all other connections? I know some python
>> but
>> not how to deal with dbus.
> 
> Each connection in NM has a UUID.  Since you can obviously get the UUIDs
> for both your Home and Work connections (look in gconf or wherever your
> desktop environment stores connection details), you can use the UUID
> (passed to the script in the CONNECTION_UUID environment variable) to
> pick which VPN you want to bring up.
> 
> 

I forgot to mention that at the location I usually sit know I use wired
network configured with DHCP. How does the script know the UUID for this
connection? I also did not understand what was meant by "passed to the
script in the CONNECTION_UUID environment variable".

Harald
-- 
View this message in context: http://www.nabble.com/dbus-and-OpenVPN-Autostart-tp21905375p22188530.html
Sent from the Gnome - NetworkManager mailing list archive at Nabble.com.



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