|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Nov 21, 2024 22:40 |
This topic is locked
Page: 1
Author |
Post |
|
#1 Thu May 19, 2011 13:15, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
|
Operating system name and version: Ubuntu 11.04 Version of smsd: 3.1.14. Smsd installed from: sources / package repository / from elsewhere... Name and model of a modem / phone: Huawey E1756 / Movistar /3G Interface: USB hello community, my problem is: to sent command : ~/Desktop/smstools3/scripts$ sudo sendsms 584268997325 ' hello world SMS 2011' this sms not is sent. file .conf: file log: please help me !!!! i need set init?
|
|
#2 Thu May 19, 2011 14:19, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
my internet connection is through this device 3G.
|
|
#3 Thu May 19, 2011 17:40, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Use dmesg to see what ports are provided for this device. If there is more than one, try to use other than ttyUSB0. See also this topic: SMS and data connection, if it gives any glue.
|
|
#4 Thu May 19, 2011 19:03, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
|
|
#5 Thu May 19, 2011 19:10, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
using /dev/ttyUSB1.conf executing:~/Desktop/smstools3/scripts$ sudo sendsms +584268994651 'HELLO SMS WORLD' result .log : « Last edit by apositivo on Thu May 19, 2011 19:12, 164 months ago. »
|
|
#6 Thu May 19, 2011 19:15, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
Using /dev/ttyUSB2 .conf executing:~/Desktop/smstools3/scripts$ sudo sendsms +584268994651 'HELLO SMS WORLD' result .log :
|
|
#7 Thu May 19, 2011 19:18, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
I honestly do not understand where the error may be a simple and easy configuration : ( please help!
|
|
#8 Thu May 19, 2011 19:53, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Use /dev/ttyUSB1 as it works.
The sending fails probably because of the missing information of SMSC (Service Center). Usually this is stored in SIM, but not in all cases. If you do not know what is the correct number of SMSC for that operator, put the SIM into your handset, and check the setting with it. The number might be something like 584240000954, but check it before trying.
The modem setting in the smsd.conf is: smsc = number of SMSC in international format without the + sign
You also have some unexpected input in the log. First try with a modem setting: init = AT^CURC=0
If unexpected input still continues, add a setting: init2 = AT^BOOT=0,0
Also, as this device does not support Bit Error Rate, add a setting: signal_quality_ber_ignore = yes
|
|
#9 Thu May 19, 2011 23:04, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
hello my friend, any question, this post cant help? http://preguntaslinux.org/howto-modem-huawei-e166-3g-de-claro-en-t-5131.html what do you think ? 24 hours trying sent SMS in UBUNTU and all is FAIL with this modemin windows this modem work perfect !!!!
|
|
#10 Fri May 20, 2011 15:30, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
try with minicom and cutecom with AT commands .... the modem not sent SMS In other web pages post: *** modify sudo gedit /etc/usb_modeswitch.conf write: # Huawei E1692/E1756 DefaultVendor= 0x12d1 DefaultProduct= 0x1446 TargetVendor= 0x12d1 TargetProduct= 0x140c MessageContent="55534243000000000000000000000011060000000000000000000000000000" CheckSuccess=5 modify /etc/udev/rules.d/ write: SUBSYSTEM=="block", ACTION=="add", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1446", OPTIONS="ignore_device" SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch" but i think .... my ubuntu version is 11.04.... this recomendation is for ubuntu 9.04 , 9.10 what do you think my friend ? what other try ????
|
|
#11 Fri May 20, 2011 16:56, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
The usb_modeswitch has nothing to do with your problem. Please do not waste your time with it, as the /dev/ttyUSB1 already works properly. In the post #8 there was suggestions what to to. Did you read that post, and checked SMSC? apositivo wrote in windows this modem work perfect !!!!
What do you mean with this? In Windows you tried to send SMS using some program and the same SIM, and the sending was successful, right? Please answer, it is important to know if the SIM works. What was that program, and was there SMSC set in the settings of that program? If you do not want to check what is the correct number of SMSC ( as mentioned in post #8 ), I cannot help you with sending problems. In any case, as you can see from the log, receiving of SMS and anything else than sending works, meaning that there is no problem with Ubuntu, with USB or with udev.
|
|
#12 Fri May 20, 2011 17:10, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
OHHHH MY GOD !!!!!!
i wrote:"in windows this modem work perfect !!!!'
not..... is my error !!!!! Excuse please !!!!!
i want say: "in windows OTHER modem ( mobile phone sony ericsson c510) work perfect !!!!"
Really, today 05-20-2011, Huawey E1756 NOT WORK in WINDOWS and UBUNTU 11.04
Final testing and I'll post the code....
if not work . . . of course ... change the modem !!!!
|
|
#13 Fri May 20, 2011 17:18, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
.conf .log « Last edit by apositivo on Fri May 20, 2011 17:23, 164 months ago. »
|
|
#14 Fri May 20, 2011 17:22, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
a friend with FEDORA try this with Huawei E1756.
http://preguntaslinux.org/howto-modem-huawei-e166-3g-de-claro-en-t-5131.html
.. he say work!!!1 . . . :S
what dou you think mr keke ?
|
|
#15 Fri May 20, 2011 17:45, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
My ultimate option:
AT COMMAND with minicom:
AT AT+CMGF=1 AT+CSCA="+584240000954" AT+CMGW="584269984651" > A simple demo of SMS text messaging. (When finished, press Ctrl+z of the keyboard.) AT+CMSS=1 (the number is from returned value of CMGW)
Result:
AT+CMGF=1 OK
AT+CSCA="+584240000954" OK
AT+CMGW="584269984651" > A simple demo of SMS text messaging. (When finished, press Ctrl+z of the keyboard.) > > > > >
and logic..... not send SMS......
|
|
#16 Fri May 20, 2011 18:50, 164 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Did you check what is the correct number of SMSC using your handset? I see that you have tried to use that number which I mentioned, but as I said, it is not sure if it's a correct number. With your handset you can easily check what is the correct number, and it does not take 24 hours... In many cases, CMS 500 with Huawei is caused by the incorrect or missing number of SMSC. It is very important that you check the case now, it not already done with care. Also, when the SIM (from modem) is in your handset, try to send SMS with it. This is important. You should be able to send SMS, otherwise the SIM is broken, or not activated, or pre-paid with zero balance. You have a handset, right? And it has a different SIM than what is in your modem? If this is the case, you could check what is the number of SMSC of the SIM which usually is in the handset, and then put that SIM to your modem, and set smsc, and try sending.
|
|
#17 Fri May 20, 2011 19:29, 164 months ago.
|
Member
Registered: May 2011
Location: apositivo, Venezuela
Topic owner
|
hi, solved !!!!!
incredible !!!!!
THE SIM was damaged !!!!!
I went to a service center with my SIM card, and I traded it for a new, smart, everything works perfect, thanks for the support.
soon I'll be helping on many topics related to this excellent program.
keke thanks!!
|
This topic is locked
Page: 1
Time in this board is UTC.
|
|
|
|
|
|
|