Sorry Ted, I'm running as root and I suppose this has the necessary rights for... everything.
In the other hand, my /dev/ttyS0 have the following perms/owners: crw-rw---- root uucp 8-) Pedro -----Original Message----- From: Ted [mailto:[EMAIL PROTECTED] Sent: ter�a-feira, 22 de Fevereiro de 2005 11:51 To: [email protected]; 'Pedro Braz�o Ferreira' Subject: RE: Who had sucess with Siemens MC35i config? Pedro it appears to me as the user has no right to open your tty Try change to superuser (su) and run again, if it will work then you may do something on the user rights Cheers Ted -----Original Message----- From: Pedro Braz�o Ferreira [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:35 PM To: 'Ted'; [email protected] Subject: RE: Who had sucess with Siemens MC35i config? Hi Ted, After starting bearerbox, I got this: 2005-02-22 11:14:22 [10128] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2005-02-22 11:14:22 [10128] [0] INFO: DLR using storage type: internal 2005-02-22 11:14:22 [10128] [0] INFO: Added logfile `/usr/local/kannel/log/kannel.log' with level `0'. 2005-02-22 11:14:22 [10128] [0] INFO: Started access logfile `/usr/local/kannel/log/access.log'. 2005-02-22 11:14:22 [10128] [0] INFO: HTTP: Opening server at port 13000. 2005-02-22 11:14:22 [10128] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-02-22 11:14:22 [10128] [0] INFO: DLR rerouting for smsc id <FAKE> disabled.2005-02-22 11:14:22 [10128] [0] INFO: DLR rerouting for smsc id <MODEM> disabled. 2005-02-22 11:14:22 [10128] [0] INFO: AT2[MODEM]: configuration shows modemtype <siemens_mc35i> 2005-02-22 11:14:22 [10128] [0] INFO: AT2[MODEM]: read modem definition for <Siemens MC35i> 2005-02-22 11:14:22 [10128] [0] INFO: Adding interface * 2005-02-22 11:14:22 [10128] [0] INFO: ---------------------------------------- 2005-02-22 11:14:22 [10128] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-02-22 11:14:22 [10128] [0] INFO: Loading store file `/usr/local/kannel/log/kannel.store' 2005-02-22 11:14:22 [10128] [0] INFO: Store-file size 0, starting to unpack 2005-02-22 11:14:22 [10128] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2005-02-22 11:14:22 [10128] [0] INFO: MAIN: Start-up done, entering mainloop 2005-02-22 11:14:22 [10128] [8] INFO: AT2[MODEM]: trying to use speed <19200> from modem definition 2005-02-22 11:14:22 [10128] [8] INFO: AT2[MODEM]: opening device 2005-02-22 11:14:23 [10128] [8] INFO: AT2[MODEM]: speed set to 19200 2005-02-22 11:14:25 [10128] [8] INFO: AT2[MODEM]: closing device 2005-02-22 11:14:25 [10128] [8] INFO: AT2[MODEM]: speed is 19200 2005-02-22 11:14:25 [10128] [8] INFO: AT2[MODEM]: opening device 2005-02-22 11:14:26 [10128] [8] INFO: AT2[MODEM]: init device 2005-02-22 11:14:26 [10128] [8] INFO: AT2[MODEM]: speed set to 19200 2005-02-22 11:14:27 [10128] [8] ERROR: AT2[MODEM]: Opening failed. Terminating 2005-02-22 11:14:27 [10128] [8] INFO: AT2[MODEM]: closing device And, using Minicom, the AT commands results on this: Welcome to minicom 2.00.0 OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n Compiled on Jan 25 2003, 00:15:18. Press CTRL-A Z for help on special keys AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 OK ATI SIEMENS MC35i REVISION 01.03 OK So, my problem is on line that tell me: 2005-02-22 11:14:27 [10128] [8] ERROR: AT2[MODEM]: Opening failed. Terminating Is this right? Thx for your support! PBF -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Sent: ter�a-feira, 22 de Fevereiro de 2005 10:39 To: [email protected] Subject: RE: Who had sucess with Siemens MC35i config? Pedro I don�t know how to help you I used that modem couple of months I go and it worked fine with me. What exactly is the problem? Ted -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Braz�o Ferreira Sent: Tuesday, February 22, 2005 12:30 PM To: [email protected] Subject: Who had sucess with Siemens MC35i config? Daer fellows, I'm feeling some stress setting up a Siemens MC35i GSM model to act as a virtual SMSC. My box is a Red Hat 9 Linux distribution with Kannel 1.4.0 and everything is working fine but the modem connection. As I read on a mail archive, I'm using a configuration based on the Siemens TC35 example contained on default modems.conf, but it seems doesn't work. My setup is as below: group = smsc smsc = at smsc-id = MODEM device = /dev/ttyS0 modemtype = siemens_mc35i #pin = 1212 group = modems id = siemens_mc35i name = "Siemens MC35i" detect-string = "SIEMENS" detect-string2 = "MC35i" init-string = "AT+CNMI=1,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true After connected as a standard serial modem, I got success testing it with AT commands via Minicom. So, if one of you have any experience with this device I'll appreciate some help. Thx in advance, Pedro
