VectorLinux
October 30, 2014, 02:27:29 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: [solved] efax  (Read 1388 times)
MarkGrieveson
Vectorian
****
Posts: 531


« on: April 26, 2012, 01: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:
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:
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, 08:47:55 pm by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #1 on: April 26, 2012, 01:56:46 pm »

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

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

I then changed the permissions:

Code:
vector://dev
root:# chmod 666 /dev/modem

I then tried to run efax:

Code:
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, 02:23:52 pm by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #2 on: April 27, 2012, 08: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, 09:18:24 pm by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!