informatica:linux:hylafax
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:hylafax [2009/07/29 07:48] – 194.179.83.87 | informatica:linux:hylafax [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
fax hylafax facsimil hylafax-server faxsend hfaxd | fax hylafax facsimil hylafax-server faxsend hfaxd | ||
- | |||
- | |||
===== Instalación y configuración inicial ===== | ===== Instalación y configuración inicial ===== | ||
Line 19: | Line 17: | ||
faxsetup | faxsetup | ||
- | Ir contestando las preguntas. La mayoría de ellas pulsando ' | + | Ir contestando las preguntas. La mayoría de ellas pulsando ' |
- | < | ||
- | ... | ||
- | Warning:/ | ||
- | ... | ||
- | Warning:/ | ||
- | ... | ||
- | Warning:/ | ||
- | ... | ||
- | Are these ok[yes]?=>y | + | ... |
- | Can I terminate this faxqp rocess(7586)[yes]?y | + | Warning:/ |
- | Should I restart the HylaFAX server processes[yes]? | + | ... |
- | Do you want to run faxaddmodem to configure a modem[yes]?y | + | Warning:/ |
- | Serial port that modem is connected to[ttyS0]?ttyS0 | + | ... |
- | Country code[1]? | + | Warning:/ |
- | Area code[415]?415 | + | ... |
- | Phone number of faxmodem[+1.999.555.1212]? | + | |
- | Local identification string(forTSI/ | + | Can I terminate this faxq process |
- | Long distance dialing prefix[1]? | + | Should I restart the HylaFAX server processes [yes]? |
- | International dialing prefix[011]? | + | Do you want to run faxaddmodem to configure a modem [yes]? |
- | Dial string rulesfile(relativeto/ | + | Serial port that modem is connected to [ttyS0]? |
- | Tracingduringnormalserveroperation[1]? | + | **Country code [1]? 34** |
- | Tracingduringsendandreceivesessions[11]? | + | Area code [415]? |
- | Protectionmodeforreceivedfacsimile[0600]? | + | **Phone number of fax modem [+1.999.555.1212]? |
- | Protectionmodeforsessionlogs[0600]? | + | |
- | ProtectionmodeforttyS0[0600]? | + | |
- | Ringstowaitbeforeanswering[1]? | + | |
- | Modemspeakervolume[off]? | + | |
- | Commandlineargumentstogettyprogram[" | + | |
- | PathnameofTSIaccesscontrollistfile(relativeto/ | + | |
- | PathnameofCaller-IDaccesscontrollistfile(relativeto/ | + | |
- | Taglinefontfile(relativeto/ | + | |
- | Taglineformatstring[" | + | |
- | TimebeforepurgingastaleUUCPlockfile(secs)[30]? | + | |
- | HoldUUCPlockfileduringinbounddatacalls[Yes]? | + | |
- | HoldUUCPlockfileduringinboundvoicecalls[Yes]? | + | |
- | Percentgoodlinestoacceptduringcopyqualitychecking[95]? | + | |
- | Maxconsecutivebadlinestoacceptduringcopyqualitychecking[5]? | + | |
- | Maxnumberofpagestoacceptinareceivedfacsimile[25]? | + | |
- | SyslogfacilitynameforServerTracingmessages[daemon]? | + | |
- | SetUIDto0tomanipulateCLOCAL["" | + | |
- | Useavailablepriorityjobschedulingmechanism["" | + | |
- | CountryCode: | + | **Local identification string (for TSI/CIG) ["NothingSetup"]? MI_NOMBRE** |
- | AreaCode: | + | |
- | FAXNumber: | + | |
- | LongDistancePrefix: | + | |
- | InternationalPrefix: | + | |
- | DialStringRules: | + | |
- | SessionTracing: | + | |
- | RecvFileMode: | + | |
- | RingsBeforeAnswer: | + | |
- | SpeakerVolume: | + | |
- | GettyArgs:"-h%ldx_%s" | + | |
- | LocalIdentifier: | + | |
- | TagLineFont: | + | |
- | TagLineFormat:" | + | |
- | MaxRecvPages: | + | |
- | LockDataCalls: | + | |
- | LockVoiceCalls: | + | |
- | Aretheseok[yes]?y | + | **Long distance dialing prefix |
- | Howshoulditbeconfigured[1]?1 | + | |
- | DTE-DCEflowcontrolscheme[default]?default | + | Dial string rules file (relative to / |
- | + | Tracing during normal server operation [1]? | |
- | ModemDialCmd: | + | |
- | ModemFlowControl: | + | |
- | ModemHardFlowCmd: | + | |
- | ModemMfrQueryCmd: | + | Protection mode for ttyS0 [0600]? |
- | ModemModelQueryCmd: | + | **Rings to wait before answering [1]? 6** |
- | ModemNoFlowCmd: | + | Modem speaker volume [off]? |
- | ModemRate: | + | Command line arguments to getty program ["-h %l dx_%s" |
- | ModemRevQueryCmd: | + | |
- | ModemSetupDCDCmd: | + | |
- | ModemSetupDTRCmd: | + | Tag line font file (relative to / |
- | ModemSoftFlowCmd: | + | Tag line format string ["From %%l|%c|Page %%P of %%T" |
- | + | Time before purging a stale UUCP lock file (secs) [30]? | |
- | Aretheseok[yes]?y | + | Hold UUCP lockfile during inbound data calls [Yes]? |
- | + | Hold UUCP lockfile during inbound voice calls [Yes]? | |
- | CountryCode: | + | |
- | AreaCode: | + | Max consecutive bad lines to accept during copy quality checking [5]? |
- | LongDistancePrefix: | + | Max number of pages to accept in a received facsimile [25]? |
- | InternationalPrefix: | + | |
- | DialStringRules: | + | Set UID to 0 to manipulate CLOCAL ["" |
- | + | Use available priority job scheduling mechanism ["" | |
- | Aretheseok[yes]?y | + | ... |
- | Doyouwanttorunfaxaddmodemtoconfigureanothermodem[yes]?n | + | Are these ok [yes]? |
- | ShouldIrunfaxmodemforeachconfiguredmodem[yes]?y | + | ... |
- | </ | + | How should it be configured [1]? |
+ | ... | ||
+ | | ||
+ | ... | ||
+ | Are these ok [yes]? | ||
+ | ... | ||
+ | Are these ok [yes]? | ||
+ | ... | ||
+ | **Do you want to run faxaddmodem to configure another modem [yes]? | ||
+ | ... | ||
+ | Should I run faxmodem for each configured modem [yes]? | ||
4. Reiniciar el servidor de faxes: | 4. Reiniciar el servidor de faxes: | ||
Line 126: | Line 92: | ||
Si en el campo nº 11 (contando por la izquierda) hay un " | Si en el campo nº 11 (contando por la izquierda) hay un " | ||
+ | |||
===== Enviar por correo fax recibido ===== | ===== Enviar por correo fax recibido ===== | ||
Line 141: | Line 108: | ||
* [[informatica: | * [[informatica: | ||
* Salida a internet de la máquina donde está instalado el servidor de faxes hylafax | * Salida a internet de la máquina donde está instalado el servidor de faxes hylafax | ||
- | * Tener configurado un servidor de correo saliente, o bien [[informatica: | + | * Tener configurado un servidor de correo saliente, o bien [[informatica: |
(Todo como root) | (Todo como root) | ||
- | 1. nano / | + | 1. Editar: |
+ | |||
+ | | ||
+ | |||
+ | Y añadirle el siguiente contenido: | ||
FILETYPE=pdf; | FILETYPE=pdf; | ||
SENDTO=FaxMaster; | SENDTO=FaxMaster; | ||
- | 2. nano / | + | 2. Editar: |
+ | |||
+ | | ||
+ | |||
+ | Y añadirle el siguiente contenido: | ||
#!/bin/sh | #!/bin/sh | ||
uuencode -m $1 $1 | grep -E -v " | uuencode -m $1 $1 | grep -E -v " | ||
- | 3. chmod +x / | + | 3. Hacer el archivo ejecutable: |
+ | |||
+ | | ||
4. Crear los siguientes archivos: | 4. Crear los siguientes archivos: | ||
Line 172: | Line 149: | ||
TEMPLATE=es | TEMPLATE=es | ||
- | 5. cp / | + | 5. Renombrar archivo: |
- | 6. nano / | + | cp / |
+ | |||
+ | 6. Editar: | ||
+ | |||
+ | | ||
Añadir estas dos lineas: | Añadir estas dos lineas: | ||
Line 250: | Line 231: | ||
/ | / | ||
+ | |||
===== Fijar un horario de funcionamiento ===== | ===== Fijar un horario de funcionamiento ===== | ||
Line 258: | Line 240: | ||
Según esta configuración, | Según esta configuración, | ||
+ | |||
+ | |||
+ | |||
+ | ===== Configurar tiempos de espera máximos, reintentos... ===== | ||
+ | |||
+ | 1. Si se quiere para todo el sistema editar: | ||
+ | |||
+ | nano / | ||
+ | |||
+ | Si se quiere solo par un módem, por ejemplo ' | ||
+ | |||
+ | nano / | ||
+ | |||
+ | Y añadirle el siguiente código: | ||
+ | |||
+ | < | ||
+ | ##################### | ||
+ | |||
+ | # The delay in seconds to wait before retrying a job whose | ||
+ | # dialing attempt failed with a BUSY status result. | ||
+ | JobReqBusy: 10 | ||
+ | |||
+ | # The delay in seconds to wait before retrying a job whose | ||
+ | # dialing attempt failed with a NO ANSWER status result. | ||
+ | JobReqNoAnswer: | ||
+ | |||
+ | # The delay in seconds to wait before retrying a job whose | ||
+ | # dialing attempt failed with a NO CARRIER status result. | ||
+ | JobReqNoCarrier: | ||
+ | |||
+ | # requeue interval for data connection dial result | ||
+ | JobReqDataConn: | ||
+ | |||
+ | # requeue interval for carrier without +FCON dial result | ||
+ | JobReqNoFCon: | ||
+ | |||
+ | # requeue interval for '' | ||
+ | JobReqOther: | ||
+ | |||
+ | # requeue interval after fax protocol error | ||
+ | JobReqProto: | ||
+ | |||
+ | ##################### | ||
+ | |||
+ | # The number of times to redial a phone number after receiving | ||
+ | # a BUSY result code when the number has not been successfully dialed before. | ||
+ | JobRetryBusy: | ||
+ | |||
+ | # The number of times to redial a phone number after the dialing | ||
+ | # attempt failed because of NO ANSWER when the number has not been successfully dialed before. | ||
+ | JobRetryNoAnswer: | ||
+ | |||
+ | # The number of times to redial a phone number after the dialing | ||
+ | # attempt failed because of NO CARRIER when the number has not been successfully dialed before. | ||
+ | JobRetryNoCarrier: | ||
+ | |||
+ | # number of times to retry dialing on '' | ||
+ | NoCarrierRetrys: | ||
+ | |||
+ | # max phone calls to make to transmit a job | ||
+ | MaxDials: 6 | ||
+ | |||
+ | </ | ||
+ | |||
+ | 2. Grabar el archivo y salir | ||
+ | |||
+ | 3. Para que los cambios tomen efecto hay que reiniciar el servidor de faxes: | ||
+ | |||
+ | / | ||
+ | |||
+ | |||
+ | ===== El comando ' | ||
+ | |||
+ | *Solución*: | ||
+ | |||
+ | sudo faxadduser usuario | ||
+ | |||
+ | Eso solo no me funciona, asi que edito: | ||
+ | |||
+ | sudo vim / | ||
+ | |||
+ | Y le anyado lo siguiente: | ||
+ | |||
+ | < | ||
+ | localhost: | ||
+ | ^www-data@ | ||
+ | ^usuario@ | ||
+ | ^root@ | ||
+ | </ | ||
+ | |||
+ | Por si acaso reinicio hylafax: | ||
+ | |||
+ | sudo / | ||
+ |
informatica/linux/hylafax.1248853713.txt.gz · Last modified: 2015/04/13 20:19 (external edit)