NM.SettingPpp¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingPpp(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Point-to-Point Protocol Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingPppobject- Return type:
Creates a new
NM.SettingPppobject with default values.
- get_baud()¶
- Returns:
the
NM.SettingPpp:baudproperty of the setting- Return type:
- get_crtscts()¶
- Returns:
the
NM.SettingPpp:crtsctsproperty of the setting- Return type:
- get_lcp_echo_failure()¶
- Returns:
the
NM.SettingPpp:lcp-echo-failureproperty of the setting- Return type:
- get_lcp_echo_interval()¶
- Returns:
the
NM.SettingPpp:lcp-echo-intervalproperty of the setting- Return type:
- get_mppe_stateful()¶
- Returns:
the
NM.SettingPpp:mppe-statefulproperty of the setting- Return type:
- get_mru()¶
- Returns:
the
NM.SettingPpp:mruproperty of the setting- Return type:
- get_mtu()¶
- Returns:
the
NM.SettingPpp:mtuproperty of the setting- Return type:
- get_no_vj_comp()¶
- Returns:
the
NM.SettingPpp:no-vj-compproperty of the setting- Return type:
- get_noauth()¶
- Returns:
the
NM.SettingPpp:noauthproperty of the setting- Return type:
- get_nobsdcomp()¶
- Returns:
the
NM.SettingPpp:nobsdcompproperty of the setting- Return type:
- get_nodeflate()¶
- Returns:
the
NM.SettingPpp:nodeflateproperty of the setting- Return type:
- get_refuse_chap()¶
- Returns:
the
NM.SettingPpp:refuse-chapproperty of the setting- Return type:
- get_refuse_eap()¶
- Returns:
the
NM.SettingPpp:refuse-eapproperty of the setting- Return type:
- get_refuse_mschap()¶
- Returns:
the
NM.SettingPpp:refuse-mschapproperty of the setting- Return type:
- get_refuse_mschapv2()¶
- Returns:
the
NM.SettingPpp:refuse-mschapv2property of the setting- Return type:
- get_refuse_pap()¶
- Returns:
the
NM.SettingPpp:refuse-papproperty of the setting- Return type:
- get_require_mppe()¶
- Returns:
the
NM.SettingPpp:require-mppeproperty of the setting- Return type:
- get_require_mppe_128()¶
- Returns:
the
NM.SettingPpp:require-mppe-128property of the setting- Return type:
Property Details¶
- NM.SettingPpp.props.baud¶
- Name:
baud- Type:
- Default Value:
0- Flags:
If non-zero, instruct pppd to set the serial port to the specified baudrate. This value should normally be left as 0 to automatically choose the speed.
- NM.SettingPpp.props.crtscts¶
- Name:
crtscts- Type:
- Default Value:
- Flags:
If
True, specify that pppd should set the serial port to use hardware flow control with RTS and CTS signals. This value should normally be set toFalse.
- NM.SettingPpp.props.lcp_echo_failure¶
- Name:
lcp-echo-failure- Type:
- Default Value:
0- Flags:
If non-zero, instruct pppd to presume the connection to the peer has failed if the specified number of LCP echo-requests go unanswered by the peer. The “lcp-echo-interval” property must also be set to a non-zero value if this property is used.
- NM.SettingPpp.props.lcp_echo_interval¶
- Name:
lcp-echo-interval- Type:
- Default Value:
0- Flags:
If non-zero, instruct pppd to send an LCP echo-request frame to the peer every n seconds (where n is the specified value). Note that some PPP peers will respond to echo requests and some will not, and it is not possible to autodetect this.
- NM.SettingPpp.props.mppe_stateful¶
- Name:
mppe-stateful- Type:
- Default Value:
- Flags:
If
True, stateful MPPE is used. See pppd documentation for more information on stateful MPPE.
- NM.SettingPpp.props.mru¶
- Name:
mru- Type:
- Default Value:
0- Flags:
If non-zero, instruct pppd to request that the peer send packets no larger than the specified size. If non-zero, the MRU should be between 128 and 16384.
- NM.SettingPpp.props.mtu¶
- Name:
mtu- Type:
- Default Value:
0- Flags:
If non-zero, instruct pppd to send packets no larger than the specified size.
- NM.SettingPpp.props.no_vj_comp¶
- Name:
no-vj-comp- Type:
- Default Value:
- Flags:
If
True, Van Jacobsen TCP header compression will not be requested.
- NM.SettingPpp.props.noauth¶
- Name:
noauth- Type:
- Default Value:
- Flags:
If
True, do not require the other side (usually the PPP server) to authenticate itself to the client. IfFalse, require authentication from the remote side. In almost all cases, this should beTrue.
- NM.SettingPpp.props.nobsdcomp¶
- Name:
nobsdcomp- Type:
- Default Value:
- Flags:
If
True, BSD compression will not be requested.
- NM.SettingPpp.props.nodeflate¶
- Name:
nodeflate- Type:
- Default Value:
- Flags:
If
True, “deflate” compression will not be requested.
- NM.SettingPpp.props.refuse_chap¶
- Name:
refuse-chap- Type:
- Default Value:
- Flags:
If
True, the CHAP authentication method will not be used.
- NM.SettingPpp.props.refuse_eap¶
- Name:
refuse-eap- Type:
- Default Value:
- Flags:
If
True, the EAP authentication method will not be used.
- NM.SettingPpp.props.refuse_mschap¶
- Name:
refuse-mschap- Type:
- Default Value:
- Flags:
If
True, the MSCHAP authentication method will not be used.
- NM.SettingPpp.props.refuse_mschapv2¶
- Name:
refuse-mschapv2- Type:
- Default Value:
- Flags:
If
True, the MSCHAPv2 authentication method will not be used.
- NM.SettingPpp.props.refuse_pap¶
- Name:
refuse-pap- Type:
- Default Value:
- Flags:
If
True, the PAP authentication method will not be used.
- NM.SettingPpp.props.require_mppe¶
- Name:
require-mppe- Type:
- Default Value:
- Flags:
If
True, MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session. If either 64-bit or 128-bit MPPE is not available the session will fail. Note that MPPE is not used on mobile broadband connections.
- NM.SettingPpp.props.require_mppe_128¶
- Name:
require-mppe-128- Type:
- Default Value:
- Flags:
If
True, 128-bit MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session, and the “require-mppe” property must also be set toTrue. If 128-bit MPPE is not available the session will fail.