>$ sudo pacman -S gammu
u must check ur installation method depends on your distro,,,
then
$ sudo geany /etc/gammurc
iam using K608i phone so
[gammu]
port=/dev/ttyACM0
connection=at
name=Ericsson K608i
model=
here u must know ur phone/modem check here http://wammu.eu/phones/
and copy-paste configuration for ur phone or modem
$sudo geany /etc/gammu-smsdrc
here is ur gammu-smsd configuration
[gammu]
port = /dev/ttyACM0
connection = at
[smsd]
PIN =
service = sql
driver = native_mysql
DeliveryReport = sms
logfile = /etc/smsdlog
debuglevel = 1
# Change this to your mysql config
User = mysqluser
Password = mysqlpass
Host = localhost
Database = kalkun
u can see that bold font, it ur device… after u know it, just paste there…
after this there is lamp-server for gammu-smsd database