Pages

Friday, May 27, 2011

Practical Use Note of Gammu

# Installing Gammu
apt-get install gammu

# Connecting The Modem
after the modem is plugged in,
find that the modem is detected with: dmesg | grep tty
ussually if the interface is USB, it'll shows ttyUSB0 and ttyS0 for serial, you'll need this for configuring gammu next..

# Configure Gammu
vi /etc/gammu-smsdrc

# Check It
please make sure that gammu service is not active.
root@pcsimv:~# gammu --identify
Device : /dev/ttyS0
Manufacturer : Wavecom
Model : unknown (MULTIBAND 900E 1800)
Firmware : 657e09gg.Q24PL002 1961548 103107 17:56
IMEI : 353044020053022
SIM IMSI : 510104242000009

# Starting the Service
root@pcsimv:~# /etc/init.d/gammu-smsd0 start
* Starting Gammu SMS Daemon gammu-smsd0 Log filename is "/var/log/smsdlog"
[ OK ]
# Checking log
vi /var/log/smsdlog

No comments:

Post a Comment