Next: , Previous: , Up: Usage   [Contents]


3.8 Account Attributes

Attribute NameTypeDescription
answer_cmdstringModem command for ansering an incoming call (‘ATA’).
ask_passwdbooleanAsk user for password when connecting.
auth_typestringAuthentication type. Valid values: ‘pap/chap’, ‘term’.
busy_respstringModem response ’busy’.
callbackbooleanUse call-back.
callback_init2_cmdstringSecond modem init string when waiting for an incoming call.
callback_init_cmdstringModem init string when waiting for an incoming call.
callback_phone_numberstringPhone number for the provider to call back.
chat_login_promptstringLogin prompt.
chat_passwd_promptstringPassword prompt.
chat_scripttextChat script, see Chat Scripts, chat(8) man page.
commenttextAccount comment.
connect_programstringCommand to execute after connecting (it is passed to the shell).
connect_respstringModem response ’connection’.
default_routebooleanAdd default route.
devicestringDial device file that used to communicate with the peer. Usually this is the serial port which modem connected to.
dial_cmdstringModem command that is used for dialling. Use ‘ATDT’ for touch-tone dialing, or use ‘ATDP’ for pulse dialing.
dial_prefixstringDial prefix.
dial_timeoutintegerMaximum waiting time for modem connection, seconds.
disconnect_programstringCommand to execute after disconnecting (it is passed to the shell).
dns_serverslistDNS server list. The empty list means that the provider specifies the addresses.
error_respstringModem response ’error’.
flow_controlstringFlow 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_cmdstringModem command ’hang up’.
hangup_respstringModem response ’hang up’.
idintegerAccount identifier is a unique integer number. The program automatically assigns a value to this attribute and the user can’t modify it.
init2_cmdstringSecond modem initialization string.
init_cmdstringModem initialization string.
init_respstringModem response to the init string.
ipstringLocal IP address. The empty value means that the provider specifies the address.
lock_devicebooleanLock the modem device.
low_vol_cmdstringModem command that sets speaker volume to ’low’.
maskstringNet mask. The empty value means that the provider specifies the mask.
max_vol_cmdstringModem command that sets speaker volume to the maximum.
min_speedintegerMinimum connection baud rate.
modembooleanUse the modem control lines.
modem_termstringModem string end sequence. Valid values is ‘\r\n’, ‘\r’, ‘\n’.
modem_timeoutintegerMaximum waiting time for modem response, in seconds.
mruintegerMaximum reception unit, in bytes.
mtuintegerMaximum transmission unit, in bytes.
mute_cmdstringModem command that disables the speaker.
namestringAccount name.
noanswer_respstringModem response ’no answer’.
nocarrier_respstringModem response ’no carrier’.
nodialtone_respstringModem response ’no dial tone’.
passwdstringPassword.
phone_numberslistList of phone numbers to dial.
ppp_optionsstringAdditional options passed to pppd, see pppd(8) man page.
ppp_timeoutintegerMaximum PPP waiting time, in seconds.
prompt_timeoutintegerMaximum prompt waiting time, in seconds.
redial_attemptsintegerNumber of redial attempts before notifying the user about failure to establish a connection. Zero value means redial forever.
redial_autobooleanAuto redial when the connection has been lost.
redial_iflistThis 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.
remotestringRemote IP address. The empty value means that the provider will specify the address.
remotenamestringThe 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_respstringModem response ’ring’.
speedstringModem baud rate.
userstringUser name (login).
use_passwordfdbooleanUse pppd passwordfd plugin to pass password to the daemon.
use_scriptstringThis attribute determines what chat script to use. Valid values are: ‘predef-noterm’, ‘predef-term’, ‘predef-auto’, ‘dialin’, ‘custom’, ‘none’.
vol_respstringModem response to the volume setting command.
volume_settingintegerVolume 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 ‘\\’.


Next: , Previous: , Up: Usage   [Contents]