NM.SettingPpp

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingPpp NM.SettingPpp NM.Setting->NM.SettingPpp

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_baud ()

get_crtscts ()

get_lcp_echo_failure ()

get_lcp_echo_interval ()

get_mppe_stateful ()

get_mru ()

get_mtu ()

get_no_vj_comp ()

get_noauth ()

get_nobsdcomp ()

get_nodeflate ()

get_refuse_chap ()

get_refuse_eap ()

get_refuse_mschap ()

get_refuse_mschapv2 ()

get_refuse_pap ()

get_require_mppe ()

get_require_mppe_128 ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

baud

int

r/w/en

crtscts

bool

r/w/en

lcp-echo-failure

int

r/w/en

lcp-echo-interval

int

r/w/en

mppe-stateful

bool

r/w/en

mru

int

r/w/en

mtu

int

r/w/en

no-vj-comp

bool

r/w/en

noauth

bool

r/w/en

nobsdcomp

bool

r/w/en

nodeflate

bool

r/w/en

refuse-chap

bool

r/w/en

refuse-eap

bool

r/w/en

refuse-mschap

bool

r/w/en

refuse-mschapv2

bool

r/w/en

refuse-pap

bool

r/w/en

require-mppe

bool

r/w/en

require-mppe-128

bool

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingPpp(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingPppClass

Point-to-Point Protocol Settings

classmethod new()
Returns:

the new empty NM.SettingPpp object

Return type:

NM.Setting

Creates a new NM.SettingPpp object with default values.

get_baud()
Returns:

the NM.SettingPpp :baud property of the setting

Return type:

int

get_crtscts()
Returns:

the NM.SettingPpp :crtscts property of the setting

Return type:

bool

get_lcp_echo_failure()
Returns:

the NM.SettingPpp :lcp-echo-failure property of the setting

Return type:

int

get_lcp_echo_interval()
Returns:

the NM.SettingPpp :lcp-echo-interval property of the setting

Return type:

int

get_mppe_stateful()
Returns:

the NM.SettingPpp :mppe-stateful property of the setting

Return type:

bool

get_mru()
Returns:

the NM.SettingPpp :mru property of the setting

Return type:

int

get_mtu()
Returns:

the NM.SettingPpp :mtu property of the setting

Return type:

int

get_no_vj_comp()
Returns:

the NM.SettingPpp :no-vj-comp property of the setting

Return type:

bool

get_noauth()
Returns:

the NM.SettingPpp :noauth property of the setting

Return type:

bool

get_nobsdcomp()
Returns:

the NM.SettingPpp :nobsdcomp property of the setting

Return type:

bool

get_nodeflate()
Returns:

the NM.SettingPpp :nodeflate property of the setting

Return type:

bool

get_refuse_chap()
Returns:

the NM.SettingPpp :refuse-chap property of the setting

Return type:

bool

get_refuse_eap()
Returns:

the NM.SettingPpp :refuse-eap property of the setting

Return type:

bool

get_refuse_mschap()
Returns:

the NM.SettingPpp :refuse-mschap property of the setting

Return type:

bool

get_refuse_mschapv2()
Returns:

the NM.SettingPpp :refuse-mschapv2 property of the setting

Return type:

bool

get_refuse_pap()
Returns:

the NM.SettingPpp :refuse-pap property of the setting

Return type:

bool

get_require_mppe()
Returns:

the NM.SettingPpp :require-mppe property of the setting

Return type:

bool

get_require_mppe_128()
Returns:

the NM.SettingPpp :require-mppe-128 property of the setting

Return type:

bool

Property Details

NM.SettingPpp.props.baud
Name:

baud

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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 to False.

NM.SettingPpp.props.lcp_echo_failure
Name:

lcp-echo-failure

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, stateful MPPE is used. See pppd documentation for more information on stateful MPPE.

NM.SettingPpp.props.mru
Name:

mru

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, Van Jacobsen TCP header compression will not be requested.

NM.SettingPpp.props.noauth
Name:

noauth

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, do not require the other side (usually the PPP server) to authenticate itself to the client. If False, require authentication from the remote side. In almost all cases, this should be True.

NM.SettingPpp.props.nobsdcomp
Name:

nobsdcomp

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, BSD compression will not be requested.

NM.SettingPpp.props.nodeflate
Name:

nodeflate

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, “deflate” compression will not be requested.

NM.SettingPpp.props.refuse_chap
Name:

refuse-chap

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, the CHAP authentication method will not be used.

NM.SettingPpp.props.refuse_eap
Name:

refuse-eap

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, the EAP authentication method will not be used.

NM.SettingPpp.props.refuse_mschap
Name:

refuse-mschap

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, the MSCHAP authentication method will not be used.

NM.SettingPpp.props.refuse_mschapv2
Name:

refuse-mschapv2

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, the MSCHAPv2 authentication method will not be used.

NM.SettingPpp.props.refuse_pap
Name:

refuse-pap

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

If True, the PAP authentication method will not be used.

NM.SettingPpp.props.require_mppe
Name:

require-mppe

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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 to True. If 128-bit MPPE is not available the session will fail.