/etc/smsclient/sms_modem is in smsclient 2.0.8z-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | # --------------------------------------------------------------------
# SMS Modem Configuration file
# --------------------------------------------------------------------
{
# ------------------------------------------------------------
MDM_lock_dir = "/var/lock" # Lock directory
MDM_device = "ttyS0" # Modem Device Name
# Modem Device Name Examples:
#
# MDM_device = "term/00m" # UNIXWARE
# MDM_device = "ttyS0" # Linux COM1
# MDM_device = "ttyS1" # Linux COM2
#
# MDM_device = "cua/a" # SOLARIS
# MDM_lock_platform = "SOLARIS" # Set this so that we generate
# Solaris compatible lock file
# names
# ------------------------------------------------------------
# MDM_pause_after_connect = 3000000 # Pause after the connection
# string for 3 seconds
# ------------------------------------------------------------
MDM_command_prefix = "AT"
MDM_init_command = "Z"
MDM_dial_command = "DT"
MDM_number_prefix = "" # Number to dial to get an
# external line.
MDM_set_local_echo_off = "E0"
MDM_disable_echo_test = NO # Test and Set local echo
# YES/NO
# ------------------------------------------------------------
MDM_dtr_hangup_sleep = 3000000 # How many microseconds should
MDM_dtr_init_sleep = 1000000 # I lower DTR during
# init/hangup
# ------------------------------------------------------------
MDM_command_suffix = "\r"
MDM_response_prefix = "\r\n"
MDM_response_suffix = "\r\n"
# ------------------------------------------------------------
MDM_flow_control = "Hardware" # Software or Hardware
# ------------------------------------------------------------
MDM_hangup_command = "H"
MDM_attention_command = "+++"
MDM_soft_hangup_retries = 0 # Number of times I should
# continue sending hangup code
# If 0 then don't bother
# and rely on lowering DTR
MDM_guard_time = 1750000 # Microsecond delay before and
# After transmitting attention command
MDM_esc_time = 125000 # Microsecond delay between each
# character of the attention command
# ------------------------------------------------------------
MDM_lock_action = "BLOCK"
MDM_lock_retry_delay = 5000000 # Microsecond delay to wait before
# retrying for modem lock.
}
# --------------------------------------------------------------------
|