i want to send sms with sintax like this:
gammu-smsd-inject TEXT 08982242410 -text "hallo"
and output is success connection to database. but number 08982242410 is not receive sms. when i try smsdlog, is getting error like this:
Mon 2014/11/24 04:31:08 gammu-smsd[11319]: Starting phone communication...
Mon 2014/11/24 04:31:08 gammu-smsd[11319]: Error at init connection: Error opening device, it doesn't exist. (DEVICENOTEXIST[4])
Mon 2014/11/24 04:31:08 gammu-smsd[11319]: Going to 30 seconds sleep because of too much connection errors
can you help me how solve this problem?
thank you.
I know I come a bit late, but...Are you sure you have setup your gammu to the correct USB GSM modem port? I mean... You have configured your gammu to a USB port. For example, check in your config file (usually /etc/gammurc ) the port that you have configured your modem:
That would mean, that your device should be configured in that port. Now the first thing you would have to check is if your device is connected. For checking the usb connected devices, lsusb will help you to find out what you have connected:
As you see, my last device is my GSM USB modem (a Huawei USB stick).
Now that you know it is there, you have to check that your GSM modem is connected in the port you have told Gammu. Here is the funny part: USB port assignment is not always the same in Linux machine. That means that a USB stick that was one time on ttyUSB2, may be in the next reboot on ttyUSB5 if you have more than one USB port being used. To check it out, you should call dmesg:
In my case, I have ONLY the GSM stick connected to a USB hub, so I am getting always the same ttyUSB2. If you have more than one thing connected, it may change from time to time. So you have to check that the device in your config file is the same as the one that you get using the dmesg command (with Huawei modems, it always works to take the highest one-> ttyUSB2 in my case).