I can't dialog with my modem on Linux Debian


#1

Hi,

We just buy a Wavecom Fastrack Supreme and would like to use it with Kannel.

We tested it on WIndows and NowSMS and it was working great.

I connect it on a Linux server with Debian on port com2 and i am unable to receive any response from it.

www:~# stty -a -F /dev/ttyS1
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = <undef>;
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal crtscts
ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

No answer from modem using minicom …

Kannel (1.4.1) said :

2008-07-02 16:47:10 [2346] [6] INFO: AT2[at1]: opening device
2008-07-02 16:47:10 [2346] [6] DEBUG: AT2[at1]: device opened
2008-07-02 16:47:11 [2346] [6] DEBUG: AT2[at1]: device opened
2008-07-02 16:47:11 [2346] [6] INFO: AT2[at1]: init device
2008-07-02 16:47:11 [2346] [6] INFO: AT2[at1]: speed set to 115200
2008-07-02 16:47:11 [2346] [6] DEBUG: AT2[at1]: --> ATZ^M
2008-07-02 16:47:15 [2346] [6] ERROR: AT2[at1]: Wrong or no answer to ATZ, ignoring
2008-07-02 16:47:15 [2346] [6] DEBUG: AT2[at1]: --> AT^M
2008-07-02 16:47:19 [2346] [6] ERROR: AT2[at1]: Wrong or no answer to AT. Trying again
2008-07-02 16:47:19 [2346] [6] DEBUG: AT2[at1]: --> AT^M
2008-07-02 16:47:23 [2346] [6] ERROR: AT2[at1]: Second attempt to send AT failed
2008-07-02 16:47:23 [2346] [6] ERROR: AT2[at1]: Opening failed. Terminating
2008-07-02 16:47:23 [2346] [6] INFO: AT2[at1]: closing device
2008-07-02 16:47:23 [2346] [6] INFO: AT2[at1]: opening device
2008-07-02 16:47:23 [2346] [6] DEBUG: AT2[at1]: device opened
2008-07-02 16:47:24 [2346] [6] DEBUG: AT2[at1]: device opened
2008-07-02 16:47:24 [2346] [6] INFO: AT2[at1]: init device
2008-07-02 16:47:24 [2346] [6] INFO: AT2[at1]: speed set to 115200
2008-07-02 16:47:24 [2346] [6] DEBUG: AT2[at1]: --> ATZ^M
2008-07-02 16:47:28 [2346] [6] ERROR: AT2[at1]: Wrong or no answer to ATZ, ignoring
2008-07-02 16:47:28 [2346] [6] DEBUG: AT2[at1]: --> AT^M
2008-07-02 16:47:32 [2346] [6] ERROR: AT2[at1]: Wrong or no answer to AT. Trying again

What can i do, please ?

Sorry for my poor english.

Thanks.

Regards,
Olivier


#2

Problem solved, thanks!