Changes between Version 6 and Version 7 of ManagingWindowsTAPDrivers


Ignore:
Timestamp:
04/04/13 08:50:30 (11 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ManagingWindowsTAPDrivers

    v6 v7  
    77 * ''<something>.inf:'' contains driver metadata
    88
    9 In addition, a tool called ''<openvpn-install-dir>\bin\tapinstall.exe'' is provided. It can be used (among other things) to install and unistall TAP-drivers manually. This tool is actually a simply a renamed [http://support.microsoft.com/kb/311272 Devcon.exe].
     9If you need to run OpenVPN on Windows Vista/7 64-bit you have to use signed TAP drivers. Unless you sign them yourself, you need to extract drivers from an existing OpenVPN installer. See below for instructions.
    1010
    11 If you need to run OpenVPN on Windows Vista/7 64-bit you have to use signed TAP drivers. Unless you sign them yourself, you need to extract drivers from an existing OpenVPN installer. See below for instructions.
     11OpenVPN installers come bundled with a command-line tool called ''<tap-windows-install-dir>\bin\devcon.exe'' for managing the TAP-driver. Two wrapper scripts, ''addtap.bat'' and ''deltapall.bat'' are also available in the same directory. For details on ''devcon.exe'' usage look at [http://support.microsoft.com/kb/311272 Microsoft's Devcon.exe documentation].
     12
     13'''NOTES:'''
     14
     15 * OpenVPN 2.3_alpha1 and earlier ''devcon.exe'' was called ''tapinstall.exe''.
     16 * OpenVPN 2.3_rc2 installer does not install TAP utilities by default. [ticket:255 This bug] is fixed in later releases.
    1217
    1318= Installing and uninstalling TAP-drivers =
    1419
    15 Occasionally you may need play with different TAP-driver versions. In this case you can use ''tapinstall.exe'' from the Windows command-prompt. Below are some common commands; <id> refers to the driver identifier which is ''tap0901'' for OpenVPN 2.2*. This identified may be different in older/newer versions. To view information about an installed driver use
     20Occasionally you may need play with different TAP-driver versions. In this case you can use ''devcon.exe'' from the Windows command-prompt. Below are some common commands; <id> refers to the driver identifier which is ''tap0901'' for OpenVPN 2.2+. This identified may be different in older/newer versions. To view information about an installed driver use
    1621
    1722{{{
    18 $ tapinstall.exe hwids <id>
     23$ devcon.exe hwids <id>
    1924}}}
    2025
     
    2227
    2328{{{
    24 $ tapinstall.exe remove <id>
     29$ devcon.exe remove <id>
    2530}}}
    2631
     
    2833
    2934{{{
    30 $ tapinstall.exe install <something.inf> <id>
     35$ devcon.exe install <something.inf> <id>
    3136}}}
    3237
     
    3843
    3944Look at [wiki:TapRenameScript this page] for a script that can be used to rename TAP-drivers.
    40 
    41 = Some specifics in Win-7 x64 =
    42 
    43 (added 2013-01-08)
    44 maybe - will be fixed / changed in further releases, but - for now:
    45 
    46 Recently tried "openvpn-install-2.3_rc2-I001-x86_64" ("release candidate" for x64 platforms); OpenVPN installer do NOT created ''<openvpn-install-dir>\bin\tapinstall.exe''; but it created additional folder in "Program Files" - ''Program Files\TAP-Windows''; if NOT - unpack the installer package with {7-zip}, go to unpacked "$temp" folder and run ''tap-windows.exe'' (unfortunately, no any shortcuts are created in your system to any of the tools/files in this folder).
    47 To add another virtual TAP-adapter - go to "\Program Files\TAP-Windows\bin" and run ("as administrator" !!!) the file named ''addtap.bat''