Skip to contentSkip to conversation

Looking for Media Status patch

Openvpn-devel Charles Appel 2 participants 3 messages Apr 18, 2005 – Apr 26, 2005

lore
Share & tools
lore
#0 lore raw

Hello:

Between 1-5-beta1 and 1-5-beta2 the changelog indicates Christof Meerwals's Media Status patch was implemented. I'm wondering if anyone has this patch they could post or send me. I've done a diff between the two CVS tags but there seems to have been many changes to tapdrvr.c so it's difficult to determine what changes were made specifically for the Media Status patch.

Specifically, I'm looking to reverse this patch.

Thanks in advance,
Charles Appel

#1 lore raw
Quoted 9 lines · Charles Appel

Hello:

Between 1-5-beta1 and 1-5-beta2 the changelog indicates Christof Meerwals's Media Status patch was implemented. I'm wondering if anyone has this patch they could post or send me. I've done a diff between the two CVS tags but there seems to have been many changes to tapdrvr.c so it's difficult to determine what changes were made specifically for the Media Status patch.

You can disable the media status functionality by going to the TAP-Win32 driver advanced properties and setting Media Status to Always Connected.

James

#2 lore raw
Quoted 5 lines · James Yonan <jim <at> yonan.net> writes:

You can disable the media status functionality by going to the TAP-Win32 driver advanced properties and setting Media Status to Always Connected.

James

Thanks.

This seems to unreliable in OpenVPN 2.0_rc1.

There are only two options when configuring the TAP properties:
"Application Controlled" and "Always Connected". When Always Connected is selected it attempts to get an IP address and ends up with the MS default 169.254.55.234. After initiating an OpenVPN connection usually it loops with
"Route: Waiting for TUN/TAP interface to come up..."

Sometimes it does connect, but then the ip address is still the 169. address and you have to release/renew in order to get an ip address from the OpenVPN server. Of course, Windows isn't great about it's release/renew procedure so sometimes this fails.

I'd still be interested in the patch if you can dig it up; or, any other suggestions you can think of.

Regards,
Charles