tun2socks icon indicating copy to clipboard operation
tun2socks copied to clipboard

[Bug] Creating interface error in Windows 7

Open sunxu888 opened this issue 3 years ago • 2 comments

Verify steps

  • [X] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • [X] I have searched on the issue tracker for a related issue.

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

sunxu888 avatar Aug 11 '22 13:08 sunxu888

Please add the issue title.

xjasonlyu avatar Aug 11 '22 13:08 xjasonlyu

I have changed the title

sunxu888 avatar Aug 11 '22 13:08 sunxu888

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

github-actions[bot] avatar Oct 11 '22 10:10 github-actions[bot]

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 avatar Nov 29 '23 12:11 tcc-123

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

tcc-123 avatar Nov 29 '23 12:11 tcc-123