Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Possible Causes of HoloLens Emulator No Internet Problems

MYHMYH
edited January 2017 in Questions And Answers

After many hours fighting with HoloLens emulator network, I find several facts and possible causes listed in the following items. If you don't use OpenVPN, you can jump to item 5.
1. If you deploy a UWP by Visual Studio 2017 RC to HoloLens emulator on a Win 10 PC with OpenVPN installed and its TAP virtual adapters created, it will create a Hyper-V Virtual Switch for each corresponding TAP adapter. For example, if you have created 3 OpenVPN tap adapters on your PC, the app deployment will create 3 Hyper-V Virtual Switches! However, the Hyper-V Virtual Switch will not be created for your physical Ethernet adapter!!!!!! Bug?! And you will find HoloLens emulator has no Internet!
2. Following item 1., if you check the HoloLens VM settings in Hyper-V Manger, you will find there are 4 (guest) network adapters. One adapter is bound to Windows Phone Internal Switch. Other three adapters are bound to TAP adapter switches.
3. Following item 2., if you create a Hyper-V Virtual Switch (External network, Allow management ...) for your (host) physical Ethernet adapter and create one (guest) network adapter bound to the switch in HoloLens VM settings, and deploy a UWP to HoloLens emulator, you will find HoloLens VM settings are rolled back to the 4 adapters in item 2. The new created guest network adapter for the switch bound to physical Ethernet adapter disappears! Result: HoloLens emulator has no Internet!
4. Following item 3., after HoloLens emulator starts and is ready, if you bind one guest network adapter (originally bound to a TAP adapter) to the switch bound to the physical Ethernet adapter, the Internet of HoloLens emulator may work. However, after you close HoloLens emulator and redeploy a UWP to it, the guest network adapter settings are rolled back to the case in item 2. Oh, no!
5. The problem might be not related to the previous items. If your PC has no OpenVPN and TAP adapters installed, you still could meet HoloLens emulator no Internet problem: after HoloLens emulator starts, its one guest network adapter bound to the switch bound to the physical Ethernet adapter seems to try to get IP from DHCP server. However, if your PC is connected to a local area network with some DHCP servers on other PCs, the guest adapter seems to can request an IP from one DHCP server from another PC, not from your PC! If the DHCP server provides a no Internet private IP to the guest adapter, your HoloLens emulator will have no Internet!!!

I hope Microsoft can confirm what I said are correct or not and fix them if they are real problems. The no Internet problem takes me hours. It should also take many people many hours.

Sign In or Register to comment.