Mobile 6.0 Emulator在Virtual PC 2007的連線問題
-
2007年3月16日 上午 07:31
各位專家高手您好 ,
最近因為要測試一個與Exchange Server的相關功能所以必需要藉由使用Mobile 6.0 Emulator...
我的環境如下:
使用Virtual PC 2007安裝一個Windows XP Pro with SP2的Guest OS
在上頭安裝了VS 2005 With SP1,Device emulator 2.0 Standalong ,NET Compact Framework 2.0 Service Pack 1,Virtual Machine Network Service以及Windows Mobile 6.0 Profession SDK.
我可以順利的為Windows Mobile 6.0設定網卡(Bind NE2000)及IP,但是卻無法從Device上連線到Internet或是Intrasite中..
雖然我可以改變經由ActiveSync 4.7的DMA連上Internet,但一旦我這麼做之後就無法測試Exchange的功能..
So,我的問題是有其它的方法可以讓VPC中的Mobile 6.0 Emulator經由TCP/IP連上Internet嗎?
您的任何回覆,我將感激莫名!!謝謝~
解答
-
2007年3月23日 下午 04:04
終於測成功了!!
步驟提供如下:
- 在Host OS上只需要一張網卡,不需要安裝MS Loopback網卡
- 在Guest OS中的VPC Network Settings中只需要給予一張網卡並且將它Bind到Host OS中的實體網卡上
- 在Guest OS中安裝MS Loopback 網卡 http://support.microsoft.com/kb/839013/
- 在Guest OS中,將Bind到Host網卡的那張網卡上啟用網路共用(Internet Connections Share,ICS)
- 此時在Guest OS中的MS Loopback網卡的IP將會被強制設為192.168.0.1,Subnet mask為255.255.0.0
- 安裝Virtaul Machine Network Service http://www.microsoft.com/downloads/details.aspx?FamilyID=dc8332d6-565f-4a57-be8c-1d4718d3af65&DisplayLang=en 安裝後請記得要重新開機
- 在Guest OS中安裝Windows Mobile 6 SDK Professional http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
- 開啟VS 2005工具>選項裝置工具>裝置>選擇WM6 Emulator屬性將預設傳輸由DMA改為TCP/IP
- 打開裝置模擬器管理員>開啟WM6
- 在工具列中的File>Configure..>network Enable NE2000 PCMCIA adapter and bind to :Microsoft Loopback adapter-Virtual Machine network service
- Reset WM6,然後到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
- 再回到Start>Settings>Connections>Connections>Advanced>Select Networks>確認Programs that automatically connect to Internet 是設定為My Work Network
- Rest WM6,現在應該可以正常使用Mobile IE連上Internet了

所有回覆
-
2007年3月17日 上午 02:28
我幫你代貼到 MSDN Forum (US):
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1358703&SiteID=1&mode=1
看會不會有正解出現

-
2007年3月20日 上午 02:42
感謝小朱的熱情協助!
經過這兩天的測試也搜尋了許多有關VPC Loopback adapter的設定使用方法,但結果還是一樣!
Guest OS本身使用Loopback adapter是可以正常上網的,但只要一到了WM6 emulator就不行了..

我已經測了快兩個星期了.....為何WM6那麼難搞呀....

-
2007年3月23日 下午 04:04
終於測成功了!!
步驟提供如下:
- 在Host OS上只需要一張網卡,不需要安裝MS Loopback網卡
- 在Guest OS中的VPC Network Settings中只需要給予一張網卡並且將它Bind到Host OS中的實體網卡上
- 在Guest OS中安裝MS Loopback 網卡 http://support.microsoft.com/kb/839013/
- 在Guest OS中,將Bind到Host網卡的那張網卡上啟用網路共用(Internet Connections Share,ICS)
- 此時在Guest OS中的MS Loopback網卡的IP將會被強制設為192.168.0.1,Subnet mask為255.255.0.0
- 安裝Virtaul Machine Network Service http://www.microsoft.com/downloads/details.aspx?FamilyID=dc8332d6-565f-4a57-be8c-1d4718d3af65&DisplayLang=en 安裝後請記得要重新開機
- 在Guest OS中安裝Windows Mobile 6 SDK Professional http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
- 開啟VS 2005工具>選項裝置工具>裝置>選擇WM6 Emulator屬性將預設傳輸由DMA改為TCP/IP
- 打開裝置模擬器管理員>開啟WM6
- 在工具列中的File>Configure..>network Enable NE2000 PCMCIA adapter and bind to :Microsoft Loopback adapter-Virtual Machine network service
- Reset WM6,然後到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
- 再回到Start>Settings>Connections>Connections>Advanced>Select Networks>確認Programs that automatically connect to Internet 是設定為My Work Network
- Rest WM6,現在應該可以正常使用Mobile IE連上Internet了


