Hello, my error is : 2009-04-25 14:49:05 [7887] [6] INFO: AT2[/dev/ttyS0]: opening device 2009-04-25 14:49:05 [7887] [6] ERROR: AT2[/dev/ttyS0]: open failed! ERRNO=13 2009-04-25 14:49:05 [7887] [6] ERROR: System error 13: Permission denied 2009-04-25 14:49:05 [7887] [6] ERROR: AT2[/dev/ttyS0]: at2_device_thread: open_at2_device failed. Terminating
???? 2009/4/25 BeCauet <[email protected]> > Hello! > Thanks for your configuration. > > I just connect my fastrack to Kannel. > Kannel can not connect to the modem!!! > > My sim card does not have a PIN code (disabled) and if I try to call the > phone number, the tonality works. (LED blinks) > > I even connected the modem to my Windows XP laptop, and I had to send AT > commands to the modem via hyperterminal! Great! > > I do not understand! :-(( > > My config: > > cauet:/etc/kannel# dmesg | grep tty > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > cauet:/etc/kannel# > > > this is what Kannel said: > > SMSC connections: > *unknown* AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0, > queued 0 msgs) > > or : > > SMSC connections: > *unknown* AT2[/dev/ttyS1] (connecting, rcvd 0, sent 0, failed 0, > queued 0 msgs) > > > Please help :-) > > 2009/4/21 nikos nikolaou <[email protected]> > > >> >> On Tue, Apr 21, 2009 at 7:49 PM, BeCauet <[email protected]> wrote: >> >>> Hello, >>> You use this configuration to fastrack 1206B? >>> >>> >>> group = smsc >>> smsc = at >>> modemtype = wavecom >>> device = /dev/ttyS1 >>> >>> >>> Thanks! >>> >>> 2009/4/14 BeCauet <[email protected]> >>> >>> Ok thank you. >>>> I have buy 2x FASTRACK M1206B :-) >>>> >>>> 2009/4/8 nikos nikolaou <[email protected]> >>>> >>>> >>>>> >>>>> On Wed, Apr 8, 2009 at 4:51 PM, BeCauet <[email protected]> wrote: >>>>> >>>>>> hello, >>>>>> can you tell me which model is compatible with Kannel? >>>>>> >>>>>> Wavecom WM02DA-G900 >>>>>> Wavecom WMOD2 - M1203A >>>>>> Wavecom FASTRACK M1206B >>>>>> >>>>>> thank you >>>>> >>>>> >>>>> I use Wavecom FASTRACK M1206B with kannel and works fine. >>>>> >>>>> -- >>>>> /*Nikos Nikolaou*/ >>>>> /*Upcoming Computers Engineer*/ >>>>> >>>> Thats my configuration file: >> >> #Core Configuration! >> group = core >> admin-port = 13000 >> smsbox-port = 13001 >> admin-password = xxxxx >> log-file = "/tmp/log/kannel.log" >> log-level = 0 >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> >> #sms configuration >> group = smsc >> smsc = at >> modemtype = auto >> device=/dev/ttyS0 >> my-number = xxxxxxxxx >> speed = 9600 >> connect-allow-ip = 127.0.0.1 >> log-level = 0 >> >> #sms configuration out >> group = smsbox >> bearerbox-host = 127.0.0.1 >> sendsms-port = 13013 >> global-sender = xxxxx >> mo-recode = true >> log-level = 0 >> >> #sendsms configuration >> group = sendsms-user >> username = xxxxxx >> password = xxxxxxxx >> concatenation= true >> max-messages = 10 >> >> #smsservice configuration >> group = sms-service >> keyword = >> catch-all = yes >> omit-empty = true >> max-messages = 1 >> post-url = " >> http://localhost:8000/sendsms.php?phone=%p&text1=%k&text2=%s&text3=%s" >> >> include = "/usr/local/kannel/modems.conf" >> >> I put auto in modemtype to force kannel look for the manufacturers name.I >> suggest u put auto too. >> My device name kannel was attached on my computer is the Serial Com port >> and because i have only 1 com port its name is ttyS0 if u put ttyS1 that >> means you connected it on the 2nd serial com port. :) >> If u have only 1 com port then write: ttyS0. >> I set the speed to 9600. >> Before i set it to 9600 i had it set to auto so that kannel try all speeds >> and find the working one and then set it up automatically.Although that was >> working i realized that was taking too long for my opinion to find the best >> speed so i saw on my log file that it set the speed to 9600 and then i set >> it up in my configuration file so it wont have to find the best speed and >> buy me some more time. :) >> In sms-box you wont need the mo-recode feature because i wanted kannel to >> accept greek sms and i have to put it there and try to send the sms to my >> php script unchanged. >> Although if u set it up it wont make a difference. >> The omit-empty feature tells kannel that if an empty message was sent from >> the localhost to the sms-box to send it don't send it and just discard it! >> You must include the last line: include = >> "/usr/local/kannel/modems.conf" >> so that kannel finds your modem. >> In the username and password features you put whatever you want. >> In the global-sender and in the my-number features you put ur sim card >> number. >> Study my configuration file and if you have any questions read the >> documentation for the specific feature and if u still have questions i'm >> here to explain it to you... >> >> The rest is on ur screen screen. :) Try it, study it and i hope you will >> set it up and running in no time.. >> >> Regards >> >> >> -- >> /*Nikos Nikolaou*/ >> /*Upcoming Computers Engineer*/ >> > >
