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
Next revision
Previous revision
informatica:linux:fax:configuracion_inicial_hylafax [2008/12/02 10:14] 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:
-1. aptitude install hylafax server+(Como root)
  
-2faxsetup+1Instalar el servidor de faxes Hylafax
  
-  ... +aptitude install hylafax-server
-  Warning: /etc/hylafax/getty-link does not exist or is not an executable program! +
-  ... +
-  Warning: /etc/hylafax/vgetty-link does not exist or is not an executable program! +
-  ... +
-  Warning: /etc/hylafax/egetty-link does not exist or is not an executable program! +
-  ... +
-\\ +
-Are these ok [yes]? => y\\ +
-Can I terminate this faxq process (7586) [yes]?  y\\ +
-Should I restart the HylaFAX server processes [yes]? y\\ +
-Do you want to run faxaddmodem to configure a modem [yes]? y\\ +
-Serial port that modem is connected to [ttyS0]? ttyS0\\ +
-Country code [1]? 34\\ +
-Area code [415]? 415\\ +
-Phone number of fax modem [+1.999.555.1212]? 600600600\\ +
-Local identification string (for TSI/CIG) ["NothingSetup"]? pcmalaga\\ +
-Long distance dialing prefix [1]? 34\\ +
-International dialing prefix [011]? 011\\ +
-Dial string rules file (relative to /var/spool/hylafax) [etc/dialrules]? etc/dialrules\\ +
-Tracing during normal server operation [1]? 1\\ +
-Tracing during send and receive sessions [11]? 11\\ +
-Protection mode for received facsimile [0600]? 0644\\ +
-Protection mode for session logs [0600]? 0600\\ +
-Protection mode for ttyS0 [0600]? 0600\\ +
-Rings to wait before answering [1]? 5\\ +
-Modem speaker volume [off]? off\\ +
-Command line arguments to getty program ["-h %l dx_%s"]? "-h %l dx_%s"\\ +
-Pathname of TSI access control list file (relative to /var/spool/hylafax) [""]? ""\\ +
-Pathname of Caller-ID access control list file (relative to /var/spool/hylafax) [""]? ""\\ +
-Tag line font file (relative to /var/spool/hylafax) [etc/lutRS18.pcf]? etc/lutRS18.pcf\\ +
-Tag line format string ["From %%l|%c|Page %%P of %%T"]? "Desde %%l|%c|Pagina %%P de %%T"\\ +
-Time before purging a stale UUCP lock file (secs) [30]? 30\\ +
-Hold UUCP lockfile during inbound data calls [Yes]? y\\ +
-Hold UUCP lockfile during inbound voice calls [Yes]? y\\ +
-Percent good lines to accept during copy quality checking [95]? 95\\ +
-Max consecutive bad lines to accept during copy quality checking [5]? 5\\ +
-Max number of pages to accept in a received facsimile [25]? 25\\ +
-Syslog facility name for ServerTracing messages [daemon]? daemon\\ +
-Set UID to 0 to manipulate CLOCAL [""]? => Pulso 'enter'\\ +
-Use available priority job scheduling mechanism [""]?  => Pulso 'enter'+
  
-  CountryCode:    34 +2Conectar físicamente el módem externo, a ser posible en el puerto COM1
-  AreaCode:    415 +
-  FAXNumber:    600600600 +
-  LongDistancePrefix:  34 +
-  InternationalPrefix:  011 +
-  DialStringRules:  etc/dialrules +
-  SessionTracing:    11 +
-  RecvFileMode:    0644 +
-  RingsBeforeAnswer: +
-  SpeakerVolume:    off +
-  GettyArgs:    "-h %l dx_%s" +
-  LocalIdentifier:  pcmalaga +
-  TagLineFont:    etc/lutRS18.pcf +
-  TagLineFormat:    "Desde %%l|%c|Pagina %%P de %%T" +
-  MaxRecvPages:    25 +
-  LockDataCalls:    yes +
-  LockVoiceCalls:    yes+
  
-Are these ok [yes]? y\\ +3. Configurar el fax
-How should it be configured [1]? 1\\ +
-DTE-DCE flow control scheme [default]?  default\\+
  
-  ModemDialCmd:    ATDT%s +  faxsetup
-  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+
  
-Are these ok [yes]? y+Ir contestando las preguntas. La mayoría de ellas pulsando 'enter' para aceptar el valor propuesto por defecto:
  
-  CountryCode:    34 +<code> 
-  AreaCode:    415 +... 
-  LongDistancePrefix:  34 +Warning:/etc/hylafax/getty-linkdoesnotexistorisnotanexecutableprogram! 
-  InternationalPrefix:  011 +... 
-  DialStringRules:  etc/dialrules+Warning:/etc/hylafax/vgetty-linkdoesnotexistorisnotanexecutableprogram! 
 +... 
 +Warning:/etc/hylafax/egetty-linkdoesnotexistorisnotanexecutableprogram! 
 +... 
 + 
 +Aretheseok[yes]?=>
 +CanIterminatethisfaxqprocess(7586)[yes]?
 +ShouldIrestarttheHylaFAXserverprocesses[yes]?
 +Doyouwanttorunfaxaddmodemtoconfigureamodem[yes]?
 +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]?
 +Tracingduringsendandreceivesessions[11]?11 
 +Protectionmodeforreceivedfacsimile[0600]?0644 
 +Protectionmodeforsessionlogs[0600]?0600 
 +ProtectionmodeforttyS0[0600]?0600 
 +Ringstowaitbeforeanswering[1]?
 +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]?
 +HoldUUCPlockfileduringinboundvoicecalls[Yes]?
 +Percentgoodlinestoacceptduringcopyqualitychecking[95]?95 
 +Maxconsecutivebadlinestoacceptduringcopyqualitychecking[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:
 +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]?
 +Howshoulditbeconfigured[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]?
 + 
 +CountryCode:34 
 +AreaCode:415 
 +LongDistancePrefix:34 
 +InternationalPrefix:011 
 +DialStringRules:etc/dialrules 
 + 
 +Aretheseok[yes]?
 +Doyouwanttorunfaxaddmodemtoconfigureanothermodem[yes]?
 +ShouldIrunfaxmodemforeachconfiguredmodem[yes]?
 +</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...)
  
-Are these ok [yes]? y\\ 
-Do you want to run faxaddmodem to configure another modem [yes]? n\\ 
-Should I run faxmodem for each configured modem [yes]? y 
informatica/linux/fax/configuracion_inicial_hylafax.1228212884.txt.gz · Last modified: 2015/04/13 20:19 (external edit)