Send SMS Using Gammu Command Line Tool
My teleco has provided Internet facility in which you can put data SIM card in a USB dongle and use Internet. Its call Ncell Connect . In neighboring country like India, some of them are called Reliance Netconnect+ . In such data SIM card you can only use SMS and Internet. You can't make phone calls. So to recharge or to know about the balance or data balance you have to send SMS. For Windows the software to do all of these comes bundled with the USB dongle. For Linux we'll find our own way. Let us use awesome program called gammu . For Ubuntu, click here to install. After pluging in the USB dongle open terminal and type: dmesg | grep tty This will tell you where your USB dongle is connected. For example mine is ttyUSB0 . Make note of this. Now run gammu-config to configure gammu. You only have to change one thing here. In Port the value should be /dev/ttyUSB0 where ttyUSB0 is what you noted above. Press OK and now we are ready to run gamm...