Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Dean Mumby on February 21, 2002, 09:39:39 PM
-
I follwed the howto and setup hylfax I can send a fax ok using the faxmodem ttyS1 command to initiate the modem
The faxaddmodem script says to use the faxmodem command if you are only sending faxes or to configure faxgetty and inetd otherwise
Can anyone explain how to do this
I did a rpm -ql faxgetty and I got a message that faxgetty is not installed..
Do I need to install faxgetty??
Any help / guidance would be greatly appreciated
Regards
DEan
-
faxgetty is installed
rpm -qf which faxgetty
to check.
It's better to use faxgetty in a send-only config, too.
-
Ok i found it under /usr/sbin
I only have one modem how would i go about configuring it to send and recieve
I have configured it as a class 1 modem
Thanks for your quick response
Dean
-
/usr/sbin/faxgetty ttyS1 will get you up and running. To have faxgetty start when the server starts add the following line to the end of your /etc/inittab file: fg:23457:respawn:/usr/sbin/faxgetty ttyS1 or create a custom template called /etc/e-smith/templates-custom/etc/inittab/S85hylafax with that line in it.
-
Thanks Lloyd
I wasn't sure wether I should replace the tty1 file that was there already so that solved that little dilemna
When I type the command /usr/sbin/faxgetty ttyS1
I don't get back to the console , I dont want to reboot right now so is there an option i can use eg >dev/null ?? that will return me to the console ??
Also what template files should I create so that Hylafax starts automatically , the docuentation says I should edit rc.local , but it does'nt seem like that file is generated using the template system..
Thanks for your help
Regards Dean
-
Sorry that should have been /usr/sbin/ttyS1 & to run it in the background. You can kill it by cranking up another terminal (ctl+alt+F2) find the process id by #ps -ax |grep getty then #kill process_id_of_faxgetty. To start hylafax at startup create the following symlink in run level 7 #ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax
-
Lloyd,
I couldnt get "/usr/sbin/ttyS1 &" to work, but it seems that
"/usr/sbin/faxgetty ttyS1 &"
works and it then show up with a ps -aux.
I'm new to this stuff, have i got it correct?
jon
-
Yes that's correct. I wrote that reply while I was on night shift %-(