xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.85k stars 405 forks source link

[Bug] Creating interface error in Windows 7 #157

Closed sunxu888 closed 1 year ago

sunxu888 commented 1 year ago

Verify steps

Version

2.4.1

What OS are you seeing the problem on?

No response

Description

win7下,已经安装了KB2533623X64 补丁,会不会是虚拟机原因

CLI or Config

No response

Logs

C:\Users\Administrator\Desktop\tun2socks>tun2socks -device "ShanYou_Tun_Connection" -proxy socks5://127.0.0.1:21180
2022/08/11 21:23:19 Using existing driver 0.14
2022/08/11 21:23:19 Creating adapter
2022/08/11 21:23:19 Spawning native process to create instance
2022/08/11 21:23:43 Failed to setup adapter (problem code: 0x34): 由于硬件错误,
显示设备需要重新初始化。 (Code 0x0000048C)
2022/08/11 21:23:43 Spawning native process to remove instance
time="2022-08-11T21:23:44+08:00" level=fatal msg="[ENGINE] failed to start: crea
te tun: Error creating interface: The indicated device requires reinitialization
 due to hardware errors."

How to Reproduce

No response

xjasonlyu commented 1 year ago

Please add the issue title.

sunxu888 commented 1 year ago

I have changed the title

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

tcc-123 commented 7 months ago

I have encountered the same problem as you, which was reported as an error on the Win7 and x64 virtual machines. After Google, I found that the patch was missing, and I have resolved it. We need this patch: kb4474419

tcc-123 commented 7 months ago

download address https://catalog.update.microsoft.com/search.aspx?q=kb4474419