You are not logged in.

#1 2007-03-01 12:15:50

typecast
Member
From: Germany
Registered: 2007-02-26
Posts: 13
Website

Starting vpnc in a network profile

Hi,

i configure my network using the /etc/network-profile facility. In one environment i have to get an IP address via dhcp (no problem with /etc/network-profile) and create an VPN tunnel afterwards. Creating the VPN tunnel is done by starting vpnc. Is there a way to do this in my profile?

Offline

#2 2007-03-03 15:42:02

Xilon
Member
Registered: 2007-01-01
Posts: 243

Re: Starting vpnc in a network profile

It looks like the profiles are just shell scripts (you're defining variables), so I would just try executing it from there, but it might not work since the script is probably read before a connection is made...

Offline

#3 2007-03-04 15:28:44

typecast
Member
From: Germany
Registered: 2007-02-26
Posts: 13
Website

Re: Starting vpnc in a network profile

Yes, the script is sourced before the network is set up, so it is not possible to do that sad

Offline

Board footer

Powered by FluxBB