On Wed, 2010-11-24 at 17:27, Harbhag Singh Sohal wrote:
> How can I use the minicom ? I installed it using apt-get on ubuntu. I
> never used minicom before. can you please explain how can I issue the
> following command ?

Did you tried "man minicom"? No? ;-)

N.B. It is strange a little bit that you can write "Best Lightweight
Applications for Linux ." and you can't remember man application.

> On Wed, Nov 24, 2010 at 5:16 PM, Mfawa Alfred Onen
> <muffycomp...@gmail.com> wrote:
> > The problem is right infront of you. It seems your modem does not support
> > the "AT+CPMS" command. Try using minicom and issue the command "AT+CPMS=?".
> >
> > Mfawa Alfred Onen
> >
> >
> > On Wed, Nov 24, 2010 at 12:35 PM, Harbhag Singh Sohal
> > <harbhag.so...@gmail.com> wrote:
> >>
> >> udo bearerbox -v 0 /etc/kannel/kannel.conf
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Debug_lvl = 0, log_file = <none>,
> >> log_lvl = 0
> >> 2010-11-24 16:58:42 [3045] [0] INFO: DLR using storage type: internal
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Kannel bearerbox version
> >> `svn-r4871'.
> >> Build `Nov 24 2010 16:03:03', compiler `4.4.3'.
> >> System Linux, release 2.6.32-26-generic, version #47-Ubuntu SMP Wed
> >> Nov 17 15:58:05 UTC 2010, machine x86_64.
> >> Hostname harbhag, IP 192.168.1.88.
> >> Libxml version 2.7.6.
> >> Compiled with MySQL 5.1.41, using MySQL 5.1.41.
> >> Using native malloc.
> >>
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Added logfile
> >> `/var/log/kannel/bearerbox.log' with level `1'.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Started access logfile
> >> `/var/log/kannel/access.log'.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: SSL not supported, no SSL
> >> initialization done.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: HTTP: Opening server at port 13015.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 1
> >> (gwlib/fdset.c:poller)
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 2
> >> (gwlib/http.c:server_thread)
> >> 2010-11-24 16:58:42 [3045] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> >> maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [2] DEBUG: Thread 2
> >> (gwlib/http.c:server_thread) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [3] DEBUG: Thread 3
> >> (gw/bb_http.c:httpadmin_run) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 3
> >> (gw/bb_http.c:httpadmin_run)
> >> 2010-11-24 16:58:42 [3045] [2] DEBUG: HTTP: Including port 13015, fd 8
> >> for polling in server thread
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: starting smsbox connection module
> >> 2010-11-24 16:58:42 [3045] [0] INFO: BOXC: 'smsbox-max-pending' not
> >> set, using default (100).
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 4
> >> (gw/bb_boxc.c:sms_to_smsboxes)
> >> 2010-11-24 16:58:42 [3045] [4] DEBUG: Thread 4
> >> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 5
> >> (gw/bb_boxc.c:smsboxc_run)
> >> 2010-11-24 16:58:42 [3045] [5] DEBUG: Thread 5
> >> (gw/bb_boxc.c:smsboxc_run) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Set SMS resend frequency to 60
> >> seconds.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: SMS resend retry set to unlimited.
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: MO concatenated message handling
> >> enabled
> >> 2010-11-24 16:58:42 [3045] [0] INFO: DLR rerouting for smsc id <MTK2>
> >> disabled.
> >> 2010-11-24 16:58:42 [3045] [0] INFO: AT2[MTK2]: configuration shows
> >> modemtype <MTK2>
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: Reading modem
> >> definitions from </etc/kannel/kannel.conf>
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: Found <1> modems in
> >> config
> >> 2010-11-24 16:58:42 [3045] [0] INFO: AT2[MTK2]: read modem definition for
> >> <MTK2>
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 6
> >> (gw/smsc/smsc_at.c:at2_device_thread)
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: Started thread 7
> >> (gw/bb_smscconn.c:sms_router)
> >> 2010-11-24 16:58:42 [3045] [0] INFO:
> >> ----------------------------------------
> >> 2010-11-24 16:58:42 [3045] [0] INFO: Kannel bearerbox II version
> >> svn-r4871 starting
> >> 2010-11-24 16:58:42 [3045] [0] INFO: MAIN: Start-up done, entering
> >> mainloop
> >> 2010-11-24 16:58:42 [3045] [7] DEBUG: Thread 7
> >> (gw/bb_smscconn.c:sms_router) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: Thread 6
> >> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3045.
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: trying to use speed
> >> <9600> from modem definition
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:58:42 [3045] [0] DEBUG: AT2[MTK2]: start called
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:58:42 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:58:42 [3045] [6] DEBUG: AT2[MTK2]: --> ^M
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: speed is 9600
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: Logging in
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: init device
> >> 2010-11-24 16:58:45 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: --> ATZ^M
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: <-- AT
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:45 [3045] [6] DEBUG: AT2[MTK2]: --> AT&F^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- AT&F
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> ATE0^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- ATE0
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+IFC=2,2^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPIN?^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- +CPIN: READY
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CMGF=0^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CSMS=?^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CNMI=2,1,2,2,0^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- +CSMS: (0,1)
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPMS="SM"^M
> >> 2010-11-24 16:58:46 [3045] [6] DEBUG: AT2[MTK2]: <-- ERROR
> >> 2010-11-24 16:58:46 [3045] [6] ERROR: AT2[MTK2]: Generic error: ERROR
> >> 2010-11-24 16:58:46 [3045] [6] ERROR: AT2[MTK2]: Initialization of
> >> device failed. Attempt #0 on -1 max.
> >> 2010-11-24 16:58:46 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:58:46 [3045] [6] ERROR: AT2[MTK2]: Couldn't connect
> >> (retrying in 10 seconds).
> >> 2010-11-24 16:58:56 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:58:56 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:58:56 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:58:56 [3045] [6] INFO: AT2[MTK2]: Logging in
> >> 2010-11-24 16:58:57 [3045] [6] INFO: AT2[MTK2]: init device
> >> 2010-11-24 16:58:57 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> ATZ^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- AT
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> AT&F^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- AT&F
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> ATE0^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- ATE0
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> AT+IFC=2,2^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPIN?^M
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: <-- +CPIN: READY
> >> 2010-11-24 16:58:57 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CMGF=0^M
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CSMS=?^M
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CNMI=2,1,2,2,0^M
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: <-- +CSMS: (0,1)
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPMS="SM"^M
> >> 2010-11-24 16:58:58 [3045] [6] DEBUG: AT2[MTK2]: <-- ERROR
> >> 2010-11-24 16:58:58 [3045] [6] ERROR: AT2[MTK2]: Generic error: ERROR
> >> 2010-11-24 16:58:58 [3045] [6] ERROR: AT2[MTK2]: Initialization of
> >> device failed. Attempt #1 on -1 max.
> >> 2010-11-24 16:58:58 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:58:58 [3045] [6] ERROR: AT2[MTK2]: Couldn't connect
> >> (retrying in 10 seconds).
> >> 2010-11-24 16:59:08 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:59:08 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:59:08 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:59:08 [3045] [6] INFO: AT2[MTK2]: Logging in
> >> 2010-11-24 16:59:08 [3045] [6] INFO: AT2[MTK2]: init device
> >> 2010-11-24 16:59:08 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:59:08 [3045] [6] DEBUG: AT2[MTK2]: --> ATZ^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- AT
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT&F^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- AT&F
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> ATE0^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- ATE0
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+IFC=2,2^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPIN?^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- +CPIN: READY
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CMGF=0^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CSMS=?^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CNMI=2,1,2,2,0^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- +CSMS: (0,1)
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPMS="SM"^M
> >> 2010-11-24 16:59:09 [3045] [6] DEBUG: AT2[MTK2]: <-- ERROR
> >> 2010-11-24 16:59:09 [3045] [6] ERROR: AT2[MTK2]: Generic error: ERROR
> >> 2010-11-24 16:59:09 [3045] [6] ERROR: AT2[MTK2]: Initialization of
> >> device failed. Attempt #2 on -1 max.
> >> 2010-11-24 16:59:09 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:59:09 [3045] [6] ERROR: AT2[MTK2]: Couldn't connect
> >> (retrying in 10 seconds).
> >> ^C2010-11-24 16:59:12 [3045] [0] WARNING: Killing signal or HTTP admin
> >> command received, shutting down...
> >> 2010-11-24 16:59:12 [3045] [0] DEBUG: Shutting down Kannel...
> >> 2010-11-24 16:59:12 [3045] [0] DEBUG: shutting down smsc
> >> 2010-11-24 16:59:12 [3045] [0] DEBUG: AT2[MTK2]: Shutting down SMSCConn,
> >> slow
> >> 2010-11-24 16:59:12 [3045] [0] DEBUG: shutting down udp
> >> 2010-11-24 16:59:12 [3045] [6] INFO: AT2[MTK2]: opening device
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: device opened. Telnet
> >> mode = 0
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: device opened
> >> 2010-11-24 16:59:12 [3045] [6] INFO: AT2[MTK2]: Logging in
> >> 2010-11-24 16:59:12 [3045] [6] INFO: AT2[MTK2]: init device
> >> 2010-11-24 16:59:12 [3045] [6] INFO: AT2[MTK2]: speed set to 9600
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: --> ATZ^M
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: --> AT^M
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: <-- AT
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:12 [3045] [6] DEBUG: AT2[MTK2]: --> AT&F^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- AT&F
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> ATE0^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- ATE0
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+IFC=2,2^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPIN?^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- +CPIN: READY
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CMGF=0^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CSMS=?^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CNMI=2,1,2,2,0^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- +CSMS: (0,1)
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- OK
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: --> AT+CPMS="SM"^M
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: AT2[MTK2]: <-- ERROR
> >> 2010-11-24 16:59:13 [3045] [6] ERROR: AT2[MTK2]: Generic error: ERROR
> >> 2010-11-24 16:59:13 [3045] [6] ERROR: AT2[MTK2]: Initialization of
> >> device failed. Attempt #3 on -1 max.
> >> 2010-11-24 16:59:13 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:59:13 [3045] [6] INFO: AT2[MTK2]: Closing device
> >> 2010-11-24 16:59:13 [3045] [6] DEBUG: Thread 6
> >> (gw/smsc/smsc_at.c:at2_device_thread) terminates.
> >> 2010-11-24 16:59:13 [3045] [7] DEBUG: Thread 7
> >> (gw/bb_smscconn.c:sms_router) terminates.
> >> 2010-11-24 16:59:13 [3045] [4] DEBUG: Thread 4
> >> (gw/bb_boxc.c:sms_to_smsboxes) terminates.
> >> 2010-11-24 16:59:13 [3045] [5] DEBUG: Thread 5
> >> (gw/bb_boxc.c:smsboxc_run) terminates.
> >> 2010-11-24 16:59:13 [3045] [0] INFO: All flow threads have died, killing
> >> core
> >> 2010-11-24 16:59:13 [3045] [0] DEBUG: Waiting for 2
> >> (gwlib/http.c:server_thread) to terminate
> >> 2010-11-24 16:59:13 [3045] [3] DEBUG: HTTP: No clients with requests,
> >> quitting.
> >> 2010-11-24 16:59:13 [3045] [3] DEBUG: Thread 3
> >> (gw/bb_http.c:httpadmin_run) terminates.
> >> 2010-11-24 16:59:13 [3045] [2] DEBUG: Thread 2
> >> (gwlib/http.c:server_thread) terminates.
> >> 2010-11-24 16:59:13 [3045] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> >> terminates.
> >> 2010-11-24 16:59:13 [3045] [0] DEBUG: final clean-up for SMSCConn
> >> 2010-11-24 16:59:13 [3045] [0] DEBUG: MO concatenated message handling
> >> cleaned up
> >> 2010-11-24 16:59:13 [3045] [0] INFO: Total WDP messages: received 0, sent
> >> 0
> >> 2010-11-24 16:59:13 [3045] [0] INFO: Total SMS messages: received 0,
> >> dlr 0, sent 0, dlr 0
> >> 2010-11-24 16:59:13 [3045] [0] DEBUG: Immutable octet strings: 286.
> >>
> >>
> >> Below are config files. and output of wvdialconf
> >>
> >> KANNEL.CONF
> >>
> >> #Sample configuration file for Kannel bearerbox on Debian.
> >> # See the documentation for explanations of fields.
> >> #
> >>
> >> # HTTP administration is disabled by default. Make sure you set the
> >> # password if you enable it.
> >>
> >> group = core
> >> admin-port = 13015
> >> admin-password = hard2guess
> >> admin-deny-ip = "*.*.*.*"
> >> admin-allow-ip = "127.0.0.1"
> >> dlr-storage = internal
> >> smsbox-port = 13016
> >> #wdp-interface-name = "*"
> >> log-file = "/var/log/kannel/bearerbox.log"
> >> access-log = "/var/log/kannel/access.log"
> >> box-deny-ip = "*.*.*.*"
> >> box-allow-ip = "127.0.0.1"
> >> log-level = 1
> >>
> >> #group = wapbox
> >> #bearerbox-host = localhost
> >> #log-file = "/var/log/kannel/wapbox.log"
> >>
> >> group = smsc
> >> smsc-id = MTK2
> >> smsc = at
> >> modemtype = MTK2
> >> device= /dev/ttyACM0
> >> my-number = +919417212503
> >> connect-allow-ip = 127.0.0.1
> >> log-level = 0
> >>
> >>
> >> group = modems
> >> id = MediaTek
> >> name = "MTK2"
> >> detect-string = "MTK2"
> >> init-string = "ATZ"
> >> init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >> init-string = "AT+CNMI=2,1,2,2,0"
> >> message-storage = sm
> >> #speed = 460800
> >> #message-start = 0
> >>
> >> group = smsbox
> >> smsbox-id = mysmsc
> >> bearerbox-host = localhost
> >> #bearerbox-port = 13018
> >> sendsms-port = 13018
> >> global-sender = ***************
> >> access-log = "/var/log/kannel/smsbox-access.log"
> >> log-file = "/var/log/kannel/smsbox.log"
> >> log-level = 0
> >> mo-recode = true
> >>
> >> group = sendsms-user
> >> username = ***************
> >> password = hard2guess
> >> concatenation= true
> >> max-messages = 10000
> >>
> >> group = sms-service
> >> keyword-regex = .*
> >> catch-all = yes
> >> accepted-smsc = MTK2
> >> max-messages = 3
> >> get-url = "http://localhost/sms.php?phone=%p&text=%a";
> >>
> >> SQLBOX.CONF
> >>
> >> group = sqlbox
> >> id = sqlbox-db
> >> smsbox-id = mysmsc
> >> global-sender = "***************"
> >> bearerbox-host = localhost
> >> bearerbox-port = 13016
> >> smsbox-port = 13017
> >> smsbox-port-ssl = false
> >> sql-log-table = sent_sms
> >> sql-insert-table = send_sms
> >> log-file = "/var/log/kannel/kannel-sqlbox.log"
> >> log-level = 0
> >> #ssl-client-certkey-file = ""
> >> #ssl-server-cert-file = ""
> >> #ssl-server-key-file = ""
> >> #ssl-trusted-ca-file = ""
> >>
> >> # Database connection examples. Please uncomment as needed
> >>
> >> # Example MYSQL Connection
> >> group = mysql-connection
> >> id = sqlbox-db
> >> host = localhost
> >> username = ***************
> >> password = ***************
> >> database = kannel
> >>
> >> # Example ORACLE Connection
> >> #group = oracle-connection
> >> #id = sqlbox-db
> >> #username = myuser
> >> #password = mypass
> >> #tnsname  = //localhost:1521/XE
> >>
> >> # Example POSTGRESQL Connection
> >> #group = pgsql-connection
> >> #id = sqlbox-db
> >> #id = sqlbox-db
> >> #username = myuser
> >> #password = mypass
> >> #database = kannel
> >> #host = localhost
> >>
> >> # Example SDB Connection with some database URL examples
> >> # *** Note: Uncomment only _one_ "url" line ***
> >> #group = sdb-connection
> >> #id = sqlbox-db
> >> #url = mysql:host=localhost:db=kannel:uid=myuser:pwd=mypass
> >> #url = sqlite:db=/path/to/kannel.db
> >> #url = sqlite3:db=/path/to/kannel3.db
> >>
> >> # Example SQLITE 2 Connection
> >> #group = sqlite-connection
> >> #id = sqlbox-db
> >> #database = /path/to/kannel.db
> >> #max-connections = 1
> >>
> >> # Example SQLITE 3 Connection
> >> #group = sqlite3-connection
> >> #id = sqlbox-db
> >> #database = /path/to/kannel.db
> >> #max-connections = 1
> >>
> >>
> >> Output of wvdialconf
> >>
> >>
> >>  sudo wvdialconf
> >> Editing `/etc/wvdial.conf'.
> >>
> >> Scanning your serial ports for a modem.
> >>
> >> Modem Port Scan<*1>: S0   S1   S2   S3
> >> WvModem<*1>: Cannot get information for serial port.
> >> ttyACM0<*1>: ATQ0 V1 E1 -- OK
> >> ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
> >> ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
> >> ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> >> ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> >> ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> >> ttyACM0<*1>: Modem Identifier: ATI -- MTK2
> >> ttyACM0<*1>: Speed 4800: AT -- OK
> >> ttyACM0<*1>: Speed 9600: AT -- OK
> >> ttyACM0<*1>: Speed 19200: AT -- OK
> >> ttyACM0<*1>: Speed 38400: AT -- OK
> >> ttyACM0<*1>: Speed 57600: AT -- OK
> >> ttyACM0<*1>: Speed 115200: AT -- OK
> >> ttyACM0<*1>: Speed 230400: AT -- OK
> >> ttyACM0<*1>: Speed 460800: AT -- OK
> >> ttyACM0<*1>: Max speed is 460800; that should be safe.
> >> ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> >>
> >> Found an USB modem on /dev/ttyACM0.
> >> Modem configuration written to /etc/wvdial.conf.
> >> ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >>
> >
> >
> 
> 
> 
> -- 
> Harbhag Singh Sohal
> Department of Information Technology
> Guru Nanak Dev Engineering College, Ludhiana
> 
> Webpage : http://harbhag.wordpress.com
> Twitter     : http://twitter.com/harbhag
> 

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

Reply via email to