How to Configure Gammu
Last updated on
30 April 2025
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
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
Testing if Gammu can access your modem:
C:\Program Files\Gammu 1.33.0\bin>gammu identify
Device : com3:
Manufacturer : Wavecom
Model : MULTIBAND 900E 1800 (MULTIBAND 900E 1800)
Firmware : 641b09gg.Q2403A 1320676 061804 14:38
IMEI : 012345678901234
SIM IMSI : 621218742757168
C:\Program Files\Gammu 1.33.0\bin>
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion