It is mounted at /dev/ttyUSB0. I did "chmod 777 /dev/ttyUSB0" but not working yet. There was another device, which was mounted at /dev/ttyACM0 and that was working well. Do you think I should let it be mounted at /dev/ttyACM0 ? Anything else you suggest. I am using Ubuntu.
Thank you much. On Tue, Oct 4, 2011 at 1:57 PM, Mfawa Alfred Onen <muffycomp...@gmail.com>wrote: > Try another thing, where is your device mounted at? is it /dev/ttyUSB* or > /dev/ttyACM*? make sure it is writable by kannel, Some times, I simply do > "chmod > 777 /dev/ttyUSB*" which makes it universally writable (I am aware of > security issues here). I use CentOS 5 by the way. > > Regards! > > > On Tue, Oct 4, 2011 at 9:00 PM, Faruk Ahmed <faruk.ah...@gmail.com> wrote: > >> I figured out the speed 115200 and at this speed, the vwdial, minicom >> (ubuntu linux) and hyper-terminal (windows xp) can communication with this >> modem. >> >> But from the kannel, it seems, it is not geting any response. Any help ? >> >> Thank you, >> -Faruk >> >> On Tue, Oct 4, 2011 at 12:50 PM, Mfawa Alfred Onen < >> muffycomp...@gmail.com> wrote: >> >>> Try using vwdial to determine the correct speed of your GSM device. >>> >>> >>> On Tuesday, October 4, 2011, Faruk Ahmed <faruk.ah...@gmail.com> wrote: >>> > >>> > I have bought http://www.sparkfun.com/products/10164 (the evaluation >>> board USB) and http://www.sparkfun.com/products/10138 (GSM module). I am >>> trying to send/receive SMS and from hyper-terminal this device responds to >>> the AT commands properly. But when I plug this as smsc to kannel as a modem, >>> it does not respond to the AT commands. The kannel keeps sending AT commands >>> and the device does not reply. >>> > >>> > Any idea ? Sending you the log. >>> > Thank you all. >>> > -Faruk >>> > >>> > 2011-09-30 18:54:50 [2535] [0] INFO: Added logfile >>> `/usr/local/sbin/kannel.log' with level `0'. >>> > 2011-09-30 18:54:50 [2535] [0] INFO: Started access logfile >>> `/tmp/access2.log'. >>> > 2011-09-30 18:54:50 [2535] [0] INFO: HTTP: Opening server at port >>> 15000. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 1 >>> (gwlib/fdset.c:poller) >>> > 2011-09-30 18:54:50 [2535] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >>> maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 2 >>> (gwlib/http.c:server_thread) >>> > 2011-09-30 18:54:50 [2535] [2] DEBUG: Thread 2 >>> (gwlib/http.c:server_thread) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 3 >>> (gw/bb_http.c:httpadmin_run) >>> > 2011-09-30 18:54:50 [2535] [3] DEBUG: Thread 3 >>> (gw/bb_http.c:httpadmin_run) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: starting smsbox connection module >>> > 2011-09-30 18:54:50 [2535] [0] INFO: BOXC: 'smsbox-max-pending' not >>> set, using default (100). >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 4 >>> (gw/bb_boxc.c:sms_to_smsboxes) >>> > 2011-09-30 18:54:50 [2535] [4] DEBUG: Thread 4 >>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [5] DEBUG: Thread 5 >>> (gw/bb_boxc.c:smsboxc_run) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 5 >>> (gw/bb_boxc.c:smsboxc_run) >>> > 2011-09-30 18:54:50 [2535] [0] INFO: Set SMS resend frequency to 60 >>> seconds. >>> > 2011-09-30 18:54:50 [2535] [0] INFO: SMS resend retry set to unlimited. >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: smsbox MO concatenated message >>> handling enabled >>> > 2011-09-30 18:54:50 [2535] [0] INFO: DLR rerouting for smsc id >>> <gsmsmsc> disabled. >>> > 2011-09-30 18:54:50 [2535] [0] INFO: AT2[gsmsmsc]: configuration >>> doesn't show modemtype. will autodetect >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 6 >>> (gw/smsc/smsc_at.c:at2_device_thread) >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: Started thread 7 >>> (gw/bb_smscconn.c:sms_router) >>> > 2011-09-30 18:54:50 [2535] [0] INFO: >>> ---------------------------------------- >>> > 2011-09-30 18:54:50 [2535] [0] INFO: Kannel bearerbox II version 1.4.3 >>> starting >>> > 2011-09-30 18:54:50 [2535] [0] INFO: MAIN: Start-up done, entering >>> mainloop >>> > 2011-09-30 18:54:50 [2535] [0] DEBUG: AT2[gsmsmsc]: start called >>> > 2011-09-30 18:54:50 [2535] [7] DEBUG: Thread 7 >>> (gw/bb_smscconn.c:sms_router) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [6] DEBUG: Thread 6 >>> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 2535. >>> > 2011-09-30 18:54:50 [2535] [6] DEBUG: AT2[gsmsmsc]: detecting modem >>> speed. >>> > 2011-09-30 18:54:50 [2535] [6] INFO: AT2[gsmsmsc]: opening device >>> > 2011-09-30 18:54:50 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened. >>> Telnet mode = 0 >>> > 2011-09-30 18:54:51 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened >>> > 2011-09-30 18:54:51 [2535] [6] INFO: AT2[gsmsmsc]: speed set to 115200 >>> > 2011-09-30 18:54:51 [2535] [6] DEBUG: AT2[gsmsmsc]: --> ^M >>> > 2011-09-30 18:54:53 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:54:57 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:01 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:05 [2535] [6] INFO: AT2[gsmsmsc]: Closing device >>> > 2011-09-30 18:55:05 [2535] [6] INFO: AT2[gsmsmsc]: opening device >>> > 2011-09-30 18:55:05 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened. >>> Telnet mode = 0 >>> > 2011-09-30 18:55:06 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened >>> > 2011-09-30 18:55:06 [2535] [6] INFO: AT2[gsmsmsc]: speed set to 57600 >>> > 2011-09-30 18:55:06 [2535] [6] DEBUG: AT2[gsmsmsc]: --> ^M >>> > 2011-09-30 18:55:08 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:12 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:16 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:20 [2535] [6] INFO: AT2[gsmsmsc]: Closing device >>> > 2011-09-30 18:55:20 [2535] [6] INFO: AT2[gsmsmsc]: opening device >>> > 2011-09-30 18:55:20 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened. >>> Telnet mode = 0 >>> > 2011-09-30 18:55:21 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened >>> > 2011-09-30 18:55:21 [2535] [6] INFO: AT2[gsmsmsc]: speed set to 38400 >>> > 2011-09-30 18:55:21 [2535] [6] DEBUG: AT2[gsmsmsc]: --> ^M >>> > 2011-09-30 18:55:23 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:27 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:31 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:35 [2535] [6] INFO: AT2[gsmsmsc]: Closing device >>> > 2011-09-30 18:55:35 [2535] [6] INFO: AT2[gsmsmsc]: opening device >>> > 2011-09-30 18:55:35 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened. >>> Telnet mode = 0 >>> > 2011-09-30 18:55:36 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened >>> > 2011-09-30 18:55:36 [2535] [6] INFO: AT2[gsmsmsc]: speed set to 19200 >>> > 2011-09-30 18:55:36 [2535] [6] DEBUG: AT2[gsmsmsc]: --> ^M >>> > 2011-09-30 18:55:38 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:42 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:46 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:50 [2535] [6] INFO: AT2[gsmsmsc]: Closing device >>> > 2011-09-30 18:55:50 [2535] [6] INFO: AT2[gsmsmsc]: opening device >>> > 2011-09-30 18:55:50 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened. >>> Telnet mode = 0 >>> > 2011-09-30 18:55:51 [2535] [6] DEBUG: AT2[gsmsmsc]: device opened >>> > 2011-09-30 18:55:51 [2535] [6] INFO: AT2[gsmsmsc]: speed set to 9600 >>> > 2011-09-30 18:55:51 [2535] [6] DEBUG: AT2[gsmsmsc]: --> ^M >>> > 2011-09-30 18:55:53 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:55:57 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:56:01 [2535] [6] DEBUG: AT2[gsmsmsc]: --> AT^M >>> > 2011-09-30 18:56:05 [2535] [6] INFO: AT2[gsmsmsc]: Closing device >>> > 2011-09-30 18:56:05 [2535] [6] INFO: AT2[gsmsmsc]: cannot detect speed >>> > 2011-09-30 18:56:05 [2535] [6] ERROR: AT2[gsmsmsc]: Couldn't connect >>> (retrying in 10 seconds). >>> > >>> > >>> >>> -- >>> *Mfawa Alfred Onen* >>> *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)* >>> System Administrator >>> Department of Computer Science, >>> Bingham University. >>> >>> E-Mail: systemad...@binghamuni.edu.ng >>> Phone1: +234 805 944 3154 >>> Phone2: +234 803 079 6088 >>> >>> >>> >> >> >> -- >> Faruk Ahmed >> >> > > > -- > *Mfawa Alfred Onen* > *M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)* > System Administrator > Department of Computer Science, > Bingham University. > > E-Mail: systemad...@binghamuni.edu.ng > Phone1: +234 805 944 3154 > Phone2: +234 803 079 6088 > > > -- Faruk Ahmed