小朱

Hi all~

I want to connect my Windows CE 6.0 from Device Emulator 2.0 in Virtual PC 2007 for Exchange Server mobility features testing.

But, when I configured my emulator (include network adapter and IP address) and try to connect to Internet, but I cannot connected successfully.

How can I configure my emulator to connect to Internet in Virtual PC 2007 environment

Thanks a lot.




Re: Device Emulator General How to connect Windows CE 6.0 OS to Internet via Device Emulator 2.0 in Virtual PC 2007?

Mohit Gogia

When running emulator in VPC environment, please configure loopback adapter and bind NE2000 card to loopback adapter.

Hope this helps.

-Thanks,

Mohit





Re: Device Emulator General How to connect Windows CE 6.0 OS to Internet via Device Emulator 2.0 in Virtual PC 2007?

Jammy-MVP

Hi Mohit,

I got same issue:In VPC 2007 Windows CE 6 emulator cannot connect to internet.

I have references this article http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/04/477195.aspx about loopback adapter in vpc, but ths issue still here.

Would you tell me more deailed information or references article about you say "configure loopback adapter and bind NE2000 card to loopback adapter"

Any replay will be apperciate.

Jammy






Re: Device Emulator General How to connect Windows CE 6.0 OS to Internet via Device Emulator 2.0 in Virtual PC 2007?

Eagle117

Go to Start>Settings>Connections>Connections>Advanced>Network Cards and make sure that programs that connection to the Internet are set to use "Work" connection. Save this and then it should connect properly.



Re: Device Emulator General How to connect Windows CE 6.0 OS to Internet via Device Emulator 2.0 in Virtual PC 2007?

Jammy-MVP

I want say thank you both Mohit & Eagle !!

After try and test,test and try...it finally work!

Here is my setup step:

  1. In Host OS just need one network adapter, do not need MS Loopback adapter
  2. Guest OS which you want install Emulator in VPC Networking Settings just need one adapter and bind to Host OS real network card
  3. Install guest os
  4. In guest os add MS Loopback adapter http://support.microsoft.com/kb/839013/en-us
  5. Enable Internet Connection Sharing in another network adapter and allow HTTP,HTTPS and DNS service
  6. After Step 5 ,MS Loopback adapter ip should be assign to 192.168.0.1
  7. In guest os install Virtual Machine network service http://www.microsoft.com/downloads/details.aspx FamilyID=dc8332d6-565f-4a57-be8c-1d4718d3af65&DisplayLang=en Remember reboot after success install this service
  8. Install Visual Studio 2005 and Update to SP1,
  9. Insatll Microsoft .NET Compact Framework v2 SP1
  10. Install Microsoft Device Emulator 2.0
  11. Install Windows Mobile 6 Emulator SDK http://www.microsoft.com/downloads/details.aspx familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
  12. Open Visual Studio 2005>Tool>Option>Device Tool>Device>Select the emulator image and change the default transport to TCP/IP from DMA
  13. Open Device Emulator Manager> Connect your Emulator image
  14. In the toolbar File>configure..>network Enable NE2000 PCMCIA adapter and bind to :Microsoft Loopback adapter-Virtual Machine network service
  15. Reset your Mobile Sevice emulator
  16. In Device Emulator>Start>Settings>Connections>Network Card>Edit NE2000 Compatible Ethernet Driver>Assign a IP 192.168.0.xxx£¬Submask£º255.255.255.0£¬Default Gateway£º192.168.0.1£¬Name Servers£ºDNS 192.168.0.1
  17. Go back to Device Emulator>Start>Settings>Connections>Connections>Advanced>Select Networks>Make sure the Programs that automatically connect to Internet is using My Work Network
  18. Reset Mobile Device,Now it should be work and fine to internet.

Jammy-MVP






Re: Device Emulator General How to connect Windows CE 6.0 OS to Internet via Device Emulator 2.0 in Virtual PC 2007?

Ken Chan (eMVP)

Please try to Configure NAT via using the Microsoft Loopback Adapter and Internet Connection Sharing

More detailed, please refer to:

http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/04/477195.aspx

Best regards,

Ken