Package: openvpn
Version: 1.99+2.rc6-1
Severity: wishlist

I have openvpn running very well over wifi between a
laptop (802.11b pcmcia card) and the site server.
However, the init order (S16openvpn, S20pcmcia) means
that on the laptop openvpn is started before there is
any actual net connectivity.  For some reason the MTA
then spends ~30 seconds starting up, lengthening boot-up
time considerably (perhaps because it's fooled int
 thinking there is a connection ??).

For the laptop, I find a better setup is NOT starting
openvpn in init (changed S16 links to K84) and doing
  /etc/init.d/openvpn start/stop
in ifup/ifdown

Interestingly there seem to scripts there already
(if-up.d/openvpn, if-down.d/openvpn) which ALMOST
do this job, but the start/stop is guarded by a test
for $IF_OPENVPN being set.  I've put some logging in
and this never seems to be set, so I just commented
out the test to get the behaviour I want (I should
probably test for $IFACE = eth1 though).

Anyway, it would be nice if the dpkg configure script
had an option to set things up nicer for systems with 
more transient connections.

[If I'm doing everthing wrong and all I actually need
is a simple openvpn option, or to fix something else
on the system sorry!]

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages openvpn depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  liblzo1                     1.08-1.2     A real-time data compression libra
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries

-- debconf information:
  openvpn/change_init: true
* openvpn/create_tun: true
* openvpn/stop2upgrade: false
  openvpn/default_port:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to