HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Probemodem Fails



Hello!

I still have not got any clue to help proceed!

I would like to solve my problems one at a time. First of all, I want
probemodem see my modems.

The software are: HylaFAX v4.0pl2 under Linux Slackware recompiled to
kernel 2.0.35 with RAID5 enabled with gcc 2.8.1; ZyXEL U-1496E.

File config.log generated by ./configure has some errors like

//usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lmalloc
ld: cannot open -lmalloc: No such file or directory
make: *** [t] Error 1
...
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lutil
ld: cannot open -lutil: No such file or directory
make: *** [t] Error 1
...
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lc
/tmp/cca011241.o: In function `t':
/usr/src/hylafax-v4.0pl2/t.c:1: undefined reference to `pututxline'
make: *** [t] Error 1
..
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lgen
ld: cannot open -lgen: No such file or directory
make: *** [t] Error 1
..

/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/bsdtypes.h: No such file or directory
# 1 "t.c++"

make: *** [t] Error 1
ld: cannot open -lutil: No such file or directory
...

I ignored these errors and proceeded

make
make install
faxsetup

Then, the first problem I face is that faxaddmodem always fails to get
best modem speed:

Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200

Unable to deduce DTE-DCE speed; check that you are using the
...

I can see the modem are responding to probemodem because the indicators
are flashing during the probing process. I have tried ttyS0, ttyS1,
cua0, and cua1 in combinations with 3 different modems of identical
model and 1 GVC modem. All failed to acquire the appropriate speed.

I have just successfully dialed out through /dev/cua0:

cu -d -l cua0 -s 38400 638209 >log 2>&1

cu: fconn_open: Opening port ACU (speed 38400)
cu: fconn_set: Changing setting to 0, 0, 2
cu: fcsend: Writing "AT&FX5\r"
cu: icexpect: Looking for 2 "OK"
cu: icexpect: Got "AT&FX5\r\r\nOK" (found it)
cu: fcsend: Writing "ATDT" \D "638209\r"
cu: icexpect: Looking for 7 "CONNECT"
cu: icexpect: Got "\r\nATDT638209\rcu: Got termination signal
" (error)
cu: fconn_close: Closing connection

Please note I killed process "cu" after I heard the modem was waiting
for the called party to pick up the phone.

Without resetting or changing anything, I then immediately tried command
"probemodem" and the result is the same - can not obtain the appropriate
speed.

I also tried hylafax-i386-linux-v4.0pl2-1.tar.gz. Probemodem still could
not get any appropriate speed in this version. Can there be
compatibility problem between probemodem and hardware?

Regards,




Project hosted by iFAX Solutions