Kezdőlap › Fórumok › Gentoo linux › Gentoo Linux kezdõ › Hylafax
- This topic has 60 hozzászólás, 4 résztvevő, and was last updated 17 years, 1 months telt el by
morad.
-
SzerzőBejegyzés
-
2008-04-17-10:11 #2158983
PERL:
dev-lang/perl-5.8.8-r4 USE=”berkdb gdbm -build -debug -doc -ithreads -perlsuid”EMAIL:
tehát a fax automatikusan a faxmasternek megy. Tehát ha azt szeretném, hogy más cím is megkapja akkor kell egy levelező progi. Ez csak a SENDMAIL lehet, vagy lehet a POSTFIX is?2008-04-17-10:11 #2158984PERL:
dev-lang/perl-5.8.8-r4 USE=”berkdb gdbm -build -debug -doc -ithreads -perlsuid”EMAIL:
tehát a fax automatikusan a faxmasternek megy. Tehát ha azt szeretném, hogy más cím is megkapja akkor kell egy levelező progi. Ez csak a SENDMAIL lehet, vagy lehet a POSTFIX is?2008-04-17-10:12 #2158985Küldtem neked privát üzenetet is…..
2008-04-17-10:12 #2158986Küldtem neked privát üzenetet is…..
2008-04-17-10:18 #2158987lehet a postfix is. Én a Sendmail-t használom.
2008-04-17-10:18 #2158988lehet a postfix is. Én a Sendmail-t használom.
2008-05-09-09:33 #2158989Nem tudtam ezt a HylaFax-ot rendbe hozni, így újra telepítette, ezúttal sikerrel. /mármint remélem/
A webmin-en keresztül tudom konfigurálni, de valamiért nem működik mégse. Lehet hogy valamit rosszul állítottam be?
Csatolok pár állományt, ha valakinek van kedve kukkantson rá, mert nem igazán tudom, hogy mi lehet a baj.A modem elméletileg jó, világít a TR-TerminalReady és a CS-ClearToSend.
config
Code:LogFacility: daemon
CountryCode: 36
AreaCode: 29
LongDistancePrefix: 06
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
ContCoverPage: /var/spool/fax
TimeOfDay: Any
MaxDials: 2config.ttyS0
Code:#CountryCode: 36
#AreaCode: 29
FAXNumber: +36.29.537.121
#LongDistancePrefix: 06
#InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: high
GettyArgs: „-h %l dx_%s”
LocalIdentifier: „My HylaFax Server”
TagLineFont: etc/lutRS18.pcf
TagLineFormat: „From %%l|%c|Page %%P of %%T”
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&K0 # setup no flow control
ModemHardFlowCmd: AT&K3 # setup hardware flow control
ModemSoftFlowCmd: AT&K4 # setup software flow control
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd: !Rockwell
ModemModelQueryCmd: !RC288DPi
ModemRevQueryCmd: ATI3 # product information
#
ModemDialCmd: ATDT%sdialrules.europe
Code:! $Id: dialrules.europe,v 1.2 2003/02/08 22:58:09 darren Exp $
!
! HylaFAX ™ Dialing String Processing Rules
! for much of Europe.
!
! From: „Ed Cole”
!
! This file describes how to process user-specified dialing strings
! to create two items:
!
! CanonicalNumber: a unique string that is derived from all dialing
! strings to the same destination phone number. This string is used
! by the fax server for „naming” the destination.
!
! DialString: the string passed to the modem for use in dialing the
! telephone. This string should be void of any characters that might
! confuse the modem.
!
Area=${AreaCode} ! local area code
Country=${CountryCode} ! local country code
IDPrefix=${InternationalPrefix} ! prefix for placing an international call
LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call
!
WS=” ” ! our notion of white space
!
! Convert a phone number to a canonical format:
!
! +
!
! by (possibly) stripping off leading dialing prefixes for
! long distance and/or international dialing.
!
CanonicalNumber := [
%.* = ! strip calling card stuff
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
[^+0-9]+ = ! strip white space etc.
^${IDPrefix} = + ! replace int. dialing code
^${LDPrefix} = +${Country} ! STD call (long distance)
^[^+] = +${Country}${Area}& ! else cononicalize
]
!
! Process a dialing string according to local requirements.
! These rules do only one transformation: they convert in-country
! international calls to long-distance calls.
!
DialString := [
[-${WS}.]+ = ! strip syntactic sugar
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
^${IDPrefix}${Country}${Area} = ! local phone call
^${LDPrefix}${Area} = ! local phone call
^${IDPrefix}${Country} = ${LDPrefix} ! STD call (long distance)
^[+]${Country}${Area} = ! local phone call
^[+]${Country} = ${LDPrefix} ! STD call (long distance)
^[+] = ${IDPrefix} ! international call
]hosts.hfaxd
Code:# localhost is allowed to fax
@127.0.0.1$
^localhost$
^ppeter@:0:kA5xUYKF8wpMQ# all machines from our net 192.168.0.* are allowed to fax
# pay attention to quote the dot
@192.168.0.[0-9]+$# anyone in gentoo.local domain
^.*@.*..gentoo.local$
^.*@gentoo.local$# client:uid:passwd:adminwd
faxadmin:10:0YsaizBYdCrcA:mjA2319tc3Yskinittab
Code:# Default runlevel.
id:3:initdefault:# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc bootl0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100# What to do at the „Three Finger Salute”.
ca:12345:ctrlaltdel:/sbin/shutdown -r now# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the „default” runlevel.
x:a:once:/etc/X11/startDM.sh
m0:2345:respawn:/usr/sbin/faxgetty /dev/ttyS0setup.cache
Code:# Warning, this file was automatically generated by faxsetup
# on Thu May 8 10:30:46 CEST 2008 for root
AWK=’/bin/gawk’
BIN=’/usr/bin’
CAT=’/bin/cat’
CHARSET=’ANSI_X3.4-1968′
CHGRP=’/bin/chgrp’
CHMOD=’/bin/chmod’
CHOWN=’/bin/chown’
CP=’/bin/cp’
DPSRIP=’/var/spool/fax/bin/ps2fax’
ECHO=’/bin/echo’
ENCODING=’base64′
FAXQ_SERVER=’yes’
FONTPATH=’%rom%lib/:/usr/share/ghostscript/8.61/lib:/usr/share/ghostscript/8.61/Resource:/usr/share/fonts/default/ghostscript/:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/cups/fonts’
FUSER=’/bin/fuser’
GREP=’/bin/grep’
GSRIP=’/usr/bin/gs’
HFAXD_OLD_PROTOCOL=’no’
HFAXD_SERVER=’yes’
HFAXD_SNPP_SERVER=’no’
IMPRIP=”
LIBDATA=’/usr/lib/fax’
LIBEXEC=’/usr/sbin’
LN=’/bin/ln’
MANDIR=’/usr/share/man’
MIMENCODE=’/usr/bin/mimencode’
MKFIFO=’/bin/mkfifo’
MV=’/bin/mv’
PATH=’/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin’
PATHEGETTY=’/bin/false’
PATHGETTY=’/sbin/agetty’
PATHVGETTY=’/bin/false’
PSPACKAGE=’gs’
RM=’/bin/rm’
SBIN=’/usr/sbin’
SCRIPT_SH=’/bin/bash’
SED=’/bin/sed’
SENDMAIL=’/usr/sbin/sendmail’
SPOOL=’/var/spool/fax’
SYSVINIT=”
TARGET=’i686-pc-linux-gnu’
TIFF2PDF=’/usr/bin/tiff2pdf’
TIFFBIN=’/usr/bin’
TTYCMD=’/bin/tty’
UUCP_LOCKDIR=’/var/lock’
UUCP_LOCKTYPE=’ascii’
UUENCODE=’/usr/bin/uuencode’Van tippetek, hogy mi nem stimmel?
Köszi!
2008-05-09-09:33 #2158990Nem tudtam ezt a HylaFax-ot rendbe hozni, így újra telepítette, ezúttal sikerrel. /mármint remélem/
A webmin-en keresztül tudom konfigurálni, de valamiért nem működik mégse. Lehet hogy valamit rosszul állítottam be?
Csatolok pár állományt, ha valakinek van kedve kukkantson rá, mert nem igazán tudom, hogy mi lehet a baj.A modem elméletileg jó, világít a TR-TerminalReady és a CS-ClearToSend.
config
Code:LogFacility: daemon
CountryCode: 36
AreaCode: 29
LongDistancePrefix: 06
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
ContCoverPage: /var/spool/fax
TimeOfDay: Any
MaxDials: 2config.ttyS0
Code:#CountryCode: 36
#AreaCode: 29
FAXNumber: +36.29.537.121
#LongDistancePrefix: 06
#InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: high
GettyArgs: „-h %l dx_%s”
LocalIdentifier: „My HylaFax Server”
TagLineFont: etc/lutRS18.pcf
TagLineFormat: „From %%l|%c|Page %%P of %%T”
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&K0 # setup no flow control
ModemHardFlowCmd: AT&K3 # setup hardware flow control
ModemSoftFlowCmd: AT&K4 # setup software flow control
ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
ModemMfrQueryCmd: !Rockwell
ModemModelQueryCmd: !RC288DPi
ModemRevQueryCmd: ATI3 # product information
#
ModemDialCmd: ATDT%sdialrules.europe
Code:! $Id: dialrules.europe,v 1.2 2003/02/08 22:58:09 darren Exp $
!
! HylaFAX ™ Dialing String Processing Rules
! for much of Europe.
!
! From: „Ed Cole”
!
! This file describes how to process user-specified dialing strings
! to create two items:
!
! CanonicalNumber: a unique string that is derived from all dialing
! strings to the same destination phone number. This string is used
! by the fax server for „naming” the destination.
!
! DialString: the string passed to the modem for use in dialing the
! telephone. This string should be void of any characters that might
! confuse the modem.
!
Area=${AreaCode} ! local area code
Country=${CountryCode} ! local country code
IDPrefix=${InternationalPrefix} ! prefix for placing an international call
LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call
!
WS=” ” ! our notion of white space
!
! Convert a phone number to a canonical format:
!
! +
!
! by (possibly) stripping off leading dialing prefixes for
! long distance and/or international dialing.
!
CanonicalNumber := [
%.* = ! strip calling card stuff
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
[^+0-9]+ = ! strip white space etc.
^${IDPrefix} = + ! replace int. dialing code
^${LDPrefix} = +${Country} ! STD call (long distance)
^[^+] = +${Country}${Area}& ! else cononicalize
]
!
! Process a dialing string according to local requirements.
! These rules do only one transformation: they convert in-country
! international calls to long-distance calls.
!
DialString := [
[-${WS}.]+ = ! strip syntactic sugar
[abcABC] = 2 ! these convert alpha to numbers
[defDEF] = 3
[ghiGHI] = 4
[jklJKL] = 5
[mnoMNO] = 6
[prsPRS] = 7
[tuvTUV] = 8
[wxyWXY] = 9
^${IDPrefix}${Country}${Area} = ! local phone call
^${LDPrefix}${Area} = ! local phone call
^${IDPrefix}${Country} = ${LDPrefix} ! STD call (long distance)
^[+]${Country}${Area} = ! local phone call
^[+]${Country} = ${LDPrefix} ! STD call (long distance)
^[+] = ${IDPrefix} ! international call
]hosts.hfaxd
Code:# localhost is allowed to fax
@127.0.0.1$
^localhost$
^ppeter@:0:kA5xUYKF8wpMQ# all machines from our net 192.168.0.* are allowed to fax
# pay attention to quote the dot
@192.168.0.[0-9]+$# anyone in gentoo.local domain
^.*@.*..gentoo.local$
^.*@gentoo.local$# client:uid:passwd:adminwd
faxadmin:10:0YsaizBYdCrcA:mjA2319tc3Yskinittab
Code:# Default runlevel.
id:3:initdefault:# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc bootl0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100# What to do at the „Three Finger Salute”.
ca:12345:ctrlaltdel:/sbin/shutdown -r now# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the „default” runlevel.
x:a:once:/etc/X11/startDM.sh
m0:2345:respawn:/usr/sbin/faxgetty /dev/ttyS0setup.cache
Code:# Warning, this file was automatically generated by faxsetup
# on Thu May 8 10:30:46 CEST 2008 for root
AWK=’/bin/gawk’
BIN=’/usr/bin’
CAT=’/bin/cat’
CHARSET=’ANSI_X3.4-1968′
CHGRP=’/bin/chgrp’
CHMOD=’/bin/chmod’
CHOWN=’/bin/chown’
CP=’/bin/cp’
DPSRIP=’/var/spool/fax/bin/ps2fax’
ECHO=’/bin/echo’
ENCODING=’base64′
FAXQ_SERVER=’yes’
FONTPATH=’%rom%lib/:/usr/share/ghostscript/8.61/lib:/usr/share/ghostscript/8.61/Resource:/usr/share/fonts/default/ghostscript/:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/share/cups/fonts’
FUSER=’/bin/fuser’
GREP=’/bin/grep’
GSRIP=’/usr/bin/gs’
HFAXD_OLD_PROTOCOL=’no’
HFAXD_SERVER=’yes’
HFAXD_SNPP_SERVER=’no’
IMPRIP=”
LIBDATA=’/usr/lib/fax’
LIBEXEC=’/usr/sbin’
LN=’/bin/ln’
MANDIR=’/usr/share/man’
MIMENCODE=’/usr/bin/mimencode’
MKFIFO=’/bin/mkfifo’
MV=’/bin/mv’
PATH=’/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin’
PATHEGETTY=’/bin/false’
PATHGETTY=’/sbin/agetty’
PATHVGETTY=’/bin/false’
PSPACKAGE=’gs’
RM=’/bin/rm’
SBIN=’/usr/sbin’
SCRIPT_SH=’/bin/bash’
SED=’/bin/sed’
SENDMAIL=’/usr/sbin/sendmail’
SPOOL=’/var/spool/fax’
SYSVINIT=”
TARGET=’i686-pc-linux-gnu’
TIFF2PDF=’/usr/bin/tiff2pdf’
TIFFBIN=’/usr/bin’
TTYCMD=’/bin/tty’
UUCP_LOCKDIR=’/var/lock’
UUCP_LOCKTYPE=’ascii’
UUENCODE=’/usr/bin/uuencode’Van tippetek, hogy mi nem stimmel?
Köszi!
2008-05-09-09:34 #2158991Mikor faxot akarok rá küldeni, kicseng, de nem veszi fel….
2008-05-09-09:34 #2158992Mikor faxot akarok rá küldeni, kicseng, de nem veszi fel….
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz