Package: openvpn
Version: 2.2.1-8
Severity: normal

Hi, I can't find a way for setting up an ip-less openvpn on which make, later, 
a dhcp request, eg:

iface tap1 inet dhcp
    pre-up openvpn --mktun --dev tap1 > /dev/null
    pre-up ifconfig tap1 hw ether `cat /root/.macs/tap1`
    post-down openvpn --rmtun --dev tap1 > /dev/null
    openvpn mono-tap

I found that putting hook in pre-up.d does the trick and does not break 
ifupdown dhcp capabilities.



Thank you, cheers


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (999, 'unstable'), (500, 'stable-updates'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  initscripts            2.88dsf-22.1
ii  libc6                  2.13-32
ii  liblzo2-2              2.06-1
ii  libpam0g               1.1.3-7.1
ii  libpkcs11-helper1      1.09-1
ii  libssl1.0.0            1.0.1b-1
ii  net-tools              1.60-24.1

openvpn recommends no packages.

Versions of packages openvpn suggests:
ii  openssl     1.0.1b-1
ii  resolvconf  1.65

-- Configuration Files:
/etc/default/openvpn changed:
AUTOSTART="none"
OPTARGS=""
OMIT_SENDSIGS=0

/etc/network/if-up.d/openvpn [Errno 2] File o directory non esistente: 
u'/etc/network/if-up.d/openvpn'

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to