SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Sun Dec 08, 2024 15:40
SMSTools3 Community » Help and support Bottom

[answered] Strange problems

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jun 2010
Location: Finland
Operating system name and version: Linux localhost 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
Version of smsd: Version 3.1.6
Smsd installed from: package repository
Name and model of a modem / phone: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem, ID 1199:6813 Sierra Wireless, Inc.
Interface: USB

I'm testing with two usb 3G modems, Huawei external and Sierra Wireless integrated chip.

Both modems seem to initialize fine (see log below), but sending a message fails with strange error. It looks like smsd might be getting garbage from the modem, at least according to the log? But strangely both devices work similarly...



That . in the log file is actually ascii code 0x1a but the forum mangles it to a dot. What does 1a do there?

This is the message file:


I am able to send SMS using minicom with simple AT commands (AT+CMGF=1, AT+CMGS="+358405227911").

dmesg:


lsusb:


/etc/smsd.conf:


/var/log/smstools/smsd.log:


... after sending message:



Any ideas what might be the problem?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
kortsi wrote
Any ideas what might be the problem?

It's the "overlapped buffers" bug which was found and fixed one week ago. In the version 3.1.9: "When manipulating strings, the coding style assumed that strcpy() and some other functions start copying from the begin of a buffer. That's how those have worked for years, but it's against what the manual of those functions says about overlapped buffers. With 64bit Ubuntu 10.04 running on Intel processor this caused serious failures. The code is reviewed and fixed. "

You need to download and compile the latest version 3.1.11.

Debian has already packaged the version 3.1.10, but I do not know when that is available as an Ubuntu package.

Member
Registered:
Jun 2010
Location: Finland
Topic owner
keke wrote
kortsi wrote
Any ideas what might be the problem?

It's the "overlapped buffers" bug which was found and fixed one week ago. In the version 3.1.9: "When manipulating strings, the coding style assumed that strcpy() and some other functions start copying from the begin of a buffer. That's how those have worked for years, but it's against what the manual of those functions says about overlapped buffers. With 64bit Ubuntu 10.04 running on Intel processor this caused serious failures. The code is reviewed and fixed. "

You need to download and compile the latest version 3.1.11.

Debian has already packaged the version 3.1.10, but I do not know when that is available as an Ubuntu package.

I figured something like this. Oh well, guess it is time to use the compiler. Cheers!

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.