Emulator Setup

Zsh can be launched from an emulator using the Ethernet protocol. Before launching Zsh using an emulator as the Telnet server, the emulator must be configured.

To configure the emulator, perform the following the steps:

  1. Install 4.0-WinPcap.exe from www.winpcap.org, which is freeware. For more information about WinPcap, refer to Installing WinPcap 4.0.

  2. If your PC is in a network where IP allocations are dynamic, use the Dynamic IP option; otherwise use the Static IP option.

    • Dynamic IP: The \epoc32\winscw\c\ethernetced.xml file has CommDB settings for dynamic IP by default. So no action is required.

    • Static IP: Edit \epoc32\winscw\c\ethernetced.xml as follows:

      • Select the ConnectionPreferencesTable entry with the highest value in Ranking. Modify the IAPRef value to IAP.Ethernet with Daemon Static IP.

        <ConnectionPreferences operation="add">
            <Name>ConnectionPreferencesTable2</Name>
            <Ranking>1</Ranking>
            <Direction>OUTGOING</Direction>
            <DialogPref>DONOTPROMPT</DialogPref>
            <BearerSet>LAN</BearerSet>
            <IAPRef>IAP.Ethernet with Daemon Static IP</IAPRef>
        </ConnectionPreferences>
      • Select the LANServiceTable entry with Name: Ethernet Static IP.

      • Modify the IpNetMask, IpGateway, IpNameServer1, and IpNameServer2 values to those set on your PC. You can get these by typing the following command at a command prompt where your telnet client is running:

        ipconfig /all

      • Modify the IPAddr to one from the unused pool (given by the network administrator) on your network.

        <LANService operation="add">
            <Name>Ethernet Static IP</Name>
            <IfNetworks>ip</IfNetworks>
            <IpNetMask>255.255.252.0</IpNetMask>
            <IpGateway>10.192.199.254</IpGateway>
            <IpAddr>10.192.197.1</IpAddr>
            <IpAddrFromServer>FALSE</IpAddrFromServer>
            <IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
            <IpNameServer1>10.192.59.6</IpNameServer1>
            <IpNameServer2>10.192.58.49</IpNameServer2>
            <ConfigDaemonManagerName>NetCfgExtnDhcp</ConfigDaemonManagerName>
            <ConfigDaemonName>!DhcpServ</ConfigDaemonName>
        </LANService>

        For more information on static IP and setting, refer to Quick ethernet configuration.

  3. Run the following command to generate the ethernet configuration files:

    configchange.pl --config ethernetWithCommDb --kernel EKA2 --target winscw --variant udeb

    .

    For more information about configchange.pl, refer to Using the Configchange.pl script.

    For information on CommDb, refer to Communications Framework.

Related concepts
Launching Zsh
Related information
Device Setup