# # mgetty configuration file # # this is a sample configuration file, see mgetty.info for details # # comment lines start with a "#", empty lines are ignored # ----- global section ----- # # In this section, you put the global defaults, per-port stuff is below # set the global debug level to "4" (default from policy.h) debug 4 # set the local fax station id #fax-id 49 115 xxxxxxxx # access the modem(s) with 38400 bps speed 115200 # use these options to make the /dev/tty-device owned by "uucp.uucp" # and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!* port-owner root port-group PPP port-mode 0664 # use these options to make incoming faxes owned by "root.uucp" # and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!* #fax-owner root #fax-group uucp #fax-mode 0640 # ----- port specific section ----- # # Here you can put things that are valid only for one line, not the others # # Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging # port ttyS0 # debug 7 data-only y init-chat "" AT&F OK ATS0=0 OK # some other Rockwell modem, needs "switchbd 19200" to receive faxes # properly (otherwise it will fail with "timeout"). # #port ttyS1 # speed 38400 # switchbd 19200 # ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics # #port ttyS2 # debug 8 # init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK # statistics-chat "" AT OK ATI2 OK # statistics-file /var/log/statistics.ttyS2 # modem-type cls2 # direct connection of a VT100 terminal which doesn't like DTR drops # ("direct" meaning "*no* *modem*". NEVER enable "direct yes" on modem lines!) # #port ttyS3 # direct y # speed 19200 # toggle-dtr n