Next: Connection Parameters, Previous: Null Modem Link, Up: Usage
Attribute Name | Type | Description
|
answer_cmd | string | Modem command for ansering an incoming call (`ATA').
|
ask_passwd | boolean | Ask user for password when connecting.
|
auth_type | string | Authentication type. Valid values:
`pap/chap', `term'.
|
busy_resp | string | Modem response 'busy'.
|
callback | boolean | Use call-back.
|
callback_init2_cmd | string | Second modem init string when waiting for an incoming call.
|
callback_init_cmd | string | Modem init string when waiting for an incoming call.
|
callback_phone_number | string | Phone number for the provider to call back.
|
chat_login_prompt | string | Login prompt.
|
chat_passwd_prompt | string | Password prompt.
|
chat_script | text | Chat script, see Chat Scripts,
chat(8) man page.
|
comment | text | Account comment.
|
connect_program | string | Command to execute after connecting (it is passed to the shell).
|
connect_resp | string | Modem response 'connection'.
|
default_route | boolean | Add default route.
|
device | string | Dial device file that used to communicate with the peer.
Usually this is the serial port which modem connected to.
|
dial_cmd | string | Modem command that is used for dialling.
Use `ATDT' for touch-tone dialing,
or use `ATDP' for pulse dialing.
|
dial_prefix | string | Dial prefix.
|
dial_timeout | integer | Maximum waiting time for modem connection, seconds.
|
disconnect_program | string | Command to execute after disconnecting (it is passed to the shell).
|
dns_servers | list | DNS server list.
The empty list means that the provider specifies the addresses.
|
error_resp | string | Modem response 'error'.
|
flow_control | string | Flow control.
Valid values are: `crtscts', `cdtrcts', `xonxoff',
`no-change'.
`crtscts' - hardware flow control using the RTS and CTS signals
in the RS-232 interface.
`cdtrcts' - non-standard hardware flow control using the
DTR and CTS signals.
`xonxoff' - software flow control.
The `no-change' value means that flow control setting for the
serial port is left unchanged.
|
hangup_cmd | string | Modem command 'hang up'.
|
hangup_resp | string | Modem response 'hang up'.
|
id | integer | Account identifier is a unique integer number.
The program automatically assigns a value to this attribute
and the user can't modify it.
|
init2_cmd | string | Second modem initialization string.
|
init_cmd | string | Modem initialization string.
|
init_resp | string | Modem response to the init string.
|
ip | string | Local IP address.
The empty value means that the provider specifies the address.
|
lock_device | boolean | Lock the modem device.
|
low_vol_cmd | string | Modem command that sets speaker volume to 'low'.
|
mask | string | Net mask.
The empty value means that the provider specifies the mask.
|
max_vol_cmd | string | Modem command that sets speaker volume to the maximum.
|
min_speed | integer | Minimum connection baud rate.
|
modem | boolean | Use the modem control lines.
|
modem_term | string | Modem string end sequence.
Valid values is `\r\n', `\r', `\n'.
|
modem_timeout | integer | Maximum waiting time for modem response, in seconds.
|
mru | integer | Maximum reception unit, in bytes.
|
mtu | integer | Maximum transmission unit, in bytes.
|
mute_cmd | string | Modem command that disables the speaker.
|
name | string | Account name.
|
noanswer_resp | string | Modem response 'no answer'.
|
nocarrier_resp | string | Modem response 'no carrier'.
|
nodialtone_resp | string | Modem response 'no dial tone'.
|
passwd | string | Password.
|
phone_numbers | list | List of phone numbers to dial.
|
ppp_options | string | Additional options passed to pppd, see
pppd(8) man page.
|
ppp_timeout | integer | Maximum PPP waiting time, in seconds.
|
prompt_timeout | integer | Maximum prompt waiting time, in seconds.
|
redial_attempts | integer | Number of redial attempts before notifying the user
about failure to establish a connection. Zero value means
redial forever.
|
redial_auto | boolean | Auto redial when the connection has been lost.
|
redial_if | list | This attribute controls whether or not repeat dial attempt
depends on result of previous attempt. List can contain following
values: `no-dialtone', `auth-fail'.
`no-dialtone' allows redialing if previous attempt result is
no dial tone.
`auth-fail' allows redialing if previous attempt result is
authentication fail.
|
remote | string | Remote IP address.
The empty value means that the provider will specify the address.
|
remotename | string |
The assumed name of the remote system for authentication purposes.
When authentication type is `pap/chap' and no passwordfd plugin
is used, pppd looks for password in file pap-secrets
or chap-secrets using this name.
See details on pppd(8) man page.
|
ring_resp | string | Modem response 'ring'.
|
speed | string | Modem baud rate.
|
user | string | User name (login).
|
use_passwordfd | boolean | Use pppd passwordfd plugin to pass password to the daemon.
|
use_script | string | This attribute determines what chat script to use.
Valid values are: `predef-noterm', `predef-term',
`predef-auto', `dialin', `custom', `none'.
|
vol_resp | string | Modem response to the volume setting command.
|
volume_setting | integer | Volume setting. Valid values are 0 to 2.
|
Note: to insert new line and carriage return characters in modem init and response strings use backslash escape sequences `\n' and `\r' respectively. To insert backslash use `\\'.