ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

【问题解决】win10连接了不可路由的以太网后,会阻止使用 WWAN 访问 Internet

2021-11-15 20:04:21  阅读:246  来源: 互联网

标签:Windows 连接 Internet win10 Ethernet com 以太网 路由


笔记本使用4G模块可以上互联网,但是一插网线(有线网未连接互联网)后,笔记本就与互联网断开了。感谢度娘,终于找到原因了,原来是win10系统的缺陷。

一、问题描述

这里将问题描述的很清楚:

在秋季创作者更新中,引入了一个错误。此错误不仅限于 IoT 核心,还出现在 Windows 桌面版上(自更新 1709 以来,1703 仍然可以正常工作)。
问题是,如果您有一个没有互联网的活动以太网连接,Windows 将不再通过 USB 连接的 MBIM 调制解调器路由互联网。
强制路由的 ping 测试工作正常,但任何其他流量都不会通过调制解调器路由。断开以太网连接器,它开始工作。

(原文)

In the fall creators update a bug was introduced. This bug is not limited to IoT core, but als appeared on Windows for Desktop (since update 1709, 1703 still works fine).
The problem is that if you have an active ethernet connection without internet, Windows does not route the internet through a USB connected MBIM modem anymore.
A ping test with forced routing works fine, but any other traffic is not routed through the modem. Disconnect the ethernet connector and it starts working.

二、解决办法

2.1 GitHub

这是设计使然。如果您连接了以太网或 Wi-Fi,则访问蜂窝网络将被阻止。

如果您需要绕过 Windows 策略并允许通过收费的蜂窝连接进行连接,即使连接了以太网,我们也有选项。此以太网连接是否不可路由(例如,它没有默认网关/没有路由)?如果是这样,您可以使用注册表值配置设备,即使以太网已连接(但不可路由),Windows 也将允许蜂窝通信。

HKLM\Software\Microsoft\WcmSvc
IgnoreNonRoutableEthernet (REG_DWORD) 设置为 1

请注意,这不是特定于物联网的。

(原文)

saraclay commented on 11 May 2018

Hi @Vincation,

This is by design. If you have Ethernet or Wi-Fi connected, access to Cellular is blocked.

We have options if you need to bypass Windows policy and allow connectivity over a costed Cellular connection even if Ethernet is connected. Is this Ethernet connection non-routable (e.g. it has no default gateway / no routes)? If so, you can configure the device with a registry value and Windows will allow Cellular traffic even with Ethernet is connected (but not-routable).

HKLM\Software\Microsoft\WcmSvc
IgnoreNonRoutableEthernet (REG_DWORD) set to 1

Note that this is not IoT-specific.

2.2微软官方

https://support.microsoft.com/en-us/topic/june-21-2018-kb4284822-os-build-16299-522-187938dc-151a-b624-366a-c3b954972131

 

三、衍生出的快速解决办法

我当前的操作系统是win10 1809,方法是添加一个注册表值即可,添加后WWAN和Ethernet 可以共用,删除后WWAN就会被Ethernet 影响而不能上互联网。

快速解决方法是,将下面内容拷贝到记事本里,然后另存为reg格式的文件,再双击即可导入到注册表。动手能力强的也可手动在注册表里找到对应表项,再添加对应的dword值,并设置为1。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc]
"IgnoreNonRoutableEthernet"=dword:00000001

    

 

四、鸣谢

1、度娘

2、bbs.nga.cn,UID:14555022

https://bbs.nga.cn/read.php?tid=17050653&rand=292

3、superuser.com,ID:lionel

https://superuser.com/questions/1322552/windows-10-cellular-with-lan

4、微软(知错能改)

https://support.microsoft.com/en-us/topic/june-21-2018-kb4284822-os-build-16299-522-187938dc-151a-b624-366a-c3b954972131

 5、GitHub(最应该感谢的)

GitHub ,ID:saraclay

https://github.com/MicrosoftDocs/windows-iotcore-docs/issues/343

 

标签:Windows,连接,Internet,win10,Ethernet,com,以太网,路由
来源: https://www.cnblogs.com/TheWindReturns/p/15557948.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有