title: Cannot connect Windows Phone Emulator to Internet when using Wireless adapter on the host
body: <p>I’m developing Windows Phone app using VS2012 on Dell XPS 15 laptop with Win8 pro.I read a lot of troubleshooting articles here (specially <a href="https://stackoverflow.com/questions/13159947/windows-phone-8-emulator-cant-connect-to-the-internet">Windows Phone 8 emulator can&#39;t connect to the internet</a>) and in other places on the web and have not managed to solve the issue (see the subject). Note my laptop gets successfully IP using DHCP on both adapters (wireless and wired) and no MAC filtering is set on the router. Here is the story:</p>
  
  <p>1) <strong>Does not work:</strong> When starting WP emulator, it does not get IP from
      router (DHCP)</p>
  
  <p>2) <strong>Works:</strong></p>
  
  <ul>
  <li>start over (delete virtual switches and machine in Hyper-v)</li>
  <li>disable wireless adapter</li>
  <li>connect wired adapter to router with cable</li>
  <li>start emulator (it creates machine and switches)</li>
  <li>gets IP and Internet is accessible</li>
  </ul>
  
  <p>3) <strong>Does not work:</strong> </p>
  
  <ul>
  <li>start over (delete virtual switches and machine in Hyper-v)</li>
  <li>disable wired adapter– windows control panel shows : Bluetooth and
  Wireless enabled and wired disable – no others</li>
  <li>start emulator (it creates machine and switches)</li>
  <li>result:</li>
  <li>a) router log shows “DHCP server received REQUEST”</li>
  <li>b) on the host I see (ipconfig) virtual switch gets IP (vEthernet
  (Intel(R) Centrino(R) Wireless-N 1030 Virtual Switch)) – it selected
  as “Windows Phone Emulator External” in virtual machine settings</li>
  <li>c) in emulator network tab of “Additional Tools” window I see adaptors
  with default IP 169.*</li>
  </ul>
  
  <p>3) <strong>Partially works:</strong></p>
  
  <ul>
  <li>delete virtual switches</li>
  <li>disable wired adapter– windows control panel shows : Bluetooth and
  Wireless enabled and wired disable – no others</li>
  <li>create internal switch in hyper-v named “Windows Phone Emulator
  Internal Switch” and select it in internal network adapter of virtual
  machine</li>
  <li>enable sharing in wireless adapter (in control panel)</li>
  <li>start emulator as standalone with xde.exe (starting from VS will not
  use right snapshot with deployed app) and does not allow it to
  connect to network – loading takes much more time and after that, OS
  is loading and emulator shows error dialog  “Some functionality maybe
  disables”</li>
  <li>it possible to use emulator with Internet, but device buttons does
  not work – use keyboard shortcuts
  (<a href="http://devatheart.azurewebsites.net/2011/06/04/windows-phone-7-emulator-and-physical-keyboard-shortcuts/" rel="nofollow noreferrer">http://devatheart.azurewebsites.net/2011/06/04/windows-phone-7-emulator-and-physical-keyboard-shortcuts/</a>)</li>
  <li>it cannot be used for debugging – it is good only for showing the app on public ;-)</li>
  </ul>