1From: Brett Wuth <wuth@castrov.cuug.ab.ca>
2Date: Fri, 1 Jun 2001 04:18:27 -0600 (MDT)
3Subject: hylafax-server: need doc on how to configure with mgetty
4
5[...]
6
7In order to have faxgetty accept data calls it must be configured to
8work with another program (likely mgetty).  Unfortunately the
9documentation isn't explicit on what needs to be done for mgetty.  I
10had to get out the source code of mgetty to figure out these
11options.  The documentation should make note of the following options
12required:
13
14
15------- in /etc/hylafax/config.ttyS1:
16
17ModemSetupAACmd: AT+FAA=1
18AdaptiveAnswer:         yes
19
20#mgetty:
21#  -x 9 : full debugging to /var/log/mgetty/mg_ttyS1.log
22#  -r   : direct line -- don't initialize modem
23#  -b   : non-blocking -- don't wait for ^M before prompting
24#  -s %s: set speed
25#  %l   : set device
26GettyArgs:	"-r -b -s %s %l"
27
28------- in /etc/mgetty/mgetty.config:
29# modem controlled by faxgetty
30port ttyS1
31   # already accepted data call, do not reset
32   toggle-dtr n
33
34
35Perhaps this bug should be logged against mgetty, but it's faxgetty
36that requires these options to be set up.
37
38Perhaps more than just documenting the solution, the hylafax installation
39script should set up the configuration automatically.
40
41These options have been tested with the following modem:
42ati3
43U.S. Robotics 56K Voice INT V4.7.35
44OK
45ati7
46Configuration Profile...
47
48Product type           US/Canada Internal
49Product ID:            66174981
50Options                V32bis,V.80,V.34+,x2, V.90
51Fax Options            Class 1/Class 2.0
52Line Options           Caller ID, Distinctive Ring
53Voice Options          Speakerphone, TAD
54Clock Freq             92.0Mhz
55EPROM                  256k
56RAM                    32k
57
58FLASH date             4/22/98
59FLASH rev              4.7.35
60
61DSP date               4/22/98
62DSP rev                4.7.35
63
64OK
65
66
67
68-- System Information
69Debian Release: 2.2
70Kernel Version: Linux castrov 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i486 unknown
71
72Versions of the packages hylafax-server depends on:
73hi  libtiff3g      3.4beta037-5.1 tiff runtime library [libc6]
74ii  gs             5.10-10.1      Postscript interpreter with X11 and svgalib
75ii  libc6          2.1.3-18       GNU C Library: Shared libraries and Timezone
76ii  libjpeg62      6b-1.2         The Independent JPEG Group's JPEG runtime li
77ii  libstdc++2.9   2.91.61-1      The GNU stdc++ library (egcs version)
78ii  libtiff-tools  3.5.4-5        TIFF manipulation and conversion tools
79ii  zlib1g         1.1.3-5        compression library - runtime
80
81--- Begin /etc/hylafax/config (modified conffile)
82LogFacility:		local5
83CountryCode:		1
84AreaCode:		403
85LongDistancePrefix:	1
86InternationalPrefix:	011
87DialStringRules:	etc/dialrules
88ServerTracing:		1
89
90--- End /etc/hylafax/config
91
92