VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [solved] efax  (Read 2081 times)

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
[solved] efax
« on: April 26, 2012, 02:04:27 pm »

Hello.  I have a hardware modem (56K) so I tried to set up efax.  However, I can't get it started:

Code: [Select]
mark:$ efax
efax: Thu Apr 26 17:16:59 2012 efax v 0.9 Copyright 1999 Ed Casas
efax: Thu Apr 26 17:16:59 2012 efax v 0.9 Copyright 1999 Ed Casas
efax: 16:59 compiled Sep 15 2011 01:58:26
efax: 16:59 Error: can't open serial port /dev/modem: No such file or directory
efax: 16:59 done, returning 2 (unrecoverable error)
vector:/~
mark:$

Here's some information on the modem:

Code: [Select]
vector:/~
mark:$ lspci | grep Modem
02:0d.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 (rev 01)
vector:/~
mark:$
« Last Edit: April 27, 2012, 09:47:55 pm by MarkGrieveson »
Logged
I am using VL7.0 standard with XFCE

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: efax
« Reply #1 on: April 26, 2012, 02:56:46 pm »

I created /dev/modem and linked it to /dev/ttyS2:

Code: [Select]
vector://dev
root:# ln -s /dev/ttyS2 /dev/modem

I then changed the permissions:

Code: [Select]
vector://dev
root:# chmod 666 /dev/modem

I then tried to run efax:

Code: [Select]
vector://dev
mark:$ efax
efax: Thu Apr 26 18:01:07 2012 efax v 0.9 Copyright 1999 Ed Casas
efax: Thu Apr 26 18:01:07 2012 efax v 0.9 Copyright 1999 Ed Casas
efax: 01:07 compiled Sep 15 2011 01:58:26
efax: 01:07 opened /dev/modem
efax: 01:08 using U.S. Robotics 56K FAX INT V5.22.45 U.S. Robotics 56K FAX OK OK in class 2.0
efax: 02:00 Error: abnormal termination (code 74)
efax: 02:00 Error: Receive Phase B Hangup Codes:
efax: 02:00 Error:   T.30 T1 timeout, after EOM received
efax: 02:00 Error: unable to answer call
efax: 02:01 done, returning 3 (invalid modem response)
vector://dev

I didn't have a phone line connected to the modem, so I'm not surprised by the result.  However, is efax just a command line program?  I used efax on Debian, and it was a gui program there.  The README file for efax in /usr/share/doc says there is a man page for efax, but when I tried to view it via "man efax" and "man efax(1)" I was told that the man page did not exist.

[later edit]  I discovered that I was using efax-gtk on Debian, which is a gui front-end to efax.  Think I'll request that as a package for Vector.  I did find it on slackfind.net, so I now do have it.
« Last Edit: April 26, 2012, 03:23:52 pm by MarkGrieveson »
Logged
I am using VL7.0 standard with XFCE

MarkGrieveson

  • Vectorian
  • ****
  • Posts: 531
Re: [solved] efax
« Reply #2 on: April 27, 2012, 09:51:57 pm »

The /dev/modem link was gone upon rebooting.  However, I added my user to the dialout group, and set up efax-gtk to use ttyS2 (which is where my modem is).  So, everything works now.

As well, there is a man-page for efax.  It came up after rebooting the machine.
« Last Edit: April 27, 2012, 10:18:24 pm by MarkGrieveson »
Logged
I am using VL7.0 standard with XFCE