Hi, Kannel runs under Cygwin. Cygwin should have its own device mapping for windows ports. You cannot access it through windows ports.
If Cygwin has dmesg get device by: dmesg | grep tty If it has /var/log/messages or /var/adm/messages get it through: grep tty <messages> Else you can use wvdial to autodetect device. Or you can contact Cygwin fora for better ideas. BR, Nikos ----- Original Message ----- From: Siddhartha` Adhikari To: Nikos Balkanas ; users@kannel.org Sent: Sunday, September 06, 2009 11:09 PM Subject: Re: How to find the modem and device type for a Cellphone? Thanks Nikos, It is configured at COM34. Now I went through the user guide and tried to set up my smskannel.conf and modems.conf as mentioned. However,starting the bearerbox gives errors i.e the device is not being recognised:- $ ./bearerbox -v 1 sidkannel.conf 2009-09-07 01:35:25 [3132] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2009-09-07 01:35:25 [3132] [0] WARNING: DLR: using default 'internal' for storag e type. 2009-09-07 01:35:25 [3132] [0] INFO: DLR using storage type: internal 2009-09-07 01:35:25 [3132] [0] INFO: Added logfile `/sid.log' with level `1'. 2009-09-07 01:35:25 [3132] [0] INFO: Started access logfile `/access.log'. 2009-09-07 01:35:25 [3132] [0] INFO: SSL not supported, no SSL initialization do ne. 2009-09-07 01:35:25 [3132] [0] INFO: HTTP: Opening server at port 13000. 2009-09-07 01:35:25 [3132] [0] INFO: BOXC: 'smsbox-max-pending' not set, using d efault (100). 2009-09-07 01:35:25 [3132] [0] INFO: Set SMS resend frequency to 60 seconds. 2009-09-07 01:35:25 [3132] [0] INFO: SMS resend retry set to unlimited. 2009-09-07 01:35:25 [3132] [0] INFO: DLR rerouting for smsc id <city> disabled. 2009-09-07 01:35:25 [3132] [0] INFO: HTTP: Opening server at port 8081. 2009-09-07 01:35:25 [3132] [0] INFO: HTTP[city]: Initiated and ready 2009-09-07 01:35:25 [3132] [0] INFO: DLR rerouting for smsc id <(null)> disabled . 2009-09-07 01:35:25 [3132] [0] INFO: AT2[/dev/COM34]: configuration doesn't show modemtype. will autodetect 2009-09-07 01:35:25 [3132] [8] INFO: AT2[/dev/COM34]: opening device 2009-09-07 01:35:25 [3132] [0] INFO: ---------------------------------------- 2009-09-07 01:35:25 [3132] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-09-07 01:35:25 [3132] [8] ERROR: AT2[/dev/COM34]: at_data_link: fail to set termios attribute 2009-09-07 01:35:25 [3132] [8] ERROR: System error 25: Inappropriate ioctl for d evice 2009-09-07 01:35:25 [3132] [0] INFO: MAIN: Start-up done, entering mainloop 2009-09-07 01:35:26 [3132] [8] ERROR: AT2[/dev/COM34]: at_data_link: fail to set termios attribute 2009-09-07 01:35:26 [3132] [8] ERROR: System error 25: Inappropriate ioctl for d evice 2009-09-07 01:35:26 [3132] [8] INFO: AT2[/dev/COM34]: speed set to 9600 2009-09-07 01:35:36 [3132] [8] ERROR: AT2[/dev/COM34]: Couldn't connect (retryin g in 10 seconds). 2009-09-07 01:35:46 [3132] [8] INFO: AT2[/dev/COM34]: opening device 2009-09-07 01:35:49 [3132] [8] WARNING: AT2[/dev/COM34]: trying to open device w ith not closed device!!! Please report!!! 2009-09-07 01:35:49 [3132] [8] INFO: AT2[/dev/COM34]: Closing device 2009-09-07 01:35:49 [3132] [8] ERROR: AT2[/dev/COM34]: at_data_link: fail to set termios attribute 2009-09-07 01:35:49 [3132] [8] ERROR: System error 25: Inappropriate ioctl for d evice 2009-09-07 01:35:50 [3132] [8] ERROR: AT2[/dev/COM34]: at_data_link: fail to set termios attribute 2009-09-07 01:35:50 [3132] [8] ERROR: System error 25: Inappropriate ioctl for d evice 2009-09-07 01:35:50 [3132] [8] INFO: AT2[/dev/COM34]: speed set to 9600 Please note that I am using a Cygwin with Windows Vista. My kannel file has the following entry:- group = smsc smsc = at modemtype = auto device = /dev/COM34 speed = 9600 include="modems.conf" while modems.conf has the one provided in the /doc/examples Regards Siddhartha 2009/9/7 Nikos Balkanas <nbalka...@gmail.com> Hi, How about going to the Hardware manager in Windows and look under driver. But I am sure you will find that it is a Nokia 5310, which you knew already. Maybe the question should be how to configure said modem to kannel. Open doc/examples/modems.conf. you can find an entry in there about Nokia phones. Then user-guide can tell you how to configure that entry to kannel. BR, Nikos ----- Original Message ----- From: Siddhartha` Adhikari To: ken.bell...@gmail.com ; users@kannel.org Sent: Sunday, September 06, 2009 6:42 PM Subject: Re: How to find the modem and device type for a Cellphone? Thanks Kenny, However I am using Cygwin and Windows Vista. I should have mentioned it. And if I use the same command it doesnt work:( Is there any other command? Regards Siddhartha On Sun, Sep 6, 2009 at 7:58 PM, Kenny Orisanaiye <ken.bell...@gmail.com> wrote: Hi, If you are using linux, you may type the following command # wvdialconf /etc/wvdial.conf It will scan and display the list of all connected modems with their device name and other relevant details. -- Kenny e: ke...@nuobjects.com w: www.nuObjects.com Bulk SMS Solutions | Managed Hosting | Enterprise Application Development On Sun, Sep 6, 2009 at 8:39 AM, Siddhartha` Adhikari <grad...@gmail.com> wrote: Hi, I might be asking a very basic question, but wanted to know:- How to find the device and modem type for a cellphone? For e.g I am trying to use a Nokia 5310, how do i find the device and the modem type? Regards Siddhartha