Thanks a lot Nikos and Alvaro,

I have downloaded both minicom and wvdial. let me check if i can configure
it, else might have to come to you for tips:).

The below mentioned command doesnt work:(. Says-

ls: invalid option -- /

Thanks
Sid
2009/9/10 Nikos Balkanas <[email protected]>

>  Sorry for budding in,
>
> but I have met a similar problem recently. Seems that /dev/COM34 is not a
> valid unix device. You cannot use windows devices and expect them to work
> under cygwin or unix. To find out how cygwin interprests windows ports, you
> have to address a cygwin forum.
>
> What is the output of:
>
> ls -la /dev/COM34
>
> ?? Does it even exist?
>
> Alvaro suggested a very correct approach. Get wvdial or minicom. You
> probably won't find them for cygwin, so you will have to compile them from
> sources. Minicom is simpler and easier to compile. Wvdial, however, will
> scan your cygwin installation and find the port of interest for you.
>
> You might get away by /dev/modem, if it exists under cygwin.
>
> BR,
> Nikos
>
>  ----- Original Message -----
> *From:* Siddhartha` Adhikari <[email protected]>
> *To:* Alvaro Cornejo <[email protected]> ; [email protected]
> *Sent:* Wednesday, September 09, 2009 9:06 PM
> *Subject:* Re: Nokia 5310 error
>
> Hi Alvaro,
>
> My smsc config is:
>
> group = smsc
> smsc = at
> smsc-id=nokia5310
> modemtype = nokiaphone
> device = /dev/COM34
> speed = 9600
>
> The device manager shows the Nokia 5310 at the port 34 and hence i have
> used the same. Still its not working.
>
> Thanks
> Siddhartha
>  On Wed, Sep 9, 2009 at 6:56 PM, Alvaro Cornejo 
> <[email protected]>wrote:
>
>> It should work if you can compile it on cygwin...
>>
>> what is your smsc-at config? Seems you are not defining a valid tty port
>>
>> 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 <http://www.perusms.net/>
>> www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>>
>>   On Tue, Sep 8, 2009 at 11:52 PM, Siddhartha` Adhikari<[email protected]>
>> wrote:
>> > Hi Alvaro,
>> >
>> > Would a wvdial or minicom work with windows?
>> > Here is the modems conf entry:-
>> >
>> >
>> > group = modems
>> >
>> > id = nokia
>> >
>> > name = "Nokia"
>> >
>> > detect-string = "Nokia"
>> >
>> > #need-sleep = true
>> >
>> > init-string="ATQ0V1E0"
>> >
>> > #keepalive-cmd = "AT+CBC;+CSQ"
>> >
>> > message-storage = "SM"
>> >
>> > On Wed, Sep 9, 2009 at 3:29 AM, Alvaro Cornejo <
>> [email protected]>
>> > wrote:
>> >>
>> >> test you modem with vwdial  or minicom and set accordingly in kannel
>> >> config.
>> >>
>> >> attach modem configs ..
>> >>
>> >> 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 <http://www.perusms.net/>
>> www.smsglobal.com.mx y
>> >> www.pravcom.com
>> >>
>> >>
>> >>
>> >> On Tue, Sep 8, 2009 at 3:48 PM, Siddhartha` Adhikari<[email protected]
>> >
>> >> wrote:
>> >> > Any inputs on this please?
>> >> > is it because of the init-string? How to decide if it is the correct
>> >> > one?or
>> >> > any other reason?
>> >> >
>> >> > Thanks
>> >> > Siddhartha
>> >> >
>> >> > On Tue, Sep 8, 2009 at 10:41 AM, Siddhartha` Adhikari
>> >> > <[email protected]>
>> >> > wrote:
>> >> >>
>> >> >> Hi All,
>> >> >>
>> >> >> I am using Cygwin for Windows Vista and a Nokia 5310 handset.
>> >> >> Here is my kannel.conf entry:-
>> >> >>
>> >> >> group = smsc
>> >> >> smsc = at
>> >> >> smsc-id=nokia5310
>> >> >> modemtype = nokiaphone
>> >> >> device = /dev/COM34
>> >> >> speed = 9600
>> >> >>
>> >> >> include="modems.conf"
>> >> >>
>> >> >> and modems.conf entry:-
>> >> >>
>> >> >>
>> >> >> group = modems
>> >> >>
>> >> >> id = nokiaphone
>> >> >>
>> >> >> name = modemnok
>> >> >>
>> >> >> detect-string = nokia
>> >> >>
>> >> >> #need-sleep = true
>> >> >>
>> >> >> init-string = "AT+CPMS=?"
>> >> >>
>> >> >> speed=9600
>> >> >>
>> >> >> How ever when I enter ./bearerbox -v 1 sidkannel.conf, I get the
>> >> >> following
>> >> >> log:-
>> >> >>
>> >> >> $ ./bearerbox -v 1 sidkannel.conf
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: Debug_lvl = 1, log_file =
>> <none>,
>> >> >> log_lvl =
>> >> >>  0
>> >> >> 2009-09-08 10:36:42 [9288] [0] WARNING: DLR: using default
>> 'internal'
>> >> >> for
>> >> >> storag
>> >> >> e type.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: DLR using storage type:
>> internal
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: Added logfile `/sid.log' with
>> >> >> level
>> >> >> `1'.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: Started access logfile
>> >> >> `/access.log'.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: SSL not supported, no SSL
>> >> >> initialization do
>> >> >> ne.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: HTTP: Opening server at port
>> >> >> 13000.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: BOXC: 'smsbox-max-pending' not
>> >> >> set,
>> >> >> using d
>> >> >> efault (100).
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: Set SMS resend frequency to 60
>> >> >> seconds.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: SMS resend retry set to
>> unlimited.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: DLR rerouting for smsc id
>> >> >> <nokia5310>
>> >> >> disab
>> >> >> led.
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: configuration
>> >> >> shows
>> >> >> modemty
>> >> >> pe <nokiaphone>
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: read modem
>> >> >> definition
>> >> >> for <
>> >> >> modemnok>
>> >> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: opening device
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO:
>> >> >> ----------------------------------------
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: Kannel bearerbox II version
>> 1.4.3
>> >> >> starting
>> >> >> 2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link:
>> >> >> fail
>> >> >> to set
>> >> >> termios attribute
>> >> >> 2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate
>> >> >> ioctl
>> >> >> for d
>> >> >> evice
>> >> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: Logging in
>> >> >> 2009-09-08 10:36:42 [9288] [0] INFO: MAIN: Start-up done, entering
>> >> >> mainloop
>> >> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: init device
>> >> >> 2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link:
>> >> >> fail
>> >> >> to set
>> >> >> termios attribute
>> >> >> 2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate
>> >> >> ioctl
>> >> >> for d
>> >> >> evice
>> >> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: speed set to
>> 9600
>> >> >> 2009-09-08 10:36:46 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no
>> >> >> answer
>> >> >> to ATZ,
>> >> >>  ignoring
>> >> >> 2009-09-08 10:36:50 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no
>> >> >> answer
>> >> >> to AT.
>> >> >> Trying again
>> >> >>
>> >> >> What is a Termios attribute and icotl? How can I set it? What could
>> be
>> >> >> the
>> >> >> issue?
>> >> >>
>> >> >>
>> >> >>
>> >> >> Thanks and Regards
>> >> >>
>> >> >> Siddhartha
>> >> >>
>> >> >>
>> >> >
>> >
>> >
>>
>
>

Reply via email to