Symbian3/SDK/Source/GUID-DA204619-9F02-5854-80BE-0AC6BB80D730.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-DA204619-9F02-5854-80BE-0AC6BB80D730" xml:lang="en"><title>Emulator
       
    13 Setup</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <p>Zsh can be launched from an emulator using the Ethernet protocol. Before
       
    15 launching Zsh using an emulator as the Telnet server, the emulator must be
       
    16 configured. </p>
       
    17 <p>To configure the emulator, perform the following the steps: </p>
       
    18 <ol id="GUID-1EC9BA99-BC03-54A4-BAAC-ABF0288E1E35">
       
    19 <li id="GUID-7F1FB879-44B9-5F26-B14F-ECA35AE2572D"><p>Install <b>4.0-WinPcap.exe</b> from <xref href="http://www.winpcap.org/archive/" scope="external">www.winpcap.org</xref>,
       
    20 which is freeware. For more information about WinPcap, refer to <xref href="GUID-CDD1E761-6B28-5F69-BBEF-756DF45E59A2.dita">Installing
       
    21 WinPcap 4.0</xref>. </p> </li>
       
    22 <li id="GUID-51C4D952-23D4-51FD-BAA8-60B95A47EA1D"><p>If your PC is in a network
       
    23 where IP allocations are dynamic, use the Dynamic IP option; otherwise use
       
    24 the Static IP option. </p> <ul>
       
    25 <li id="GUID-4D87A125-49C2-5959-9400-CD3EC7855E23"><p> <b>Dynamic IP</b>:
       
    26 The <filepath>\epoc32\winscw\c\ethernetced.xml</filepath> file has CommDB
       
    27 settings for dynamic IP by default. So no action is required. </p> </li>
       
    28 <li id="GUID-D85DB7C6-4FC2-5454-BD92-EDC47FD889B1"><p> <b>Static IP</b>: Edit <filepath>\epoc32\winscw\c\ethernetced.xml</filepath> as
       
    29 follows: </p> <ul>
       
    30 <li id="GUID-C0D4149B-303D-5754-B489-A4C060C8A33B"><p>Select the <codeph>ConnectionPreferencesTable</codeph> entry
       
    31 with the highest value in <codeph>Ranking</codeph>. Modify the <codeph>IAPRef</codeph> value
       
    32 to <codeph>IAP.Ethernet with Daemon Static IP</codeph>. </p> <codeblock id="GUID-177CC8AF-8266-5B82-8809-E7CCEA3CB08A" xml:space="preserve">&lt;ConnectionPreferences operation="add"&gt;
       
    33     &lt;Name&gt;ConnectionPreferencesTable2&lt;/Name&gt;
       
    34     &lt;Ranking&gt;1&lt;/Ranking&gt;
       
    35     &lt;Direction&gt;OUTGOING&lt;/Direction&gt;
       
    36     &lt;DialogPref&gt;DONOTPROMPT&lt;/DialogPref&gt;
       
    37     &lt;BearerSet&gt;LAN&lt;/BearerSet&gt;
       
    38     &lt;IAPRef&gt;IAP.Ethernet with Daemon Static IP&lt;/IAPRef&gt;
       
    39 &lt;/ConnectionPreferences&gt;</codeblock> </li>
       
    40 <li id="GUID-F11883CA-7E5A-51AF-878E-B835AD4070E6"><p>Select the <codeph>LANServiceTable</codeph> entry
       
    41 with <codeph>Name: Ethernet Static IP</codeph>. </p> </li>
       
    42 <li id="GUID-2B7DBA68-9782-5125-B5C0-DF997AC60B11"><p>Modify the <codeph>IpNetMask</codeph>, <codeph>IpGateway</codeph>, <codeph>IpNameServer1</codeph>, and <codeph>IpNameServer2</codeph> values to those set on your PC. You
       
    43 can get these by typing the following command at a command prompt where your
       
    44 telnet client is running: </p> <p><userinput>ipconfig /all</userinput> </p> </li>
       
    45 <li id="GUID-FC9439C9-833D-515A-BE2A-F35531AAD2BD"><p>Modify the <codeph>IPAddr</codeph> to
       
    46 one from the unused pool (given by the network administrator) on your network. </p> <codeblock id="GUID-0CC03BB6-2083-5484-B76F-706FDDBABCCD" xml:space="preserve">&lt;LANService operation="add"&gt;
       
    47     &lt;Name&gt;Ethernet Static IP&lt;/Name&gt;
       
    48     &lt;IfNetworks&gt;ip&lt;/IfNetworks&gt;
       
    49     &lt;IpNetMask&gt;255.255.252.0&lt;/IpNetMask&gt;
       
    50     &lt;IpGateway&gt;10.192.199.254&lt;/IpGateway&gt;
       
    51     &lt;IpAddr&gt;10.192.197.1&lt;/IpAddr&gt;
       
    52     &lt;IpAddrFromServer&gt;FALSE&lt;/IpAddrFromServer&gt;
       
    53     &lt;IpDNSAddrFromServer&gt;TRUE&lt;/IpDNSAddrFromServer&gt;
       
    54     &lt;IpNameServer1&gt;10.192.59.6&lt;/IpNameServer1&gt;
       
    55     &lt;IpNameServer2&gt;10.192.58.49&lt;/IpNameServer2&gt;
       
    56     &lt;ConfigDaemonManagerName&gt;NetCfgExtnDhcp&lt;/ConfigDaemonManagerName&gt;
       
    57     &lt;ConfigDaemonName&gt;!DhcpServ&lt;/ConfigDaemonName&gt;
       
    58 &lt;/LANService&gt;</codeblock> <p>For more information on static IP and setting,
       
    59 refer to <xref href="GUID-3C6935E1-66C9-5115-901E-D3B1D0C2E783.dita">Quick ethernet
       
    60 configuration</xref>. </p> </li>
       
    61 </ul> </li>
       
    62 </ul> </li>
       
    63 <li id="GUID-EC11E065-002A-5E0C-81E1-733CFF5AE82A"><p>Run the following command
       
    64 to generate the ethernet configuration files: </p> <p><userinput>configchange.pl
       
    65 --config ethernetWithCommDb --kernel EKA2 --target winscw --variant udeb</userinput> </p>. <p>For
       
    66 more information about <filepath>configchange.pl</filepath>, refer to <xref href="GUID-7B114A67-356A-5FCE-B57B-761F5477A2B2.dita">Using the Configchange.pl
       
    67 script</xref>. </p> <p>For information on CommDb, refer to <xref href="GUID-3EF88A1D-CCB6-5DE5-9CA6-F6E785A6898A.dita">Communications
       
    68 Framework</xref>. </p> </li>
       
    69 </ol>
       
    70 </conbody><related-links>
       
    71 <link href="GUID-F4E64499-57CB-5E4A-AAD7-439191BF5E0F.dita"><linktext>Launching
       
    72 Zsh</linktext></link>
       
    73 <link href="GUID-DC6AF355-3079-531F-98F7-A70AC13A2863.dita"><linktext>Device Setup</linktext>
       
    74 </link>
       
    75 </related-links></concept>