Hi

Some nokía phones does not support cnmi command.

Try connecting from a terminal window with a communication sw like cu
or minicom.

send CNMI? or AT+CNMI=? to see what it did respond. If you do get an
errror, command is not supported; therefore just remove from config.

BTW CNMI command allows your phone to forward the MOs to kannel for
future process by your app.

Regards

Alvaro


|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Fri, Jan 7, 2011 at 8:39 AM, ABOUDOU B. Loukmane <[email protected]> wrote:
> Le 31/12/2010 20:03, Mfawa Alfred Onen a écrit :
>
> Ok also are you sure of the port the Nokia 6300 gets mounted on? I used a
> Nokia 6300 Before and mine was port "/dev/ttyACM0 or /dev/ttyACM1". Try and
> run "dmesg" on your system to trace where the system mounted your Nokia. Of
> course I assume you are using a USB cable.
>
> On Fri, Dec 31, 2010 at 12:54 PM, ABOUDOU B. Loukmane <[email protected]>
> wrote:
>>
>> Le 31/12/2010 11:33, Mfawa Alfred Onen a écrit :
>>>
>>> Make sure kannel can read the device location. Try issuing "chmod 777
>>> /dev/ttyS0" and restart kannel.
>>>
>>> On 12/31/10, ABOUDOU B. Loukmane<[email protected]>  wrote:
>>>>
>>>> Hi everybody,
>>>>
>>>> I have some  troubles to send an sms through kannel.
>>>> Here is my bearerbox.log:
>>>>
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]: open failed!
>>>> ERRNO=13
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: AT2[/dev/ttyS0]:
>>>> at2_device_thread: open_at2_device failed. Terminating
>>>> 2010-12-31 08:44:31 [12099] [8] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [8] INFO: AT2[/dev/ttyS0]: opening device
>>>> 2010-12-31 08:44:31 [12099] [0] INFO:
>>>> ----------------------------------------
>>>> 2010-12-31 08:44:31 [12099] [0] INFO: Kannel bearerbox II version 1.4.1
>>>> starting
>>>> 2010-12-31 08:44:31 [12099] [0] INFO: Loading store file
>>>> `/etc/kannel/kannel.store'
>>>> 2010-12-31 08:44:31 [12099] [0] INFO: Store-file size 0, starting to
>>>> unpack
>>>> 2010-12-31 08:44:31 [12099] [0] INFO: Retrieved 0 messages,
>>>> non-acknowledged messages: 0
>>>> 2010-12-31 08:44:31 [12099] [0] ERROR: Failed to open
>>>> '/etc/kannel/kannel.store.new' for writing, cannot create store-file
>>>> 2010-12-31 08:44:31 [12099] [0] ERROR: System error 13: Permission
>>>> denied
>>>> 2010-12-31 08:44:31 [12099] [0] PANIC: Cannot start with store-file
>>>> failing
>>>> 2010-12-31 08:44:31 [12099] [0] PANIC:
>>>> /usr/sbin/bearerbox(gw_panic+0x101) [0x80c60f1]
>>>> 2010-12-31 08:44:31 [12099] [0] PANIC: /usr/sbin/bearerbox(main+0xc44)
>>>> [0x8053714]
>>>> 2010-12-31 08:44:31 [12099] [0] PANIC:
>>>> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb70f8455]
>>>> 2010-12-31 08:44:31 [12099] [0] PANIC: /usr/sbin/bearerbox [0x8051d31]
>>>>
>>>>
>>>> my kannel.conf :
>>>>
>>>>
>>>> group = core
>>>> admin-port = 13000
>>>> admin-password = bar
>>>> #status-password = foo
>>>> admin-deny-ip = "*.*.*.*"
>>>> admin-allow-ip = "127.0.0.1;192.168.9.*"
>>>> log-file = "/var/log/kannel/kannel.log"
>>>> log-level = 1
>>>> access-log = "/var/log/kannel/access.log"
>>>> #http-proxy-host = "127.0.0.1"
>>>> #http-proxy-port = 8080
>>>> #http-proxy-exceptions = "127.0.0.1"
>>>> #http-proxy-username = "user"
>>>> #http-proxy-password = "password"
>>>> #ssl-certkey-file = "mycertandprivkeyfile.pem"
>>>> # Smsbox related
>>>> smsbox-port = 13013
>>>> box-deny-ip = "*.*.*.*"
>>>> box-allow-ip = "127.0.0.1;192.168.9.*"
>>>> unified-prefix = "00241,00358,0"
>>>> white-list = "http://127.0.0.1/white-list.txt";
>>>> black-list = "http://127.0.0.1/black-list.txt";
>>>> store-file = "/etc/kannel/kannel.store"
>>>> # Wapbox related
>>>> #wapbox-port = 13002
>>>> #udp-deny-ip = "*.*.*.*"
>>>> #udp-allow-ip = "127.0.0.1"
>>>> #wdp-interface-name = "*"
>>>>
>>>>
>>>> # SMSC CONNECTIONS - GLOBAL FIELDS
>>>> #group = smsc
>>>> #smsc =
>>>> #smsc-id = ID
>>>> #denied-smsc-id = "X;Y"
>>>> #allowed-smsc-id = "Z"
>>>> #preferred-smsc-id = "W"
>>>> #allowed-prefix = "040;050"
>>>> #denied-prefix = "060;070"
>>>> #alt-charset =
>>>>
>>>>
>>>> # SMSC Nokia CIMD2
>>>> #group = smsc
>>>> #smsc = cimd2
>>>> #host =
>>>> #port =
>>>> #smsc-username =
>>>> #smsc-password =
>>>> #keepalive =
>>>> #sender-prefix =
>>>>
>>>>
>>>> # SMSC EMI
>>>> #group = smsc
>>>> #smsc = emi2
>>>> #smsc = emi_ip to use the old implementation
>>>> #host =
>>>> #port =
>>>> #smsc-username =
>>>> #smsc-password =
>>>> #device = /dev/
>>>> #phone =
>>>> #our-port =
>>>> #receive-port =
>>>> #connect-allow-ip =
>>>> #keepalive =
>>>> #flow-control =
>>>>
>>>>
>>>> # SMSC SMPP
>>>> #group = smsc
>>>> #smsc = smpp
>>>> #host =
>>>> #port =
>>>> #receive-port =
>>>> #smsc-username =
>>>> #smsc-password =
>>>> #system-type =
>>>> #address-range =
>>>>
>>>>
>>>> # SMSC SEMA
>>>> #group = smsc
>>>> #smsc = sema
>>>> #device = /dev/tty0
>>>> #smsc_nua = (X121 smsc address)
>>>> #home_nua = (x121 radio pad address)
>>>> #wait_report = 0/1 (0 means false, 1 means true)
>>>>
>>>>
>>>> # SMSC OIS
>>>> #group = smsc
>>>> #smsc = ois
>>>> #host = 103.102.101.100
>>>> #port = 10000
>>>> #receive-port = 10000
>>>> #ois-debug-level = 0
>>>>
>>>>
>>>> # SMSC GSM
>>>> group = smsc
>>>> smsc = at
>>>> device = /dev/ttyS0
>>>> modemtype = nokia_6300
>>>> my-number = 07002033
>>>> speed = 115200
>>>> #pin = 2345
>>>> #validityperiod = 167
>>>> include = /etc/kannel/modems.conf
>>>>
>>>> # SMSC Fake
>>>> #group = smsc
>>>> #smsc = fake
>>>> #host =
>>>> #port =
>>>> #connect-allow-ip =
>>>>
>>>>
>>>> # SMSC HTTP
>>>> #group = smsc
>>>> #smsc = http
>>>> #system-type = kannel
>>>> #send-url =
>>>> #port =
>>>> #connect-allow-ip =
>>>> #username =
>>>> #password =
>>>>
>>>>
>>>> # SMSBOX SETUP
>>>>
>>>> group = smsbox
>>>> bearerbox-host = localhost
>>>> sendsms-port = 13014
>>>> global-sender = 13014
>>>> sendsms-chars = "0123456789 +-"
>>>> log-file = "/var/log/kannel/smsbox.log"
>>>> log-level = 0
>>>> #access-log = "access.log"
>>>> #white-list =
>>>> #black-list =
>>>> #reply-couldnotfetch =
>>>> #reply-couldnotrepresent =
>>>> #reply-requestfailed =
>>>> #reply-emptymessage =
>>>>
>>>>
>>>> # SEND-SMS USERS
>>>>
>>>> group = sendsms-user
>>>> username = nyrvan
>>>> password = 007
>>>> #user-deny-ip = ""
>>>> user-allow-ip = "127.0.0.1;192.168.9.*"
>>>>
>>>> # this sender is for Kannel relay testing (http_smsc)
>>>>
>>>> #group = sendsms-user
>>>> #username = kannel
>>>> #password = rL4y
>>>> #user-deny-ip = "*.*.*.*"
>>>> #user-allow-ip = "127.0.0.1"
>>>> #name = service_kannel
>>>> #forced-smsc = ID
>>>> #default-smsc = ID
>>>> #faked-sended =
>>>> #max-messages = 1
>>>> #concatenation = 1
>>>> #split-chars =
>>>> #split-suffix =
>>>> #omit-empty =
>>>> #header =
>>>> #footer =
>>>> #allowed-prefix =
>>>> #denied-prefix =
>>>> #white-list =
>>>> #black-list =
>>>>
>>>>
>>>>
>>>> # SMS SERVICES
>>>>
>>>> #group = sms-service
>>>> #name = nothing
>>>> #keyword = nop
>>>> #aliases = "noppy;niente"
>>>> #text = "You asked nothing and I did it!"
>>>> #get-url = "http://";
>>>> #post-url = "http://";
>>>> #file = "/tmp/"
>>>> #accepted-smsc = ID
>>>> #allowed-prefix =
>>>> #denied-prefix =
>>>> #catch-all = false
>>>> #send-sender = false
>>>> #strip-keyword = false
>>>> #faked-sender =
>>>> #max-messages = 1
>>>> #accept-x-kannel-headers = false
>>>> #assume-plain-text = false
>>>> #concatenation = false
>>>> #split-chars =
>>>> #split-suffix = "+"
>>>> #omit-empty = true
>>>> #header =
>>>> #footer =
>>>> #prefix =
>>>> #suffix =
>>>> #white-list =
>>>> #black-list =
>>>>
>>>>
>>>> # SMS SERVICE GET-URL EXAMPLE
>>>> #group = sms-service
>>>> #keyword = relay
>>>> #get-url =
>>>> "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t
>>>>
>>>>
>>>> # SMS SERVICE black-list
>>>> #group = sms-service
>>>> #keyword = black-list
>>>> #text = "You are not alowed to use this service, Go away!"
>>>>
>>>>
>>>> # SMS SERVICE Default
>>>> # there should be default always
>>>> group = sms-service
>>>> keyword = default
>>>> text = "No service specified"
>>>>
>>>> my modem.conf :
>>>>
>>>> group = modems
>>>> id = nokia_6300
>>>> name = "Nokia"
>>>> detect-string = "Nokia"
>>>> detect-string2 = "RM-217"
>>>> need-sleep = true
>>>> enable-mms = true
>>>> speed = 115200
>>>> no-pin = true
>>>>
>>>> Could someone help me ?
>>>>
>>>> Thank you.
>>>>
>>>> Regards
>>>>
>>>>
>>>>
>>>
>> Thank you M. Mfawa Alfred Onen for your answer.
>> I Chmod on 777 /dev/ttyS0  but no changes .
>>
>
>
>
> --
> Mfawa Alfred Onen
> M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)
> System Administrator
> Department of Computer Science,
> Bingham University.
>
> E-Mail: [email protected]
> Phone1: +234 805 944 3154
> Phone2: +234 803 079 6088
>
>
> Thank you Mfawa Alfred Onen, the right port was /dev/ttyACM0.
> But i have an other problem.
> Here  is my kannel.log:
>
> xxxxxxxxxx:/home/nyrvan# /usr/local/sbin/bearerbox /etc/kannel/kannel.conf
> 2011-01-07 13:53:20 [11514] [0] INFO: Debug_lvl = -1, log_file = <none>,
> log_lvl = 0
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Loading include file
> `/etc/kannel/modems.conf' (on line 118 of file /etc/kannel/kannel.conf).
> 2011-01-07 13:53:20 [11514] [0] WARNING: DLR: using default 'internal' for
> storage type.
> 2011-01-07 13:53:20 [11514] [0] INFO: DLR using storage type: internal
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Kannel bearerbox version `'.
> Build `Jan  6 2011 18:01:30', compiler `4.3.2'.
> System Linux, release 2.6.26-2-686, version #1 SMP Thu Aug 19 03:44:10 UTC
> 2010, machine i686.
> Hostname xxxxxxxxxx.xxxxxx.xxx, IP xxx.xxx.xxx.xxx.
> Libxml version 2.6.32.
> Using native malloc.
>
> 2011-01-07 13:53:20 [11514] [0] INFO: Added logfile
> `/var/log/kannel/kannel.log' with level `1'.
> 2011-01-07 13:53:20 [11514] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 2011-01-07 13:53:20 [11514] [0] WARNING: 'store-file' option deprecated,
> please use 'store-location' and 'store-type' instead.
> 2011-01-07 13:53:20 [11514] [0] INFO: SSL not supported, no SSL
> initialization done.
> 2011-01-07 13:53:20 [11514] [0] INFO: HTTP: Opening server at port 13000.
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2011-01-07 13:53:20 [11514] [0] DEBUG: starting smsbox connection module
> 2011-01-07 13:53:20 [11514] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2011-01-07 13:53:20 [11514] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2011-01-07 13:53:20 [11514] [0] INFO: SMS resend retry set to unlimited.
> 2011-01-07 13:53:20 [11514] [0] DEBUG: smsbox MO concatenated message
> handling enabled
> 2011-01-07 13:53:20 [11514] [0] INFO: DLR rerouting for smsc id <(null)>
> disabled.
> 2011-01-07 13:53:20 [11514] [0] INFO: AT2[/dev/ttyACM0]: configuration shows
> modemtype <nokia_6300>
> 2011-01-07 13:53:20 [11514] [0] DEBUG: AT2[/dev/ttyACM0]: Reading modem
> definitions from </etc/kannel/kannel.conf>
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Loading include file
> `/etc/kannel/modems.conf' (on line 118 of file /etc/kannel/kannel.conf).
> 2011-01-07 13:53:20 [11514] [0] DEBUG: AT2[/dev/ttyACM0]: Found <12> modems
> in config
> 2011-01-07 13:53:20 [11514] [0] INFO: AT2[/dev/ttyACM0]: read modem
> definition for <Nokia>
> 2011-01-07 13:53:20 [11514] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 11514.
> 2011-01-07 13:53:20 [11514] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2011-01-07 13:53:20 [11514] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 2011-01-07 13:53:20 [11514] [0] INFO:
> ----------------------------------------
> 2011-01-07 13:53:20 [11514] [0] INFO: Kannel bearerbox II version  starting
> 2011-01-07 13:53:20 [11514] [0] INFO: Loading store file
> `/etc/kannel/kannel.store'
> 2011-01-07 13:53:20 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
> Telnet mode = 0
> 2011-01-07 13:53:20 [11514] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router) maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [0] INFO: Store-file size 0, starting to unpack
> 2011-01-07 13:53:20 [11514] [0] INFO: Retrieved 0 messages, non-acknowledged
> messages: 0
> 2011-01-07 13:53:20 [11514] [0] DEBUG: Started thread 8
> (gw/bb_store_file.c:store_dumper)
> 2011-01-07 13:53:20 [11514] [0] INFO: MAIN: Start-up done, entering mainloop
> 2011-01-07 13:53:20 [11514] [0] DEBUG: AT2[/dev/ttyACM0]: start called
> 2011-01-07 13:53:20 [11514] [8] DEBUG: Thread 8
> (gw/bb_store_file.c:store_dumper) maps to pid 11514.
> 2011-01-07 13:53:20 [11514] [8] DEBUG: Dumping 0 messages to store
> 2011-01-07 13:53:21 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2011-01-07 13:53:21 [11514] [6] INFO: AT2[/dev/ttyACM0]: Logging in
> 2011-01-07 13:53:21 [11514] [6] INFO: AT2[/dev/ttyACM0]: init device
> 2011-01-07 13:53:21 [11514] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
> 2011-01-07 13:53:21 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: -->
> AT+CNMI=1,2,0,1,0^M
> 2011-01-07 13:53:22 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR
> 2011-01-07 13:53:22 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Generic error:
> ERROR
> 2011-01-07 13:53:22 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of
> device failed.
> 2011-01-07 13:53:22 [11514] [6] INFO: AT2[/dev/ttyACM0]: Closing device
> 2011-01-07 13:53:23 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Couldn't connect
> (retrying in 10 seconds).
> 2011-01-07 13:53:33 [11514] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2011-01-07 13:53:33 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
> Telnet mode = 0
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2011-01-07 13:53:34 [11514] [6] INFO: AT2[/dev/ttyACM0]: Logging in
> 2011-01-07 13:53:34 [11514] [6] INFO: AT2[/dev/ttyACM0]: init device
> 2011-01-07 13:53:34 [11514] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:34 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: -->
> AT+CNMI=1,2,0,1,0^M
> 2011-01-07 13:53:35 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR
> 2011-01-07 13:53:35 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Generic error:
> ERROR
> 2011-01-07 13:53:35 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of
> device failed.
> 2011-01-07 13:53:35 [11514] [6] INFO: AT2[/dev/ttyACM0]: Closing device
> 2011-01-07 13:53:35 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Couldn't connect
> (retrying in 10 seconds).
> 2011-01-07 13:53:45 [11514] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2011-01-07 13:53:45 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
> Telnet mode = 0
> 2011-01-07 13:53:46 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2011-01-07 13:53:46 [11514] [6] INFO: AT2[/dev/ttyACM0]: Logging in
> 2011-01-07 13:53:47 [11514] [6] INFO: AT2[/dev/ttyACM0]: init device
> 2011-01-07 13:53:47 [11514] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:47 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: -->
> AT+CNMI=1,2,0,1,0^M
> 2011-01-07 13:53:48 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR
> 2011-01-07 13:53:48 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Generic error:
> ERROR
> 2011-01-07 13:53:48 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of
> device failed.
> 2011-01-07 13:53:48 [11514] [6] INFO: AT2[/dev/ttyACM0]: Closing device
> 2011-01-07 13:53:48 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Couldn't connect
> (retrying in 10 seconds).
> ^C2011-01-07 13:53:50 [11514] [0] WARNING: Killing signal or HTTP admin
> command received, shutting down...
> 2011-01-07 13:53:50 [11514] [0] DEBUG: Shutting down Kannel...
> 2011-01-07 13:53:50 [11514] [0] DEBUG: shutting down smsc
> 2011-01-07 13:53:50 [11514] [0] DEBUG: AT2[/dev/ttyACM0]: Shutting down
> SMSCConn, slow
> 2011-01-07 13:53:50 [11514] [0] DEBUG: shutting down udp
> 2011-01-07 13:53:50 [11514] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2011-01-07 13:53:50 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.
> Telnet mode = 0
> ^C2011-01-07 13:53:50 [11514] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) terminates.
> 2011-01-07 13:53:50 [11514] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router) terminates.
> 2011-01-07 13:53:50 [11514] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> terminates.
> 2011-01-07 13:53:51 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2011-01-07 13:53:51 [11514] [6] INFO: AT2[/dev/ttyACM0]: Logging in
> 2011-01-07 13:53:52 [11514] [6] INFO: AT2[/dev/ttyACM0]: init device
> 2011-01-07 13:53:52 [11514] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:52 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
> 2011-01-07 13:53:53 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
> 2011-01-07 13:53:53 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2011-01-07 13:53:53 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: -->
> AT+CNMI=1,2,0,1,0^M
> 2011-01-07 13:53:53 [11514] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR
> 2011-01-07 13:53:53 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Generic error:
> ERROR
> 2011-01-07 13:53:53 [11514] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of
> device failed.
> 2011-01-07 13:53:53 [11514] [6] INFO: AT2[/dev/ttyACM0]: Closing device
> 2011-01-07 13:53:53 [11514] [6] INFO: AT2[/dev/ttyACM0]: Closing device
> 2011-01-07 13:53:53 [11514] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) terminates.
> 2011-01-07 13:53:53 [11514] [0] INFO: All flow threads have died, killing
> core
> 2011-01-07 13:53:53 [11514] [3] DEBUG: HTTP: No clients with requests,
> quitting.
> 2011-01-07 13:53:53 [11514] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> terminates.
> 2011-01-07 13:53:53 [11514] [0] DEBUG: Waiting for 2
> (gwlib/http.c:server_thread) to terminate
> 2011-01-07 13:53:53 [11514] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> terminates.
> 2011-01-07 13:53:53 [11514] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> terminates.
> 2011-01-07 13:53:53 [11514] [0] DEBUG: final clean-up for SMSCConn
> 2011-01-07 13:53:53 [11514] [0] DEBUG: smsbox MO concatenated message
> handling cleaned up
> 2011-01-07 13:53:53 [11514] [8] DEBUG: Dumping 0 messages to store
> 2011-01-07 13:53:53 [11514] [8] DEBUG: Thread 8
> (gw/bb_store_file.c:store_dumper) terminates.
> 2011-01-07 13:53:53 [11514] [0] INFO: Total WDP messages: received 0, sent 0
> 2011-01-07 13:53:53 [11514] [0] INFO: Total SMS messages: received 0, sent 0
> 2011-01-07 13:53:53 [11514] [0] DEBUG: Immutable octet strings: 233.
>
> It seems that Nokia 6300 cannot doesn't understand the command
> AT+CNMI=1,2,0,1,0^M.
> Could someone help me to fix it ?
>

Reply via email to