Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Update Via email » Setting Gammu 3 buah Modem

Setting Gammu 3 buah Modem

#tampilan di konsol

root@serverutama:/etc# ps ax | grep gammu
11530 pts/0 S 0:00 /usr/bin/gammu 0 –smsd MYSQL /etc/smsdrc0
11531 pts/0 S 0:00 /usr/bin/gammu 1 –smsd MYSQL /etc/smsdrc1
11532 pts/0 S 0:00 /usr/bin/gammu 2 –smsd MYSQL /etc/smsdrc2
11534 pts/0 R+ 0:00 grep gammu
—-
#config /etc/gammurc
[gammu]
port = /dev/ttyUSB0
connection = at115200
logfile = gammulog
logformat = textall
use_locking = yes

[gammu1]
port = /dev/ttyUSB1
connection = at115200
logfile = gammulog
logformat = textall
use_locking = yes

[gammu2]
port = /dev/ttyS0
connection = at115200
logfile = gammulog
logformat = textall
use_locking = yes

——-
#config di /etc/smsdrc[n]

#/etc/smsdrc0
[gammu]
port = /dev/ttyUSB0
connection = at115200
[smsd]
PIN = 123
commtimeout = 1
sendtimeout = 10
service = mysql
DeliveryReport = sms
logfiles = /var/log/smsdlog
debuglevel = 255

User = dimas
Password = wedusgembel
PC = localhost
database = sms1

#/etc/smsdrc1
[gammu1]
port = /dev/ttyUSB1
connection = at115200
[smsd]
PIN = 123
commtimeout = 1
sendtimeout = 10
service = mysql
DeliveryReport = sms
logfiles = /var/log/smsdlog
debuglevel = 255

User = dimas
Password = asubajingan
PC = localhost
database = sms2


#/etc/smsdrc2
[gammu]
port = /dev/ttyS0
connection = at115200
[smsd]
PIN = 123
commtimeout = 1
sendtimeout = 10
service = mysql
DeliveryReport = sms
logfiles = /var/log/smsdlog
debuglevel = 255

User = dimas
Password = raimujaran
PC = localhost
database = sms3

Filed under: Update Via email

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>