Compartilhar via


PPP Registry Settings (Compact 2013)

3/26/2014

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 (zero. This setting 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.80).gifNote:
This registry key is read when the session is created. Any change to this key affects subsequent PPP sessions but do not affect currently active sessions.

AlwaysAddSubnetRoute : REG_DWORD

Default setting is 0 (zero). If this value is set to 1 or TRUE, the subnet route is added to the route table, even when the RASEO_RemoteDefaultGateway connection option has been set in RASENTRY. If this value is set to 0 (zero), no subnet route is created if the RASEO_RemoteDefaultGateway connection option has been set in RASENTRY.

AlwaysRequestDNSandWINS : REG_DWORD

Default setting is 0 (zero) or FALSE. If this value is set to 1 or TRUE, the client always requests the server to inform it of DNS and WINS server addresses, even when the RASEO_SpecificNameServers connection option is set to statically assign DNS and WINS server addresses.

AlwaysSuggestIpAddr : REG_DWORD

Default setting is 0 (zero) or FALSE. If this value is set to 1 or TRUE, the client always suggests an IP address to the server, even when the RASEO_SpecificIpAddr connection option has not been set. If this setting is 0 (zero), the client requests 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. Defines the maximum number of attempts the Windows Embedded Compact RAS server makes to authenticate a client.

AuthMaxFailures : REG_DWORD

Default setting is 3. Defines the maximum number of bad authentication responses that a client can send before the Windows Embedded Compact RAS server terminates the connection.

CryptTypesSupported : REG_DWORD

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

  • 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.80).gifNote:
These values are in hexadecimal numbers.

IPV6Flags : REG_DWORD

Default setting is 0 (zero). This registry setting 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 that the sending peer sends without receiving a valid Configure-ACK, Configure-No Acknowledgement (NAK), or Configure-Reject packet before the sending peer assumes that the receiving peer is unable to respond.

MaxFailure : REG_DWORD

Default setting is 5. Indicates the number of Configure-NAK packets that the sending peer sends without sending a Configure-ACK packet before the sending peer assumes that the configuration is not converging.

MaxTerminate : REG_DWORD

Default setting is 2. Indicates the number of Terminate-Request packets that the sending peer sends without receiving a Terminate-ACK packet before the sending peer assumes that the receiving 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, that the sending peer waits before resending a Configure-Request or Terminate-Request packet when it has not received an ACK packet.

See Also

Other Resources

Dial-up Networking Reference
DEVICE_ID