Hi, On Thu, Aug 18, 2016 at 9:11 AM, debbie10t <debbie...@gmail.com> wrote:
> Thu Aug 18 13:54:41 2016 us=240792 MANAGEMENT: > >STATE:1471524881,ASSIGN_IP,,10.8.0.6,,,,,12fc:1918::10:8:0:1000 > Thu Aug 18 13:54:41 2016 us=240792 MANAGEMENT: Client disconnected > Thu Aug 18 13:54:41 2016 us=240792 Error: When using --tun-ipv6, if you > have more than one TAP-Windows adapter, you must also specify --dev-node > Thu Aug 18 13:54:41 2016 us=240792 Exiting due to fatal error > You are right, the error message is confusing (see below) but what its trying to say is that _either_ exactly one tap adapter and no --dev-node in config _or_ "--dev-node name" with name referring to an existing adapter is required. That somewhat strange requirement is related to the "IFCONFIG_BEFORE_TUN" that was mentioned in connection with the ifconfig-noexec discussion. There is a patch from Heiko for relaxing that requirement, so hopefully it will get fixed soon.. As for the error message, the code that tries to guess the dev-node fails in two ways (i) if the specified dev-node is not found or (ii) more than one TAP adapters are found. When do_ifconfig is called without a "guessed" adapter name, the error shown is the same regardless of why the guess failed. Anyway a successful guess doesn't really mean that the tun open will succeed later so the whole logic behind this looks like a poor hack. Once the above mentioned patch is reviewed and merged, the guessing game could be avoided and that error will not happen. Selva
------------------------------------------------------------------------------
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel