筆記本使用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
請注意,這不是特定於物聯網的。
(原文)
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 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