|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Fri Mar 14, 2025 18:30 |
Page: 1
Keywords: Mode: All keywords (AND) |
Mon Aug 22, 2011 08:47
|
auch: A bit more messing around with the configuration and trying to modify I can see that the Portech doesn't handle the username/input part correctly through smstools.
This configuration seems to repeat the username and even in the password box until it can't accept any more characters, causing error.
telnet_login_prompt = username:^M
telnet_login = voip^M
#telnet_password_prompt = password:
#telnet_password = 1234
^M is ctrl+v ctrl+m which I got from another bugreport thread on the Portech not accepting end of line correctly.
Anyone got any suggestions on how to get it to correctly accept the username and password?
2011-08-22 16:43:23,6, GSM1: Checking if modem is ready
2011-08-22 16:43:24,7, GSM1: -> AT
2011-08-22 16:43:24,7, GSM1: Command is sent, waiting for the answer
2011-08-22 16:43:39,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-08-22 16:43:39,7, GSM1: <- username: voip voip voip voip voip voip voip voip voip voip voip voip voip voip voip vpassword: ****************************************************************************bad username or password!!!
2011-08-22 16:43:39,7, GSM1: ->
2011-08-22 16:43:39,7, GSM1: Command is sent, waiting for the answer
2011-08-22 16:43:44,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-08-22 16:43:44,7, GSM1: <-
|
Mon Aug 22, 2011 05:10
|
auch: Running into the same issue with Portech mv-370 using smstools latest version.
Did you ever resolve it?
I can telnet to the MV370 and issue the commands manually and it works fine.
Configs
# /etc/smsd.conf
# Description: Main configuration file for the smsd
devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 7
[GSM1]
device = @172.1.1.253:23
telnet_login_prompt = username:
telnet_password_prompt = password:
telnet_login = voip
telnet_password = 1234
incoming = no
device_open_alarm_after = 5
socket_connection_alarm_after = 5
init = module1
Startup log
2011-08-22 12:50:52,2, smsd: Smsd v3.1.14 started.
2011-08-22 12:50:52,2, smsd: Running as root:root.
2011-08-22 12:50:52,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.89Jux2 /tmp/smsd_data.kwnqDt
2011-08-22 12:50:52,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-08-22 12:50:52,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-08-22 12:50:52,5, smsd: Outgoing file checker has started. PID: 27339.
2011-08-22 12:50:52,7, smsd: All PID's: 27339,27341
2011-08-22 12:50:52,5, GSM1: Modem handler 0 has started. PID: 27341. Will only send messages.
2011-08-22 12:50:52,6, GSM1: Checking if modem is ready
2011-08-22 12:50:52,7, GSM1: -> AT
2011-08-22 12:50:52,7, GSM1: Command is sent, waiting for the answer
2011-08-22 12:50:58,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-08-22 12:50:58,7, GSM1: <- username:
2011-08-22 12:50:59,7, GSM1: ->
2011-08-22 12:50:59,7, GSM1: Command is sent, waiting for the answer
2011-08-22 12:51:04,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-08-22 12:51:04,7, GSM1: <- password:
2011-08-22 12:51:04,7, GSM1: -> AT
2011-08-22 12:51:04,7, GSM1: Command is sent, waiting for the answer
2011-08-22 12:51:09,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-08-22 12:51:09,7, GSM1: <- ** bad username or password!!!
2011-08-22 12:51:10,7, GSM1: ->
2011-08-22 12:51:10,7, GSM1: Command is sent, waiting for the answer
2011-08-22 12:51:15,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-08-22 12:51:15,7, GSM1: <-
2011-08-22 12:51:15,7, GSM1: -> AT
2011-08-22 12:51:15,7, GSM1: Command is sent, waiting for the answer
2011-08-22 12:51:20,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
|
Page: 1
Time in this board is UTC.
|
|
|
 |
|
 |
|