Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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>