Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic i686)
* Documentation: https://help.ubuntu.com/
New release '12.04 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Thu Jan 5 03:54:11 2006 from 77.194.224.227
andrew@ubuntu-11:~$ cd ~/Downloads/efax
andrew@ubuntu-11:~/Downloads/efax$ ./efax -o2 -vewinchmart
./efax: Thu Jan 5 12:58:18 2006 efax v 0.9a-001114 Copyright 1999 Ed Casas
./efax: Thu Jan 5 12:58:18 2006 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 58:18 compiled Jan 5 2006 04:01:03
efax: 58:18 argv[0]=./efax
efax: 58:18 argv[1]=-o2
efax: 58:18 argv[2]=-vewinchmart
efax: 58:20 opened /dev/modem
efax: 58:21 command "Q0V1"
efax: 58:21 waiting 5.0 s
efax: 58:24 .412 [ATQ0V1<CR><CR><LF>]
efax: 58:24 .472 [OK<CR><LF>]
efax: 58:24 response "OK"
efax: 58:24 command "E0"
efax: 58:24 waiting 5.0 s
efax: 58:24 .592 [ATE0<CR><CR><LF>]
efax: 58:24 .644 [OK<CR><LF>]
efax: 58:24 response "OK"
efax: 58:24 command "I3"
efax: 58:24 waiting 5.0 s
efax: 58:24 .792 [<CR><LF>537EP <CR><LF>]
efax: 58:24 .812 [<CR><LF>OK<CR><LF>]
efax: 58:24 response "OK"
efax: 58:24 command "+FCLASS=2"
efax: 58:24 waiting 5.0 s
efax: 58:24 .984 [<CR><LF>OK<CR><LF>]
efax: 58:24 response "OK"
efax: 58:25 command "+FMFR?"
efax: 58:25 waiting 5.0 s
efax: 58:25 .132 [<CR><LF>RSA REV 4.04 <CR><LF>]
efax: 58:25 .152 [<CR><LF>OK<CR><LF>]
efax: 58:25 response "OK"
efax: 58:25 command "+FMDL?"
efax: 58:25 waiting 5.0 s
efax: 58:25 .304 [<CR><LF>FAX CLASS 2 (TIA/EIA SP-2388)<CR><LF>]
efax: 58:25 .324 [<CR><LF>OK<CR><LF>]
efax: 58:25 response "OK"
efax: 58:25 using 537EP RSA REV 4.04 FAX CLASS 2 (TIA/EIA SP-2388) in
class 2
efax: 58:25 command "+FCR=1"
efax: 58:25 waiting 5.0 s
efax: 58:25 .492 [<CR><LF>OK<CR><LF>]
efax: 58:25 response "OK"
efax: 58:25 command "+FDIS?"
efax: 58:25 waiting 5.0 s
efax: 58:25 .544 [<CR><LF>1,5,0,2,0,0,0,0<CR><LF>]
efax: 58:25 .564 [<CR><LF>OK<CR><LF>]
efax: 58:25 response "OK"
efax: 58:25 command "+FLID=" ""
efax: 58:25 waiting 5.0 s
efax: 58:25 .632 [<CR><LF>OK<CR><LF>]
efax: 58:25 response "OK"
efax: 58:25 command "A"
efax: 58:25 waiting 120.0 s
efax: 59:56 .384 [<CR><LF>NO CARRIER<CR><LF>]
efax: 59:56 response "NO CARRIER"
efax: 59:56 Error: unable to answer call
efax: 59:56 command "Q0V1"
efax: 59:56 waiting 5.0 s
efax: 59:56 .564 [<CR><LF>OK<CR><LF>]
efax: 59:56 response "OK"
efax: 59:56 command "H"
efax: 59:56 waiting 5.0 s
efax: 59:57 .424 [<CR><LF>OK<CR><LF>]
efax: 59:57 response "OK"
efax: 59:57 done, returning 3 (invalid modem response)
andrew@ubuntu-11:~$ ls -l /dev/ttyS32
lrwxrwxrwx 1 root root 10 2006-01-05 04:08 /dev/ttyS32 -> /dev/537ep
andrew@ubuntu-11:~$ strace -v -e trace=all -f -o wvdialconf.log wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3 S4 S5 S6 S7 S8
Modem Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16
Modem Port Scan<*1>: S17 S18 S19 S20 S21 S22 S23 S24
Modem Port Scan<*1>: S25 S26 S27 S28 S29 S30 S31
WvModem<*1>: Cannot get information for serial port.
ttyS32<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS32<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS32<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://alumnit.ca/wiki/?WvDial
andrew@ubuntu-11:~$ vi wvdialconf.log
This shows the select call on ttyS32 with a .5 sec delay times out.
andrew@ubuntu-11:~$ wvdial -C ./wvdial.conf
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=2
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=2
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
andrew@ubuntu-11:~$ exit
logout
Connection to 74.66.23.158 closed.
[philippe@victor ~]$
You may try feeding ~/wvdial.conf with a correct Phone/Username/Password
You may also try changing +FCLASS=2 to +FCLASS=0
However your 537EP modem is pretty slow to respond on your Dell
computer. This explains the numerous timeouts including with efax on
ATQOV1. I had to change it from 2 seconds to 5 seconds.
--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/
SIP: sip:Vouters@xxxxxxxxxxxxxxxx