Open clywm520 opened 4 months ago
可能是你本机的 wintun 驱动异常,可以尝试删除旧的驱动:
1. 列出驱动
pnputil /enum-drivers
找到 wintun 的驱动,类似这样:
Published Name: oem18.inf
Original Name: wireguard.inf
Provider Name: WireGuard LLC
Class Name: Net
Class GUID: {4d11e972-e325-11ce-bfc1-081122210118}
Driver Version: 10/12/2021 0.10.0.0
Signer Name: Microsoft Windows Hardware Compatibility Publisher
2. 删除 wintun 驱动
pnputil /delete-driver oem18.inf /force
删除需要超级管理员权限
2024/07/04 20:31:37 Installing driver 0.14 2024/07/04 20:31:37 Extracting driver 2024/07/04 20:31:37 Installing driver 2024/07/04 20:31:37 Creating adapter 2024/07/04 20:31:52 Timed out waiting for device query: 等待的操作过时。 (Code 0x00000102) 2024/07/04 20:31:52 Failed to setup adapter (problem code: 0x38, ntstatus: 0x0): 设备未就绪。 (Code 0x000010DF) Error: create tun device (pg0): Error creating interface: The device is not ready for use.
删除还是同样的问题,
但n2n可以正常用,我看CSDN 说win turn不能指定网卡名,n2n配置也是这么说的
2024/06/30 18:54:18 Using existing driver 0.14 2024/06/30 18:54:18 Creating adapter 2024/06/30 18:54:34 Timed out waiting for device query: 等待的操作过时。 (Code 0x00000102) 2024/06/30 18:54:34 Failed to setup adapter (problem code: 0x38, ntstatus: 0x0): 设备未就绪。 (Code 0x000010DF) Error: create tun device (pg0): Error creating interface: The device is not ready for use.
windows无法运行。是否为网卡名问题。
wintun.dll 放在 C:\Windows\System32 或当前目录 ,均无法使用