Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: MadPat on February 04, 2003, 09:24:57 PM
-
I've installed Hylafax on my SME 5.5 accoording to Rick Sulman's HOWTO.
Everything works only i can't receive any faxes. The modem doesn't answer the phone.
I use an external 56k6 modem on COM1.
-
Hello Patrick,
Do you see buring on the modem in de LED range a when it is been called.
So yes, The parameter to auto answere the moden isn't right. This is the S0 setting must be set to 1 then it's rings once and it take the hook off.
I think you can better read the manual to add a modem on the hylafax site
http://www.hylafax.org/man/faxaddmodem.html
If you in hurry you can look to thes files where i think you can setup the modem>
/var/spool/hylafax/etc/setup.modem
grtz
Johan
-
ps -lea | grep fax should show;
140 S 10 31329 1 0 60 0 - 906 do_sel ? 00:00:00 faxq
040 S 10 31334 1 0 60 0 - 795 do_sel ? 00:00:00 hfaxd
100 S 10 31342 1 0 60 0 - 858 do_sel ? 00:00:01 faxgetty
Do you have faxgetty running?
-
no... faxgetty doesn't work.
i've tried to get it on i receive the following error
mo:23457:respawn:/usr/sbin/faxgetty ttyS0
bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or directory
ps -lea | grep fax
040 S 10 1855 1 0 60 0 - 902 do_sel ? 00:00:00 faxq
040 S 10 1857 1 0 60 0 - 794 do_sel ? 00:00:00 hfaxd
how do i get faxgetty to work ???
-
MadPat wrote:
>
> no... faxgetty doesn't work.
>
> i've tried to get it on i receive the following error
>
> mo:23457:respawn:/usr/sbin/faxgetty ttyS0
> bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or
> directory
>
> ps -lea | grep fax
> 040 S 10 1855 1 0 60 0 - 902 do_sel ?
> 00:00:00 faxq
> 040 S 10 1857 1 0 60 0 - 794 do_sel ?
> 00:00:00 hfaxd
>
It seems faxgetty isn't in the /usr/sbin directory? You can try to find it's right location by find / -name faxgetty.
good luck
Jeroen
-
Have a look at my HylaFAX HOWTO at www.chaloner.ca. Getting faxgetty going is pretty clear.
Chaloner Hale
-
mo:23457:respawn:/usr/sbin/faxgetty ttyS0
This command cannot be entered like this from the command line. This is why you get "bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or directory".
To enable receiving faxes, faxgetty must be setup in order to have it answer. To have faxgetty start when the server starts you need to create and expand a custom template. The following command will make the entire required directory tree all at once:
# mkdir -p /etc/e-smith/templates-custom/etc/inittab
Create the file S85hylafax within this directory using your favorite editor the following line:
fax:23457:respawn:/usr/sbin/faxgetty ttyS0
Expand the template with:
# /sbin/e-smith/expand-template /etc/inittab
It should then work.
Chaloner Hale
-
Chaloner,
Just expanding the template won't do it, he'll need to re-load /etc/inittab after expanding the template using the following command:
#init q
And possibly:
#/etc/rc.d/init.d/hylafax restart
-
We are getting close.
This is what is happening now, but no answer yet.
# /etc/rc.d/init.d/hylafax restart
Shutting down HylaFAX queue manager (faxq): [ OK ]
Shutting down HylaFAX server (hfaxd): [ OK ]
Starting HylaFAX queue manager (faxq): [ OK ]
Starting HylaFAX server (hfaxd): [ OK ]
Restarting HylaFAX modem manager (faxgetty): [ OK ]
# ps -lea | grep fax
040 S 10 5468 1 0 62 0 - 902 do_sel ? 00:00:00 faxq
040 S 10 5473 1 0 64 0 - 794 do_sel ? 00:00:00 hfaxd
100 S 10 5480 1 0 71 0 - 834 do_sel ? 00:00:00 faxgetty
-
What modem are you using? It is set to answer on how many rings?
Chaloner Hale
-
Boys... it is working...
i've received a fax. Only i can't read it. I've reived an e-mail of incoming fax, locate somewhere on ftp://server/...TIFF. but can't open it.
may a right problem... looking into
thanks every body for the support.
-
See my HOWTO. Have the faxes come in as PDF files. The links in the email cannot be opened, only the attachement.
The TIFF files can not always be opened by all TIFF viewers. Have them come in as PDF files instead.
You will need to edit the FaxDispatch file.
FILETYPE=pdf;
SENDTO=FaxMaster;
Chaloner Hale
-
Chaloner Hale wrote:
>
> See my HOWTO.
Could you please send me the URL...
My Hylafax is working, just to know!
> Have the faxes come in as PDF files. The links
> in the email cannot be opened, only the attachement.
Why that f*** ftp link don´t open? Could I remote his line from config files?
Do you have a config file with those lines removed?
I have tweaked a config file to remove strange (and useless ) information, like from where fax came (ttyS2) and other useless info!
Do you have any webfax gateway that allow you to attach PDF or PS files?
-
Hmmm,
I consider the 'remark' and 'request' of Jáder 'not a common way of asking politely'.
Especially while dropping into the thread like that.
We all try to help as much as we can. Please be aware of that and consider your language.
Regards,
guestHH
-
guestHH wrote:
> I consider the 'remark' and 'request' of Jáder 'not a common
> way of asking politely'. Especially while dropping into the thread like that.
I´m sorry! I promise I´ll not do it again! Sorry!
> We all try to help as much as we can. Please be aware of that
> and consider your language.
Again my apologies!
I just heard someone talk about hylafax and jumped into without think about it!
Sorry!
Jáder
(and because English isn´t my natural language sometimes I can appear to be RUDE just because I´m too ignorant to be polite!)
-
I had removed the # lines below to avoid them to appear no e-mail (because they are useless!)
echo "--$MIMEBOUNDARY"
echo "Content-Type: text/plain; charset=us-ascii"
echo "Content-Transfer-Encoding: 7bit"
echo ""
# echo "$FILE (ftp://$HOSTNAME:$PORT/$FILE):"; $INFO -n $FILE
# echo "ReceivedOn: $DEVICE"
and changed name file from a CommID number to a more significant with:
$MIMENCODE $FILE 2>/dev/null
elif [ "$FILETYPE" = "pdf" ]; then
#echo "Content-Type: application/pdf; name=\"c$COMMID.pdf\""
echo "Content-Type: application/pdf; name=\"$FILE.pdf\""
#echo "Content-Disposition: attachment; filename=\"c$COMMID.pdf\""
echo "Content-Disposition: attachment; filename=\"$FILE.pdf\""
I hope this help you to get more beatiful faxes... mines are... without that FTP link and strange name... and hope so that RequestedDeletion can forget about my completly "OOPS" on previous message!
BTW: to have PDF files working you should see:
http://www.hylafax.org/howto/delivery.html
where there is this:
4.2 Attached TIFF/PostScript/PDF Mail Delivery
By using this procedure, the default mail will be sent without the ftp links, but the fax image will be attached to that notification mail.
Create the file etc/FaxDispatch (usually /var/spool/hylafax/etc/FaxDispatch) so that it contains the following lines:
FILETYPE=tif;
SENDTO=FaxMaster;
Substitute pdf or ps for tif as you desire.
Note that because TIFF and PDF are binary file types, metamail or some other UU-encoding program must be installed. If you do not use metamail's mimencode, also include a line like
MIMENCODE=bin/uuencode_it;
in your FaxDispatch file where bin/uuencode_it is an executable shell script of the form
#!/bin/sh
uuencode -m $1 $1 | grep -E -v "^begin|^====$" 2>/dev/null
HylaFAX versions prior to 4.1.1 do not support the FILETYPE option in FaxDispatch, and so the attachments will always be Postscript. Users of HylaFAX versions prior to 4.1.1 (shame on you) may be interested in using the old faxrcvd-mail scripts by Noel Burton-Krahn. They can be found here. Note that these WILL NOT WORK as-is on HylaFAX versions 4.1.1 and newer.
I have done it with success! Enjoy!
-
Now how that for an answer! Nice feedback Jáder.
Regards,
guestHH
-
I´m glad you like it Wang!
And MadPat, how is your problem? Solved?
-
Problem is solved, but have as you can read an other problem.
I can't read the fax. I've changed it to .pdf, but when i recieve a fax it still comes in Tiff.
i also had setup it up to forward al faxes to my mailbox, but that didn't work and changed it back. Still working on it. Haven't had the time yesterday-evening.
i don't give up.....
-
MadPat,
Please verify that URL I post yesterday. There is the path I follow to get PDF faxes working.
Please verify about the uuencode_it file. I have to create it!
If you have any doubts, I can send you (or attach here!) my config files.
You choose what files or I´ll send a lot of them! ;-)
Just ask!
Jáder
-
please send me your config files.
email :patrick@pdebrabander.nl
i can't read the files in my Cypheus program.
getting following error
error restrieving file:
200 Using time values in CET
-
Cypheus is working now. i've set chmod 0644 for recieving files.
hadn't have the change to test .pdf files. will do it this weekend.
thanks everybody for the support so far
-
You've got Cypheus working?
You wouldn't write a little howto would you?
Ed Form
-
Sorry, but i thought the ionformation i gave was enough.
Cypheus was no problem to get it work. Only i couldn't read the incoming faxes. this was the right were on 600. i've changes this to 0644 and i could read al the incoming faxes.
my problem was that my modem didn't pick up the telephone line. This was solved (as you can read above) by Chaloner Hale.
Now i'm working to get .pdf files instead of .tif files.
i'll make a howto for installing halyfax en cypheus and post a message when i've released this.
i hope this is the information what you ment.
Patrick
-
MadPat wrote:
> i'll make a howto for installing halyfax en cypheus and post
> a message when i've released this.
>
> i hope this is the information what you ment.
The Hylafax bit is no problem. I've been running a fax server on SME since 5.6 beta first appeared. I should probably write up a Hoto myself because a lot of the standard stuff is less than correct. In particular the configuration files produced by the faxsetup program included with Hylafax are useless on about 50 % of all modems - typically faxes are transmitted scrunched up with scanlines missing. Solving this is the whole key, particularly if your modem is Hayes or Zoom or the myriad others based on the same chipsets.
What I've never been able to do is get is get Cypheus to work. The printer based fax clients like WHFC and SMBFax are very easy, although SMBFax has a bad habit of sending multiple copies of faxes, sometimes 100 copies or more. WHFC is transparent and does everything most people would need.
One useful tip is to obtain and load TiffView.exe which makes viewing and printing Tiff based faxes very easy. It's available here...
ftp://ftp.celestial.com/pub/tiffview.exe
My interest in Cypheus is because it is such a nicely presented program, but try as I might I simply cannot get it to work.
Ed Form
-
Tell me what doesn't work with cypheus and i'll try to help you.
I think this thread better can be closed, and start a new one.