Link to home
Start Free TrialLog in
Avatar of racone
raconeFlag for United States of America

asked on

Setup a Linux system with mgetty+sendfax to receive faxes

We use Red Hat Linux 5+.  We currently have a hunt group of a few MultiTech 57.6 fax modems that are currently used for incoming PPP connections for image downloads with FTP.  We use "mgetty+sendfax" and "ppp" for this process, as configured by me.  Anyway, there has been a request to expand upon the role of this setup to also allow the receipt of faxes with these modems.  I would just like to receive the fax files and place the files somewhere (like the home directory).  I want the incoming ppp connections, and the incoming faxes to work together properly and simultaneously.   I am going attach my current configuration files I use for the ppp process.

Thanks!
Rick
inittab
iptables
login.config
mgetty.config
options
pap-secrets
options-ttya10
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

I'm a little perplexed by your statement that your fax modems receive incoming ppp connections.
AFAIK, to receive faxes you really do need an actual serial dial-up connection. mgetty sees special fax AT commands (which you can't enter manually because timing is important) and receives the fax to a file (that bit, at least, is what you want).
I had fax reception with mgetty / sendfax working years ago with regular dial-up, but no longer. I might be able to excavate configurations (if my tape drive still works). Would that be helpful?
Avatar of racone

ASKER

Sure, I would like to see your configurations.

The modems we have are just a typical high-end MultiTech modem.  You of course just dial-in ad get a Linux log in prompt manually.  For PPP, it is set to switch to the PPP network negotiations process and eventual connection that way.  This is indeed a serial dial-up situation.

Thanks!
Rick
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
/etc/ppp/options (the ISP no longer exists)
connect '/usr/sbin/chat -V -f /home/dunc/chatfile'
debug
asyncmap 00000000
bsdcomp 15
lock
crtscts
user duncanroe@smartchat.net.au
defaultroute
pap-restart 3
pap-max-authreq 10

Open in new window


/home/dunc/chatfile
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'DELAY NUMBER WAIT'
ABORT 'NO DIALTONE'
'' AT
OK AT
OK ATZ
TIMEOUT 120
OK \d\dATDT92814700
CONNECT \c
\r \d\d\c
SAY '\r\n'

Open in new window


This ppp stuff is likely not relevant for fax reception however.