Поделиться через


PPP Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The registry key name is HKEY_LOCAL_MACHINE\Comm\Ppp\Parms. The following table shows the named values for configuring PPP connections.

Value : type Description

AllowSuspend : REG_DWORD

Default setting is 0. Controls the suspension behavior of a device. To allow the device to auto-suspend while a PPP session is active, this key must be set to 1.

Ee497169.note(en-US,WinEmbedded.60).gifNote:
This registry key is read during session creation. Any change to this key will affect subsequent PPP sessions that are created, but will not affect currently active sessions.

AlwaysAddSubnetRoute : REG_DWORD

Default setting is 0. If this value is set to 1 or TRUE, the subnet route will be added to the route table, even when the RASEO_RemoteDefaultGateway has been set in RASENTRY. If this value is set to 0, no subnet route will be created it RASEO_RemoteDefaultGateway has been set in RASENTRY.

AlwaysRequestDNSandWINS : REG_DWORD

Default setting is 0 or FALSE. If this value is set to 1 or TRUE, the client will always request the server to inform it of DNS and WINS server addresses, even when RASEO_SpecificNameServers is set to statically assign DNS and WINS server addresses.

AlwaysSuggestIpAddr : REG_DWORD

Default setting is 0 or FALSE. If this value is set to 1 or TRUE, the client will always suggest an IP address to the server, even when RASEO_SpecificIpAddr has not been set. If this value is set to 0, the client will request an IP address from the server (by sending 0.0.0.0 in its IP_ADDRESS option configuration-request).

AuthMaxTries : REG_DWORD

Default setting is 10. Specifies the maximum number of attempts the Windows Embedded CE RAS server will make to authenticate a client.

AuthMaxFailures : REG_DWORD

Default setting is 3. Specifies the maximum number of bad authentication responses a client may send before the Windows Embedded CE RAS server will terminate the connection.

CryptTypesSupported : REG_DWORD

Default setting is 60. Controls the kind of encryption that PPP will negotiate. The following are valid values:

  • 0 (disables encryption)
  • 20 (enables 40-bit MPPE encryption)
  • 40 (enables 128-bit MPPE encryption)
  • 60 (enables both 40-bit and 128-bit MPPE encryption)

This registry setting is read when a PPP session is created, for example when RasDial is called.

Ee497169.note(en-US,WinEmbedded.60).gifNote:
These values are in hexadecimal numbers.

IPV6Flags : REG_DWORD

Default setting is 0. This registry enables or disables the use of specific IFID generation methods.

The lower four bits can be used to disable the IFID methods by setting them to 1.

Setting bit 2 to ON disables the use of a local area network (LAN) Media Access Control (MAC) address to obtain an IFID.

Setting bit 3 to ON disables the use of the DEVICE_ID structure to generate an IFID. For example, to use DEVICE_ID to get an IFID, set IPV6Flags to 0x0007.

MaxConfigure : REG_DWORD

Default setting is 10. Indicates the number of Configure-Request (CR) packets sent without receiving a valid Configure-ACK, Configure-No Acknowledgement (NAK), or Configure-Reject before assuming that the peer is unable to respond.

MaxFailure : REG_DWORD

Default setting is 5. Indicates the number of Configure-NAK packets sent without sending a Configure-ACK before assuming that the configuration in not converging.

MaxTerminate : REG_DWORD

Default setting is 2. Indicates the number of Terminate-Request packets sent without receiving a Terminate-ACK before assuming that the peer is unable to respond.

MinimumMRU : REG_DWORD

Default setting is 64. Specifies the minimum Maximum-Receive-Unit (MRU). By default, PPP does not allow the peer to negotiate a Link Control Protocol (LCP) MRU less than 64.

RestartTimer : REG_DWORD

Default setting is 3. Indicates the time, in seconds, to wait before resending a Configure-Request or Terminate-Request when no ACK has been received.

See Also

Concepts

Dial-up Registry Settings
Point-to-Point Protocol

Other Resources

DEVICE_ID