1#
2# mgetty configuration file
3#
4# this is a sample configuration file, see mgetty.info for details
5#
6# comment lines start with a "#", empty lines are ignored
7
8
9# ----- global section -----
10#
11# In this section, you put the global defaults, per-port stuff is below
12
13
14# set the global debug level to "@LOG_LEVEL@" (default from policy.h)
15debug @LOG_LEVEL@
16
17# set the local fax station id
18fax-id @FAX_STATION_ID@
19
20# access the modem(s) with @SPEED@ bps
21speed @SPEED@
22
23#  use these options to make the /dev/tty-device owned by "uucp.uucp"
24#  and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
25#port-owner uucp
26#port-group uucp
27#port-mode 0664
28
29#  use these options to make incoming faxes owned by "root.uucp"
30#  and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
31#fax-owner root
32#fax-group uucp
33#fax-mode 0640
34
35
36# ----- port specific section -----
37#
38# Here you can put things that are valid only for one line, not the others
39#
40
41# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
42#
43#port ttyS0
44#  debug 3
45#  data-only y
46
47# some other Rockwell modem, needs "switchbd 19200" to receive faxes
48# properly (otherwise it will fail with "timeout").
49#
50#port ttyS1
51#  speed 38400
52#  switchbd 19200
53
54# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
55#
56#port ttyS2
57#  debug 8
58#  init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
59#  statistics-chat "" AT OK ATI2 OK
60#  statistics-file /var/log/statistics.ttyS2
61#  modem-type cls2
62
63# direct connection of a VT100 terminal which doesn't like DTR drops
64# ("direct" meaning "*no* *modem*".  NEVER enable "direct yes" on modem lines!)
65#
66#port ttyS3
67#  direct y
68#  speed 19200
69#  toggle-dtr n
70