set mobileppp

Purpose

Configures Point-to-Point Protocol (PPP) settings used for mobile connections, or displays current mobile PPP settings.

Required permissions

For Digi products with two or more users, to use this command, permissions must be set to set permissions s‑ppp=read to display settings, and set permissions s‑ppp=rw to display and configure settings. See set permissions for details on setting user permissions for commands.

Syntax

set mobileppp index=1-2
[state={enabled|disabled}]
[auth_method={none|pap|chap|both}]
[remote_address={IP address|negotiated}]
[local_address={IP address|negotiated}]
[address_mask=IP address mask]
[default_gateway={yes|no}]
[ipcp_dns_enabled={on|off}]
[protocol_compression={on|off}]
[address_compression={on|off}]
[header_compression={on|off}]
[lcp_keepalive={on|off}]
[lcp_ka_quiet_time=10-86400 seconds]
[lcp_ka_max_missed_replies=2-255; 0=ignore missed replies]
[asyncmap=hex string]
[chap_id=CHAP id]
[chap_key=CHAP key]
[pap_id=PAP id]
[pap_password=PAP password]
[mru=1500-2048]
[mtu=1500-2048]
[redial_attempts=0-100; 0=infinite]
[redial_delay=1-64000]
[rx_idle_timeout=0-86400; 0=off]
[tx_idle_timeout=(0-86400; 0=off]
[init_script=”chat script”]
[dial_script=”chat script”]
[login_script=”chat script”]
[n{1-4}=phone number]
[proxy_arp={on|off}]
[device_description=”description text”]
[passive={on|off}]

Options

index=1-2

The index number of the SIM used for the mobile PPP connection. This index number is required on dual-SIM devices.

state={enabled|disabled}

The state of the interface. The default is disabled.

auth_method={none|PAP|CHAP|both}

Determines whether authentication is required for mobile PPP connections and, if so, what kind.

none

The remote user does not require PPP authentication.

pap

Password Authentication Protocol (PAP) authentication is required.

chap

Challenge Handshake Authentication Protocol (CHAP) authentication is required.

both

Both CHAP and PAP authentication are required.

The default is none. CHAP authentication works between two Digi devices. CHAP will be negotiated to PAP for all other connections.

remote_address={ip address|negotiated}

The address of the peer at the other end of the mobile PPP connection. Either a specific address or the keyword “negotiated” can be specified; negotiated means that the address will be accepted from the peer. An IP address of all zeroes is equivalent to specifying the keyword negotiated.

local_address={ip address|negotiated}

The IP address of the local end of the mobile PPP connection. Enter either a specific address or the keyword negotiated; negotiated means that the address will be accepted from the peer. An IP address of all zeros is equivalent to specifying the keyword negotiated.

address_mask=ip address mask

The IP mask to apply to the address specified on the remote_address and local_address options. Specifying a specific IP address on the remote_address and local_address options modifies the meaning of the IP address for routing purposes. The default is 255.255.255.255.

default_gateway={yes|no}

Selects whether to use the PPP interface as the default route. The default is no.

ipcp_dns_enabled={on|off}

Enables or disables the IPCP (PPP Internet Protocol Control Protocol) acquisition of DNS IP addresses. This option is enabled by default to preserve prior behavior.

protocol_compression={on|off}

Specifies whether the device server attempts to negotiate protocol compression on mobile PPP connections.

on

The device server attempts to negotiate protocol compression on mobile PPP connections.

off

The device server will not negotiate protocol compression.

The default is on.

address_compression={on|off}

Specifies whether the device server attempts to negotiate address compression on mobile PPP connections.

on

The device server attempts to negotiate address compression.

off

The device server does not attempt to negotiate address compression.

The default is on.

header_compression={on|off}

Specifies whether the device server attempts to negotiate IP protocol header compression on mobile PPP connections. This is commonly referred to as Van Jacobsen (VJ) header compression.

on

The device server attempts to negotiate IP protocol header compression.

off

The device server does not attempt to negotiate IP protocol header compression.

The default is on.

lcp_keepalive={on|off}

Specifies whether the Digi device sends Link Control Protocol (LCP) echo requests after a “quiet” interval, to test the PPP link and/or keep it alive. “Quiet” means not having received any bytes over the PPP link for a specified time interval, which is set by the lcp_ka_quiet_time option. In PPP networks that support LCP echoes, an LCP echo reply is returned by the remote end of the mobile PPP connection.

 

Even if LCP keepalives are disabled in this device (by lcp_keepalive=off), the device still replies to LCP echo request messages it may receive from the remote side of the mobile PPP connection by sending an LCP echo reply message. But the device itself will not originate any LCP echo request messages.

The options are:

on

The device server sends LCP echo requests after a configurable “quiet” interval, set by the lcp_ka_quiet_time option.

off

The device server does not send LCP echo requests.

lcp_ka_quiet_time=10-86400 seconds

Specifies the “quiet” interval, in seconds, after which the device server sends an LCP echo request. “Quiet” means not having received any bytes over the PPP link for the interval specified by this option.

lcp_ka_max_missed_replies={2-255|0=ignore missed replies}

Specifies how many consecutive echo replies may be missed before the device server disconnects the PPP link. A value of 0 (zero) specifies that the device server should not act on missed LCP echo replies by disconnecting the PPP link. Note that if bytes of any kind, LCP echo reply or otherwise, are received, the PPP link is deemed to be active, and the “missed LCP echo replies” count is reset to zero.

asyncmap=hex string

A mask for PPP connections that defines which of the 32 asynchronous control characters to transpose. These characters, in the range 0x00 to 0x1f, are used by some devices to implement software flow control. These devices may misinterpret PPP transmission of control characters and close the link. This mask tells PPP which characters to transpose.

The default is FFFF, which means transpose all 32 control characters. Any combination is valid. The following are the masks most likely used:

FFFFFFFF

Transpose all control characters.

00000000

Transpose none.

000A0000

Transpose Ctrl-Q and Ctrl-S.

chap_id=CHAP id

A character string that identifies the mobile PPP user using CHAP authentication. This is equivalent to a user or login name. The string must be 32 or fewer characters and must be recognized by the peer.

chap_key=CHAP key

A character string that authenticates the mobile PPP user using CHAP authentication. This is equivalent to a password. The string must be 16 or fewer characters and must be recognized by the peer.

pap_id=PAP id

A character string that identifies the mobile PPP user using PAP authentication. This is equivalent to a user (or login) name. The string must be 32 or fewer characters and must be recognized by the peer.

pap_password=PAP password

A character string that authenticates the mobile PPP user using PAP authentication. This is equivalent to a password. The string must be 16 or fewer characters and must be recognized by the peer.

mru=1500-2048

The maximum received unit (MRU), or frame size, in bytes, to be received from the other end of the PPP connection. This is a negotiated value. The default is 1500 bytes.

mtu=1500-2048

The maximum transmission unit (MTU), or frame size, in bytes, to use for this PPP outbound connection. For PPP connections, the MTU is negotiated, so enter 1500, the largest size device server permits the remote host to send. For PPP users, the range is 128 to 1500 bytes, and the default is 1500 bytes.

redial_attempts=0-100; 0=infinite

The number of times the firmware attempts to redial before giving up.

redial_delay=1-64000

The time, in seconds, to wait after an unsuccessful dial attempt.

rx_idle_timeout=0-86400; 0=off

The time, in seconds, after which if no data has been received over the link, the PPP connection is disconnected.

tx_idle_timeout=(0-86400; 0=off

The time, in seconds, after which if no data has been transmitted over the link, the PPP connection is disconnected.

init_script=”chat script

An initialization script, run once at interface startup. For example:

init_script=”'' ATZ OK \c”

dial_script=”chat script

A dialing script, used any time a number is dialed for the interface. For example:

dial_script=”'' ATDT\T CONNECT \c”
login_script=”chat script”

A login script, used to log in to the remote system on the other end of the mobile PPP connection. For example:

login_script=”ogin: <username> assword: <password>”

n{1-4}=phone number

Up to four phone numbers to dial to request a mobile PPP connection. The phone numbers are dialed sequentially.

proxy_arp={on|off}

When enabled, performs proxy ARP for the remote peer of the mobile PPP session, so that the peer can be made to appear on our local network. It performs that proxy ARP on the subnet to which the IP address assigned to that peer belongs.

device_description=”description text

An alternate string used for SNMP purposes. If this option value is set, it is used in the customized SNMP description for this interface. If not specified in the settings, the PPP device name, for example, ppp4, is used instead. This string allows for SNMP-produced information to fit better with network management software that prefers identification strings to be in a format, such as mobile0.

See also