49 | | = Debugging = |
| 49 | = TAP-driver debugging = |
| 50 | |
| 51 | Occasionally you may have to try out different versions of the Windows TAP-driver. This can be done with ''<openvpn-install-dir\bin\tapinstall.exe''. This tool is actually renamed [http://support.microsoft.com/kb/311272 Devcon.exe]. |
| 52 | |
| 53 | It's fairly straighforward to use ''tapinstall.exe'' from a command-prompt. The <id> is an identifier which ''tapinstall.exe'' uses to detect the correct driver. In case of OpenVPN 2.2* it's ''tap0901''. This may be different in older/newer versions. To view information about an installer driver use |
| 54 | |
| 55 | {{{ |
| 56 | $ tapinstall.exe hwids <id> |
| 57 | }}} |
| 58 | |
| 59 | To uninstall a driver use: |
| 60 | |
| 61 | {{{ |
| 62 | $ tapinstall.exe remove tap0901 |
| 63 | }}} |
| 64 | |
| 65 | To install a new TAP-driver use |
| 66 | |
| 67 | {{{ |
| 68 | $ tapinstall.exe install <something.inf> <id> |
| 69 | }}} |
| 70 | |
| 71 | It's also possible to [wiki:BuildingOnWindows#ExtractingsignedTAP-driversfromanOpenVPNinstaller extract TAP-drivers from OpenVPN installer] without installing OpenVPN. |
| 72 | |
| 73 | = OpenVPN Debugging = |