SMS Server Tools

Running

Method 1 (only for Unix):

Run /etc/init.d/sms start to start smsd in background.
Run /etc/init.d/sms stop to stop smsd.

Method 2:

Run /usr/local/bin/smsd -s to start the program and switch on the modem status information. Press Ctrl-C to stop the program.

It is a good idea to delete all .LOCK files in the spool directories before you start smsd. You may find old .LOCK files after abnormal program termination.

find /var/spool/sms -name '*.LOCK' -exec rm {} \;


Sending a message

Run sendsms 491721234567 Hello to send a message or put an SMS file into the Outgoing Folder.

To read a received message, take a look into the Incoming Folder /var/spool/sms/incoming.


You should never run getsms or putsms manually. These programs are made to be used by smsd internally. The manual use of that programs disturbes smsd.