Author |
Post |
|
#1 Sun Oct 04, 2009 04:23, 184 months ago.
|
Member
Registered: Oct 2009
Location: ozamiz city, Philippines
|
Operating system name and version: WIN XP Version of smsd: 3.1.5 Smsd installed from: sources Name and model of a modem / phone: ? Interface: ?
hello can someone help me how to configure my sms server im using Win XP with CYGWIN. i dont how to activate status monitor?
|
|
#2 Sun Oct 04, 2009 10:34, 184 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
First you have to install gcc-g++: C++ compiler on Cygwin. It's under a Devel section. Then download OSSP mm Shared Memory Library from this site. Current version of a library is 1.4.2. The package has a file named INSTALL which should be read. On Cygwin you can run ./configure --prefix=/usr to start configuration. Then ensure that testing of a library goes successfully. After you do not get any errors, the library can be installed. Then edit a Makefile in the smstools3/src directory. Locate the following and comment out the line as instructed: # Comment this out, to enable statistics #CFLAGS += -D NOSTATSSave the Makefile and run make clean smsd. You should now have a status monitor activated.
|
|
#3 Mon Oct 05, 2009 04:24, 184 months ago.
|
Member
Registered: Oct 2009
Location: ozamiz city, Philippines
Topic owner
|
hello thank you for the instructions. i followed what you all said but it seems not working. i already installed all the gcc-g++: c++ compiler on devel section, ossp library. testing are all successful and installed . comment out #cflags +=-D nostats and save makefile run make clean smsd.
but when i command $ smsd -s results are : status monitor is not included in this application.
|
|
#4 Mon Oct 05, 2009 08:46, 184 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
bg163 wrote but when i command $ smsd -s results are : status monitor is not included in this application.
Try a command which smsd. It probably says: /usr/local/bin/smsd. You can use a command cp smsd `which smsd` to copy executable to that place. If you want to test smsd from the default folder, use ./smsd -s.
|
|
#5 Mon Oct 05, 2009 10:36, 184 months ago.
|
Member
Registered: Oct 2009
Location: ozamiz city, Philippines
Topic owner
|
thank you. for helping me out keke. but i got problems with the results . i command $ ./smsd -s results: b then just hang with the "b" result, cygwin frezzed is that ok "b" respond ? how do i know if my modem is conected with the sms server? my modem is on COM6 #smsd.conf devices = GSM1 logfile = /var/log/smsd.log loglevel = 7 outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent mypath = /usr/local/bin [GSM1] device = /dev/com6 smsc = 639170000130 incoming = yes « Last edit by bg163 on Mon Oct 05, 2009 10:41, 184 months ago. »
|
|
#6 Mon Oct 05, 2009 10:47, 184 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
bg163 wrote i command $ ./smsd -s results: b then just hang with the "b" result, cygwin frezzed is that ok "b" respond ?
It's not ok. ./smsd -s with one modem should output: # ./smsd -s r--------------------------------------------------------------- i--------------------------------------------------------------- r--------------------------------------------------------------- i--------------------------------------------------------------- etc. bg163 wrote how do i know if my modem is conected with the sms server? my modem is on COM6
Just check what is in the log file /var/log/smsd.log. With loglevel 7 there should be all of the communication printed. Before moved to the status monitor, did you have a working setup? Did you send or receive any SMS?
|