Wednesday Jan 02, 2008

Sending SMS text messages

Sending birthday reminders by SMS

Since I now have a system that is running 24h again, I remembered that I once had my Linux server send me reminders to my mobile phone via modem.

On Linux, I used yaps ("Yet another pager software") to send sms text messages. During the christmas holidays, I set up yaps to send birthday reminders on my new Solaris server.

yaps is free software, see http://freshmeat.net/projects/yaps/ on what it is and where to get it.

You will have to compile it for yourself, but it is easy. To have it run side-by-side with mgetty, I had to change the include file used to determine the lock file name. There seem to be different naming conventions for SysV uucp devide locking. I changed config.h to look like this:

 

 /\*
 \* one of these is required for SysV like lockfiles
 \*/
# define        HAVE_SYS_SYSMACROS_H    0
# define        HAVE_SYS_MKDEV_H        1

 

The default is set to use sysmacros.h instead of mkev.h, which worked for me.

 

Now

yaps 0172xxxxxxx "30.01 Dirks Birthday"

will remind me of by own birthday..

That's all. A script will call my home-grown "ute" appointment reminder to extract current reminders and invoke yaps if anything's up.

 

 

 

About

Dirk Wriedt

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
Software for Solaris
Favourite blogs
Dirks Bookmarks

No bookmarks in folder