Koozali.org: home of the SME Server

Hylax on sme5.1.2 and faxgetty

Dean Mumby

Hylax on sme5.1.2 and faxgetty
« 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

Filippo Carletti

Re: Hylax on sme5.1.2 and faxgetty
« Reply #1 on: February 21, 2002, 09:58:34 PM »
faxgetty is installed
rpm -qf which faxgetty
to check.
It's better to use faxgetty in a send-only config, too.

Dean Mumby

Re: Hylax on sme5.1.2 and faxgetty
« Reply #2 on: February 21, 2002, 10:38:47 PM »
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

Lloyd Keen

Re: Hylax on sme5.1.2 and faxgetty
« Reply #3 on: February 21, 2002, 11:54:35 PM »
/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.

Dean Mumby

Re: Hylax on sme5.1.2 and faxgetty
« Reply #4 on: February 22, 2002, 12:40:04 AM »
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

Lloyd Keen

Re: Hylax on sme5.1.2 and faxgetty
« Reply #5 on: February 22, 2002, 06:58:39 AM »
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

Jon

Re: Hylax on sme5.1.2 and faxgetty
« Reply #6 on: February 23, 2002, 03:39:54 AM »
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

Lloyd Keen

Re: Hylax on sme5.1.2 and faxgetty
« Reply #7 on: February 23, 2002, 01:03:47 PM »
Yes that's correct. I wrote that reply while I was on night shift %-(