Community Documentation

How to Configure Gammu

Last updated November 23, 2012. Created by drupalisme on October 8, 2012.
Log in to edit this page.

Linux

# gammu-config
Then alter modem configuration based on our previous modem information (How to Detect Your Modem). Most settings only required 2 fields:

  • Modem port: /dev/ttyUSB0 (Linux) or com10 (Windows)
  • Modem connection: usually modern modem support "at115200", if not sure then just type "at"

[gammu]
port= /dev/ttyUSB0
connection = at115200

Windows

Edit "gammurc" file, see above Linux section.

[gammu]
port= com10:
connection = at115200

NOTE:
  • On Windows com written as com10: (with colon), instead com10.
  • Sometimes text editor provided by Windows can not write to gammurc with error message "file used by another". To solve this issue use CodeLobster PHP Editor, a freeware version available here: http://www.codelobster.com/. CodeLobster is a special editor which support Drupal API

About this page

Drupal version
Drupal 6.x, Drupal 7.x
Audience
Contributors, Programmers, Site administrators
Level
Intermediate, Advanced
Keywords
gammu, sms gateway

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here