|
||
A sample configuration file containing the settings for connecting the emulator to a VPN connection is given below. The sample file contains dummy values and it is recommended that you replace them with valid values appropriate to your environment.
<?xml version="1.0" encoding="UTF-8" ?>
<!-- CommDB settings File
-->
- <CommDB:Config xmlns="SymbianOS.Generic.Comms-Infras.CommDB" xmlns:CommDB="SymbianOS.Generic.Comms-
Infras.CommDB" xmlns:xlink="http://www.w3.org/1999/xlink"xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:schemaLocation="SymbianOS.Generic.Comms-Infras.CommDB CommDB.xsd">
<InformationTable />
-<NetworkTable>
<Network operation="add">
<Name>Intranet1</Name>
</Network>
<NetworkTable>
-<IAPTable>
<IAP operation="add">
<Name>Cisco VPN IAP</Name>
<IAPService>VpnService.cisco.tunnel</IAPService>
<IAPBearer>VirtualBearer.VPN Bearer1</IAPBearer>
<IAPNetwork>Network.Intranet1 </IAPNetwork>
<IAPNetworkWeighting>0</IAPNetworkWeighting>
<LocationRef>Location.Office </LocationRef>
</IAP>
</IAPTable>
-<LANBearerTable>
<LANBearer operation="add">
<Name>Assabet on-board ethernet</Name>
<Agent>nullagt.agt</Agent>
<IfName>ethint</IfName>
<PDDName>not used</PDDName>
<PacketDriverName>not used</PacketDriverName>
<LastSocketActivityTimeout>-1</LastSocketTimeout>
<LastSessionClosedTimeout>-1</LastSessionClosedTimeout>
<LastSocketClosedTimeout>-1</LastSocketClosedTimeout>
</LANBearer>
</LANBearerTable>
-<LANServiceTable>
<LANService operation="add">
<Name>Ethernet</Name>
<Ifnetworks>ip</IfNetworks>
<IpNetmask>xxx.xxx.xxx.xxx</IpNetmask>
<IpGateway>yyy.yyy.yyy.yyy</IpGateway>
<IpAddr>zzz.zzz.zzz.zzz</IpAddr>
<IpAddrFromServer>TRUE</IpAddrFromServer>
<IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
<Ip6DNSAddrFromServer>TRUE</Ip6DNSAddrFromServer>
<IpNameServer1>aaa.aaa.aaa.aaa</IpNameServer1>
<IpNameServer2>bbb.bbb.bbb.bbb</IpNameServer2>
</LANService>
</LANServiceTable>
-<ConnectionPreferencesTable>
<ConnectionPreferences operation="add">
<Name>ConnectionPreferenceTable1</Name>
<Ranking>1</Ranking>
<Direction>OUTGOING</Direction>
<DialogPref>PROMPT</DialogPref>
<BearerSet>LAN</BearerSet>
<IAPRef>IAP.Cisco VPN</IAPRef>
</ConnectionPreferences>
</ConnectionPreferencesTable>
-<GloballSettingsTable>
<GlobalSettings operation="add">
<Name>GlobalSettingstable1</Name>
<WAPAccess>WAPAccessPoint.Default DialInISP</WAPAccess>
<RedialAttempts>3</RedialAttempts>
<SMSBearer>WAPSMSBearer.WAPSMSBearerTable1</SmsBearer>
<SmsReceiveMode>2</SmsReceiveMode>
<GPRSAttachMode>1</GPRSAttachMode>
<AcceptIncomingGprs>1</AcceptIncomingGPRS>
<ConnectionAttempts>2</ConnectionAttempts>
<ModemForDataAndFax>2</ModemForDataAndFax>
<ModemForPhoneServiceAndSMS>2</ModemForPhoneServiceAndSms>
<LocationForDataAndFax>Location.office</LocationForDataAndFax>
<LocationForPhoneservicesAndSMS>Location.Office</LocationForPhoneservicesAndSms>
<GPRSClassCBearer>GSM</GPRSClassCBearer>
<DefaultNetwork>Network.Intranet1</DefaultNetwork>
<BearerAvailabilityCheckTSY>mm</BearerAvailabilityCheckTSY>
</GlobalSettings>
</GlobalSettingsTable>
-<LocationTable>
<Location operation="add">
<Name>office</Name>
<Mobile>FALSE</Mobile>
<UsePulseDial>FALSE</UsePulseDial>
<WaitForDialTone>FALSE</WaitForDialTone>
<PauseAfterDialOut>0</PauseAfterDialOut>
<IntlPrefixCode>00</IntlPrefixCode>
<NatCode>44</NatCode>
<AreaCode>207</AreaCode>
<DialOutCode>0</DialOutCode>
</Location>
</Locationtable>
-<VirtualBearerTable>
<VirtualBearer operation="add">
<Name>VPN bearer1</Name>
<Agent>vpnconnagt.agt</Agent>
<IfName>tunnelnif</Ifname>
<LastSocketActivityTimeOut>-1</LastSocketActivityTimeout>
<LastSessionClosedTimeout>-1</LastSessionClosedTimeout>
<LastSocketClosedTimeout>-1</LastSocketClosedTimeout>
</VirtualBearer>
</VirtualBearerTable>
You can use the sample XML file with appropriate changes and save the configuration settings using CED and CEDDUMP tools.