Instalasi Gammu SMS Server: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) No edit summary |
Onnowpurbo (talk | contribs) |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Siapkan dependencies | Siapkan dependencies di Ubuntu 10.04 | ||
sudo apt-get install freepats libaudio2 libfreebob0 libgammu-i18n libjack0 \ | |||
libgammu-i18n | libpq5 libwxbase2.8-0 libwxgtk2.8-0 libxml++2.6-2 mysql-common \ | ||
libwxbase2.8-0 libwxgtk2.8-0 libxml++2.6-2 mysql-common python-bluez | python-bluez python-gammu python-wxgtk2.8 python-wxversion timidity | ||
Siapkan dependencies di Ubuntu 9.10 | |||
sudo apt-get install freepats libaudio2 libcelt0 libfreebob0 libgammu-i18n libjack0 \ | |||
libmysqlclient15off libpq5 libwxbase2.8-0 libwxgtk2.8-0 libxml++2.6-2 mysql-common \ | |||
python-bluez python-gammu python-wxgtk2.8 python-wxversion timidity | |||
Jika anda menginginkan dapat juga menyiapkan beberapa paket pendukung yang sifatnya optional seperti | Jika anda menginginkan dapat juga menyiapkan beberapa paket pendukung yang sifatnya optional seperti | ||
sudo apt-get install nas jackd python-gammu-doc wx2.8-doc wx2.8-examples python-wxtools \ | |||
python-wxtools ruby | ruby tk8.5 tcsh csh octave3.0 mksh pdksh pmidi gmobilemedia | ||
Install gammu melalui perintah | Install gammu melalui perintah | ||
sudo apt-get install gammu wammu gmobilemedia | |||
==Pengenalan USB Modem pada Ubuntu 10.04== | |||
Pada Ubuntu 10.04 tampaknya pengenalan USB modem mulai dapat di kenali secara automatis. | |||
== | ==Pengenalan USB Modem pada Ubuntu 9.10 / 9.04== | ||
Cek nomor vendor & product dari USB Modem yang kita pakai melalui perintah | Cek nomor vendor & product dari USB Modem yang kita pakai melalui perintah | ||
| Line 25: | Line 33: | ||
Akan keluar hasil yang kira-kira | Akan keluar hasil yang kira-kira | ||
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |||
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
Bus | Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | ||
Bus | Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
Bus 003 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem | |||
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |||
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | ||
Bus | Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | ||
Bus | Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | ||
Perhatikan nomor di sebelah kiri Huawei, yang artinya | Perhatikan nomor di sebelah kiri Huawei, yang artinya | ||
vendor = 12d1 | vendor = 12d1 | ||
product = | product = 1001 | ||
| Line 57: | Line 67: | ||
==Edit file konfigurasi gammu== | |||
cd /etc/ | |||
sudo touch /etc/gammurc | |||
sudo vi /etc/gammurc | |||
Untuk Nokia | |||
[gammu] | |||
port = /dev/ttyACM0 | |||
#model = 6110 | |||
connection = at19200 | |||
#synchronizetime = yes | |||
#logfile = gammulog | |||
#logformat = textall | |||
#use_locking = yes | |||
#gammuloc = locfile | |||
#startinfo = yes | |||
#gammucoding = utf8 | |||
#rsslevel = teststable | |||
#usephonedb = yes | |||
Untuk Huawei | |||
[gammu] | |||
port = /dev/ttyUSB0 | |||
connection = at19200 | |||
==Test HP== | |||
gammu --identify | |||
Nokia E71 | |||
Manufacturer : Nokia | |||
Model : unknown (Nokia E71) | |||
Firmware : V 100.71.821.4,06-06-08 | |||
IMEI : 35485502065**** | |||
SIM IMSI : 510************ | |||
Huawei E169 | |||
Manufacturer : huawei | |||
Model : unknown (E169) | |||
Firmware : 11.314.13.51.156 | |||
IMEI : 35963801884**** | |||
SIM IMSI : 510************ | |||
==Konfigurasi Awal Gammu dan Wammu== | ==Konfigurasi Awal Gammu dan Wammu== | ||
* Masukan modem atau HP anda. | * Masukan modem atau HP anda. | ||
Lakukan tampilan berikut .. | * Lakukan langkah sesuai tampilan / screenshot berikut | ||
[[Image:Wammuconf1.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf2.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf3.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf4.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf5.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf6.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf7.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf8.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf9.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf10.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf11.jpeg|center|200px|thumb]] | |||
[[Image:Wammuconf11.jpeg|center|200px|thumb]] | |||
==Beberapa Perintah Penting== | |||
# gammu --identify | |||
# gammu --monitor 1 | |||
Menjalankan Wammu | |||
$ wammu & | |||
==Referensi Gammu== | |||
* http://dl.cihar.com/gammu/releases/ - download Gammu | |||
* [http://fajarrsyd.wordpress.com/2007/08/21/membangun-sms-gateway-dengan-gammu/ Membangun SMS Gateway Dengan Gammu] | |||
* [http://okaw.wordpress.com/2006/09/21/sms-getway-gammu/ SMS Gateway Dengan Gammu] | |||
* [http://pamadigesang.blogspot.com/2007/09/sms-dengan-gammu-dan-mysql.html SMS dengan Gammu dan MySQL] | |||
* [http://catnuxer.wordpress.com/2008/09/15/membuat-sms-gateway-dengan-gammu/ Membuat SMS Gateway dengan Gammu] | |||
* http://milisdad.blogspot.com/2009/12/mesin-sms-untuk-kalkun.html | |||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[Membuat SMS Gateway]] | |||
* [[Linux Howto]] | * [[Linux Howto]] | ||
* [[Wireless Internet Berbasis Selular]] | |||
Latest revision as of 04:46, 26 April 2010
Siapkan dependencies di Ubuntu 10.04
sudo apt-get install freepats libaudio2 libfreebob0 libgammu-i18n libjack0 \ libpq5 libwxbase2.8-0 libwxgtk2.8-0 libxml++2.6-2 mysql-common \ python-bluez python-gammu python-wxgtk2.8 python-wxversion timidity
Siapkan dependencies di Ubuntu 9.10
sudo apt-get install freepats libaudio2 libcelt0 libfreebob0 libgammu-i18n libjack0 \ libmysqlclient15off libpq5 libwxbase2.8-0 libwxgtk2.8-0 libxml++2.6-2 mysql-common \ python-bluez python-gammu python-wxgtk2.8 python-wxversion timidity
Jika anda menginginkan dapat juga menyiapkan beberapa paket pendukung yang sifatnya optional seperti
sudo apt-get install nas jackd python-gammu-doc wx2.8-doc wx2.8-examples python-wxtools \ ruby tk8.5 tcsh csh octave3.0 mksh pdksh pmidi gmobilemedia
Install gammu melalui perintah
sudo apt-get install gammu wammu gmobilemedia
Pengenalan USB Modem pada Ubuntu 10.04
Pada Ubuntu 10.04 tampaknya pengenalan USB modem mulai dapat di kenali secara automatis.
Pengenalan USB Modem pada Ubuntu 9.10 / 9.04
Cek nomor vendor & product dari USB Modem yang kita pakai melalui perintah
# lsusb
Akan keluar hasil yang kira-kira
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Perhatikan nomor di sebelah kiri Huawei, yang artinya
vendor = 12d1 product = 1001
Edit /boot/grub/menu.lst masukan pada menu
title Ubuntu 9.04, kernel 2.6.29.2-custom uuid d0a32d6c-3176-4b92-8cac-6e75acc4348a kernel /boot/vmlinuz-2.6.29.2-custom root=UUID=d0a32d6c-3176-4b92-8cac-6e75acc4348a ro quiet splash initrd /boot/initrd.img-2.6.29.2-custom quiet
Pada kalimat "kernel .... quiet splah" tambahkan kata-kata. Untuk E220
usbserial.vendor=0x12d1 usbserial.product=0x1003
Sehingga kalimat kernel menjadi
kernel /boot/vmlinuz-2.6.29.2-custom root=UUID=d0a32d6c-3176-4b92-8cac-6e75acc4348a ro quiet splash usbserial.vendor=0x12d1 usbserial.product=0x1003
Edit file konfigurasi gammu
cd /etc/ sudo touch /etc/gammurc sudo vi /etc/gammurc
Untuk Nokia
[gammu] port = /dev/ttyACM0 #model = 6110 connection = at19200 #synchronizetime = yes #logfile = gammulog #logformat = textall #use_locking = yes #gammuloc = locfile #startinfo = yes #gammucoding = utf8 #rsslevel = teststable #usephonedb = yes
Untuk Huawei
[gammu] port = /dev/ttyUSB0 connection = at19200
Test HP
gammu --identify
Nokia E71
Manufacturer : Nokia Model : unknown (Nokia E71) Firmware : V 100.71.821.4,06-06-08 IMEI : 35485502065**** SIM IMSI : 510************
Huawei E169
Manufacturer : huawei Model : unknown (E169) Firmware : 11.314.13.51.156 IMEI : 35963801884**** SIM IMSI : 510************
Konfigurasi Awal Gammu dan Wammu
- Masukan modem atau HP anda.
- Lakukan langkah sesuai tampilan / screenshot berikut












Beberapa Perintah Penting
# gammu --identify
# gammu --monitor 1
Menjalankan Wammu
$ wammu &
Referensi Gammu
- http://dl.cihar.com/gammu/releases/ - download Gammu
- Membangun SMS Gateway Dengan Gammu
- SMS Gateway Dengan Gammu
- SMS dengan Gammu dan MySQL
- Membuat SMS Gateway dengan Gammu
- http://milisdad.blogspot.com/2009/12/mesin-sms-untuk-kalkun.html