Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows无法运行。 #13

Open
clywm520 opened this issue Jun 30, 2024 · 2 comments
Open

windows无法运行。 #13

clywm520 opened this issue Jun 30, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@clywm520
Copy link

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 或当前目录 ,均无法使用

@rkonfj
Copy link
Member

rkonfj commented Jul 3, 2024

可能是你本机的 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

删除需要超级管理员权限

@clywm520
Copy link
Author

clywm520 commented Jul 4, 2024

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配置也是这么说的

@rkonfj rkonfj added the help wanted Extra attention is needed label Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants