Koozali.org: home of the SME Server

mgetty based fax server

Adrian Sergent

mgetty based fax server
« on: May 18, 2002, 01:20:12 AM »
Hello All


I am currently building an E-smith fax server  (5.1.2)but have run in to a little problem which hopefully someone can help me?

I have down loaded the all rpm's needed to build this service from the following ftp site: ftp://ftp.e-smith.org/pub/e-smith/contrib/CharlieBrady/mgetty+sendfax/RPMS

All down loaded fine and i started to load the rpm's however i have a problem with two of them.

1)ghostscript-6.51-16es2.i386.rpm
2)ghostscript-fonts-5.50-3.noarch.rpm

If i try and load number 1 i get the following message:
error:failed dependencies:
        ghostscript-fonts is needed by ghostscript-6.51-16es2

If i try to load number 2 i get the following message
error:failed dependencies:
        ghostscript is needed by ghostscript-fonts-5.50-3

But everything else has loaded.

I am not sure which way around i should be loading the two mentioned rpm's. I am quite new to e-smith and the linux world and would appreciate any kind of help.

Ive tried digging around to attempt to find the answer myself but have become stuck.

I beleive other's have used this and installed without any problems.

Thank's again

Adrian

Charlie Brady

Re: mgetty based fax server
« Reply #1 on: May 19, 2002, 06:53:47 AM »
Adrian Sergent wrote:

> All down loaded fine and i started to load the rpm's however
> i have a problem with two of them.
>
> 1)ghostscript-6.51-16es2.i386.rpm
> 2)ghostscript-fonts-5.50-3.noarch.rpm
>
> If i try and load number 1 i get the following message:
> error:failed dependencies:
>         ghostscript-fonts is needed by ghostscript-6.51-16es2
>
> If i try to load number 2 i get the following message
> error:failed dependencies:
>         ghostscript is needed by ghostscript-fonts-5.50-3
>
> But everything else has loaded.
>
> I am not sure which way around i should be loading the two
> mentioned rpm's.

Load them both at the same time.

rpm -Uhv ghostsc*rpm

Charlie

Adrian Sergent

Re: mgetty based fax server
« Reply #2 on: May 19, 2002, 09:59:33 PM »
Thank you very much Charlie

I will give that a go.

Regards

Adrian

Adrian Sergent

Re: mgetty based fax server
« Reply #3 on: May 20, 2002, 02:50:57 AM »
Cheers Charlie it's loaded.

Just one more thing if that's ok

Do you have an Idiots guide on how to configure this from start to finish.

I have looked at the four lines below and i am not sure on how to configure them.
======================================================

1) /etc/e-smith/events/actions/conf-mgetty-startup
2) /sbin/e-smith/db configuration setprop FaxModemDevice ttyS0
3) /sbin/e-smith/db configuration setprop FaxSendNumber 12345678
4) /sbine/e-smith/events/actions/conf-mgetty

======================================================

I am not sure what i am ment to do on the first line, and i have found a db file in /sbin/e-smith and have found the following.

'setprop'
     =>  {
              'function'  =>    \&DB_setprop,
              'usage'    =>     $0 dbfile setprop key
                                     .  prop1 val1 [prop2 val2]
                                     .  [prop3 val3]...

How would i set this to be what is required so that ttyS0 is setup correctly?.


Thanks


Adrian

guestHH

Re: mgetty based fax server
« Reply #4 on: May 21, 2002, 11:33:31 AM »
Hi Adrian,

You have to enter and execute these line 1 by 1 on the console as root.

FaxModemDevice ttySx where x is your real device
FaxSendNumber 12345678 where 12345678 is your real (own) faxnumber

Regards,
guestHH

Adian Sergent

Re: mgetty based fax server
« Reply #5 on: May 21, 2002, 07:39:42 PM »
Doh!


Cheers Hsing couldnt see the wood for the trees.....


Thank you for your help

Regards

Adrian