Error when connecting from windows client

Simon Rozman simon at rozman.si
Tue Apr 27 09:54:15 UTC 2021


Hi,

> 2021-04-26 14:45:33.382398: [TUN] [Home] Creating Wintun interface
> 2021-04-26 14:45:33.519928: [TUN] [Home] [Wintun] CreateAdapter:
> Creating adapter
> 2021-04-26 14:45:33.828328: [TUN] [Home] [Wintun] SelectDriver: Using
> existing driver 0.10
> 2021-04-26 14:45:34.289159: [TUN] [Home] [Wintun] CreateAdapter:
> Failed to setup adapter (status: 0x0): The operation completed
> successfully. (Code 0x00000000)

Your log indicates that the adapter device was created, but has a problem code with a STATUS_SUCCESS problem status. I have reintroduced the problem code check in https://git.zx2c4.com/wintun/commit/?id=2881164bff0e819f6b0b6d5fc5d3a185ecb47457. This should evaluate the Wintun adapter state with better precision.

Meanwhile, can you please examine your C:\Windows\INF\setupapi.dev.log file for clues. (Note that a 0x1f/0xc0000495 problem code/status is normal when Wintun adapter is created early at boot. Hence the STATUS_PNP_DEVICE_CONFIGURATION_PENDING check in the code.)

Regards, Simon


More information about the WireGuard mailing list