fredobaldo: #lsusb
Bus 002 Device 006: ID 04e2:1414 Exar Corp.
Bus 002 Device 005: ID 04e2:1414 Exar Corp.
Bus 002 Device 004: ID 04e2:1414 Exar Corp.
Bus 002 Device 003: ID 04e2:1414 Exar Corp. USB 2.0 Hub [MTT]
Bus 002 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
|
fredobaldo: Nothing on wvdial:
#wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3 S4 S5 S6 S7
Modem Port Scan<*1>: S8 S9 S10 S11 S12 S13 S14 S15
Modem Port Scan<*1>: S16 S17 S18 S19 S20 S21 S22 S23
Modem Port Scan<*1>: S24 S25 S26 S27 S28 S29 S30 S31
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://alumnit.ca/wiki/?WvDial
|
fredobaldo: Operating system name and version: Ubuntu 20.04.4 LTS
Version of smsd: Just installed (default with apt-get on this version of OS)
Smsd installed from: apt-get install
Name and model of a modem / phone:
Interface: USB
Hi,
Need help to send and receive SMS with this modem SMS 16 ports:
https://fr.aliexpress.com/item/4000462979094.html?_randl_currency=EUR&_randl_shipto=FR&src=google&src=google&albch=shopping&acnt=248-630-5778&slnk=&plac=&mtctp=&albbt=Google_7_shopping&albagn=888888&isSmbAutoCall=false&needSmbHouyi=false&albcp=11446264977&albag=108768739141&trgt=906403778784&crea=fr4000462979094&netw=u&device=c&albpg=906403778784&albpd=fr4000462979094&gclid=CjwKCAiA4KaRBhBdEiwAZi1zzqNsWb_sXUzeOeWvH4G7qbqfORJVQyG-b-AHfTK9yPTQC_M4624OrhoCNvwQAvD_BwE&gclsrc=aw.ds&aff_fcid=472637c3b5534bf98512415ba8b162ab-1646902824349-06027-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=472637c3b5534bf98512415ba8b162ab-1646902824349-06027-UneMJZVf&terminal_id=83e22db8e4d243d3b9c7cfd41aaa58e7&afSmartRedirect=y
#ls /dev/tty* -al
crw-rw-rw- 1 root tty 5, 0 mars 10 09:55 /dev/tty
crw--w---- 1 root tty 4, 0 mars 10 09:04 /dev/tty0
crw--w---- 1 root tty 4, 1 mars 10 09:04 /dev/tty1
crw--w---- 1 root tty 4, 10 mars 10 09:04 /dev/tty10
crw--w---- 1 root tty 4, 11 mars 10 09:04 /dev/tty11
crw--w---- 1 root tty 4, 12 mars 10 09:04 /dev/tty12
...
crw-rw---- 1 root dialout 266, 0 mars 10 09:55 /dev/ttyXRUSB0
crw-rw---- 1 root dialout 266, 1 mars 10 09:55 /dev/ttyXRUSB1
crw-rw---- 1 root dialout 266, 10 mars 10 09:04 /dev/ttyXRUSB10
crw-rw---- 1 root dialout 266, 11 mars 10 09:04 /dev/ttyXRUSB11
crw-rw---- 1 root dialout 266, 12 mars 10 09:04 /dev/ttyXRUSB12
crw-rw---- 1 root dialout 266, 13 mars 10 09:04 /dev/ttyXRUSB13
crw-rw---- 1 root dialout 266, 14 mars 10 09:04 /dev/ttyXRUSB14
crw-rw---- 1 root dialout 266, 15 mars 10 09:04 /dev/ttyXRUSB15
crw-rw---- 1 root dialout 266, 2 mars 10 09:55 /dev/ttyXRUSB2
crw-rw---- 1 root dialout 266, 3 mars 10 09:04 /dev/ttyXRUSB3
crw-rw---- 1 root dialout 266, 4 mars 10 09:04 /dev/ttyXRUSB4
crw-rw---- 1 root dialout 266, 5 mars 10 09:04 /dev/ttyXRUSB5
crw-rw---- 1 root dialout 266, 6 mars 10 09:04 /dev/ttyXRUSB6
crw-rw---- 1 root dialout 266, 7 mars 10 09:04 /dev/ttyXRUSB7
crw-rw---- 1 root dialout 266, 8 mars 10 09:04 /dev/ttyXRUSB8
crw-rw---- 1 root dialout 266, 9 mars 10 09:04 /dev/ttyXRUSB9
This 16 last lines disapear when the modem is unplugged.
#cat /etc/smsd.conf
devices = GSM0,GSM1,GSM2
#,GSM3,GSM4,GSM5,GSM6,GSM7,GSM8,GSM9,GSM10,GSM11,GSM12,GSM13,GSM14,GSM15
checked = /MYPATH/sms/checked
failed = /MYPATH/sms/failed
incoming = /MYPATH/sms/incoming
outgoing = /MYPATH/sms/outgoing
sent = /MYPATH/sms/sent
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
stats = /var/log/smstools/smsd_stats
receive_before_send = no
autosplit = 3
[queues]
GSM0 = /mnt/200_WWW/sms/GSM0
GSM1 = /mnt/200_WWW/sms/GSM1
GSM2 = /mnt/200_WWW/sms/GSM2
#GSM3 = /mnt/200_WWW/sms/GSM3
#GSM4 = /mnt/200_WWW/sms/GSM4
#GSM5 = /mnt/200_WWW/sms/GSM5
#GSM6 = /mnt/200_WWW/sms/GSM6
#GSM7 = /mnt/200_WWW/sms/GSM7
#GSM8 = /mnt/200_WWW/sms/GSM8
#GSM9 = /mnt/200_WWW/sms/GSM9
#GSM10 = /mnt/200_WWW/sms/GSM10
#GSM11 = /mnt/200_WWW/sms/GSM11
#GSM12 = /mnt/200_WWW/sms/GSM12
#GSM13 = /mnt/200_WWW/sms/GSM13
#GSM14 = /mnt/200_WWW/sms/GSM14
#GSM15 = /mnt/200_WWW/sms/GSM15
[GSM0]
device = /dev/ttyXRUSB0
incoming = yes
baudrate = 19200
queues = GSM0
[GSM1]
device = /dev/ttyXRUSB1
incoming = yes
baudrate = 19200
queues = GSM1
[GSM2]
device = /dev/ttyXRUSB2
incoming = yes
baudrate = 19200
queues = GSM2
#cat /var/log/smstools/smsd.log:
...
2022-03-10 09:46:00,3, GSM1: Modem is not ready to answer commands (Timeouts: 22)
2022-03-10 09:46:00,3, GSM0: Modem is not ready to answer commands (Timeouts: 22)
2022-03-10 09:46:00,3, GSM2: Modem is not ready to answer commands (Timeouts: 22)
Text File Putteed on "outgoing" go on GMS0 or GSM1 or GSM2 and least 3 mins goes on failed with mention: "Modem initialization failed"
Someone could help me ?
|