logo       

Renaming TAP driver (Windows): msg#00004

network.openvpn.devel

Subject: Renaming TAP driver (Windows)

Hi,

I am working on a client for openvpn, and have compiled my own version
of the tap-win32 driver with a different name, so that if people
uninstall an existing version of openvpn, my driver is not uninstalled
along with the original tap0801 driver.

I have followed the instructions in the OemWin2k.inf file:

; (1) Rename all tapXXXX instances in this file to
; something different (use at least 5 characters
; for this name!)
; (2) Change the "!define TAP" definition in openvpn.nsi
; to match what you changed tapXXXX to.
; (3) Change TARGETNAME in SOURCES to match what you
; changed tapXXXX to.
; (4) Change TAP_COMPONENT_ID in common.h to match what
; you changed tapXXXX to.
; (5) Change SZDEPENDENCIES in service.h to match what
; you changed tapXXXX to.
; (6) Change DeviceDescription and Provider strings.
; (7) Change PRODUCT_STRING in constants.h to what you
; set DeviceDescription to.

However for (5) in openvpn-2.1beta_rc1 there is no service.h file.

The driver installs fine and is present in the registry, however when I
do `openvpn.exe -show-adapters` nothing shows up, and upon connection,
openvpn complains that it can find no TAP drivers, even if I specify the
connection name or guid with -dev-node.

Does OpenVPN need to be recompiled with some alterations to pick up the
different name?

Thanks
Etienne Le Sueur
http://www.jet-age.co.nz

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise