User Tools

Site Tools


informatica:linux:fax:configuracion_inicial_hylafax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatica:linux:fax:configuracion_inicial_hylafax [2009/05/15 08:55] – borrado 194.179.83.89informatica:linux:fax:configuracion_inicial_hylafax [2015/04/13 20:19] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +(Como root)
 +
 +1. Instalar el servidor de faxes Hylafax
 +
 +aptitude install hylafax-server
 +
 +2. Conectar físicamente el módem externo, a ser posible en el puerto COM1
 +
 +3. Configurar el fax
 +
 +  faxsetup
 +
 +Ir contestando las preguntas. La mayoría de ellas pulsando 'enter' para aceptar el valor propuesto por defecto:
 +
 +<code>
 +...
 +Warning:/etc/hylafax/getty-linkdoesnotexistorisnotanexecutableprogram!
 +...
 +Warning:/etc/hylafax/vgetty-linkdoesnotexistorisnotanexecutableprogram!
 +...
 +Warning:/etc/hylafax/egetty-linkdoesnotexistorisnotanexecutableprogram!
 +...
 +
 +Aretheseok[yes]?=>y
 +CanIterminatethisfaxqprocess(7586)[yes]?y
 +ShouldIrestarttheHylaFAXserverprocesses[yes]?y
 +Doyouwanttorunfaxaddmodemtoconfigureamodem[yes]?y
 +Serialportthatmodemisconnectedto[ttyS0]?ttyS0
 +Countrycode[1]?34
 +Areacode[415]?415
 +Phonenumberoffaxmodem[+1.999.555.1212]?600600600
 +Localidentificationstring(forTSI/CIG)["NothingSetup"]?pcmalaga
 +Longdistancedialingprefix[1]?34
 +Internationaldialingprefix[011]?011
 +Dialstringrulesfile(relativeto/var/spool/hylafax)[etc/dialrules]?etc/dialrules
 +Tracingduringnormalserveroperation[1]?1
 +Tracingduringsendandreceivesessions[11]?11
 +Protectionmodeforreceivedfacsimile[0600]?0644
 +Protectionmodeforsessionlogs[0600]?0600
 +ProtectionmodeforttyS0[0600]?0600
 +Ringstowaitbeforeanswering[1]?5
 +Modemspeakervolume[off]?off
 +Commandlineargumentstogettyprogram["-h%ldx_%s"]?"-h%ldx_%s"
 +PathnameofTSIaccesscontrollistfile(relativeto/var/spool/hylafax)[""]?""
 +PathnameofCaller-IDaccesscontrollistfile(relativeto/var/spool/hylafax)[""]?""
 +Taglinefontfile(relativeto/var/spool/hylafax)[etc/lutRS18.pcf]?etc/lutRS18.pcf
 +Taglineformatstring["From%%l|%c|Page%%Pof%%T"]?"Desde%%l|%c|Pagina%%Pde%%T"
 +TimebeforepurgingastaleUUCPlockfile(secs)[30]?30
 +HoldUUCPlockfileduringinbounddatacalls[Yes]?y
 +HoldUUCPlockfileduringinboundvoicecalls[Yes]?y
 +Percentgoodlinestoacceptduringcopyqualitychecking[95]?95
 +Maxconsecutivebadlinestoacceptduringcopyqualitychecking[5]?5
 +Maxnumberofpagestoacceptinareceivedfacsimile[25]?25
 +SyslogfacilitynameforServerTracingmessages[daemon]?daemon
 +SetUIDto0tomanipulateCLOCAL[""]?=>Pulso'enter'
 +Useavailablepriorityjobschedulingmechanism[""]?=>Pulso'enter'
 +
 +CountryCode:34
 +AreaCode:415
 +FAXNumber:600600600
 +LongDistancePrefix:34
 +InternationalPrefix:011
 +DialStringRules:etc/dialrules
 +SessionTracing:11
 +RecvFileMode:0644
 +RingsBeforeAnswer:5
 +SpeakerVolume:off
 +GettyArgs:"-h%ldx_%s"
 +LocalIdentifier:pcmalaga
 +TagLineFont:etc/lutRS18.pcf
 +TagLineFormat:"Desde%%l|%c|Pagina%%Pde%%T"
 +MaxRecvPages:25
 +LockDataCalls:yes
 +LockVoiceCalls:yes
 +
 +Aretheseok[yes]?y
 +Howshoulditbeconfigured[1]?1
 +DTE-DCEflowcontrolscheme[default]?default
 +
 +ModemDialCmd:ATDT%s
 +ModemFlowControl:rtscts
 +ModemHardFlowCmd:AT&K3
 +ModemMfrQueryCmd:!Rockwell
 +ModemModelQueryCmd:!RC288DPi
 +ModemNoFlowCmd:AT&K0
 +ModemRate:19200
 +ModemRevQueryCmd:ATI3
 +ModemSetupDCDCmd:AT&C1
 +ModemSetupDTRCmd:AT&D2
 +ModemSoftFlowCmd:AT&K4
 +
 +Aretheseok[yes]?y
 +
 +CountryCode:34
 +AreaCode:415
 +LongDistancePrefix:34
 +InternationalPrefix:011
 +DialStringRules:etc/dialrules
 +
 +Aretheseok[yes]?y
 +Doyouwanttorunfaxaddmodemtoconfigureanothermodem[yes]?n
 +ShouldIrunfaxmodemforeachconfiguredmodem[yes]?y
 +</code>
 +
 +4. Reiniciar el servidor de faxes:
 +
 +  /etc/init./hylafax restart
 +
 +5. (Con cualquier usuario) Probar a enviar un fax, preferiblemente en formato .pdf:
 +
 +  sendfax -N -t 1 -n -d "Prueba@000111222" /ruta/documento.pdf
 +
 +Donde "000111222" es el fax de destino
 +
 +6. Comprobar que ha llegado (quizá sea necesario hacerlo como root):
 +
 +  clear && cat /var/spool/hylafax/log/xferfaxlog | grep 000111222
 +
 +Si en el campo nº 11 (contando por la izquierda) hay un "1", llegó correctamente. Si hay un "0" no llegó, y además se reintentará 3 veces (pese a haberle pasado el parámetro -t 1, pero bueno...)
  
informatica/linux/fax/configuracion_inicial_hylafax.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1