Advertisement
Guest User

Mgetty config for LOR

a guest
Jan 31st, 2012
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.81 KB | None | 0 0
  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 "4" (default from policy.h)
  15. debug 4
  16.  
  17. # set the local fax station id
  18. fax-id ++7-***-***-****
  19.  
  20. # access the modem(s) with 38400 bps
  21. speed 14400
  22.  
  23. # use an alternate issue file, to avoid being bitten by linuxlogo
  24. issue-file /etc/issue.mgetty
  25.  
  26. #  use these options to make the /dev/tty-device owned by "uucp.uucp"
  27. #  and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
  28. #port-owner uucp
  29. #port-group uucp
  30. #port-mode 0664
  31.  
  32. #  use these options to make incoming faxes owned by "root.uucp"
  33. #  and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
  34. #fax-owner root
  35. #fax-group uucp
  36. #fax-mode 0640
  37.  
  38. #Email notify
  39. #notify ******@gmail.com
  40.  
  41. # ----- port specific section -----
  42. #
  43. # Here you can put things that are valid only for one line, not the others
  44. #
  45.  
  46. # Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
  47. #
  48. #port ttyS0
  49. #  debug 3
  50. #  data-only y
  51.  
  52. # some other Rockwell modem, needs "switchbd 19200" to receive faxes
  53. # properly (otherwise it will fail with "timeout").
  54. #
  55. #port ttyS1
  56. #  speed 38400
  57. #  switchbd 19200
  58.  
  59. # ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
  60. #
  61.   port ttyS0
  62.   debug 8
  63.   init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
  64.   statistics-chat "" AT OK ATI2 OK
  65.   statistics-file /var/log/statistics.ttyS0
  66.   modem-type auto
  67.  
  68. # direct connection of a VT100 terminal which doesn't like DTR drops
  69. # ("direct" meaning "*no* *modem*".  NEVER enable "direct yes" on modem lines!)
  70. #
  71. #port ttyS3
  72. #  direct y
  73. #  speed 19200
  74. #  toggle-dtr n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement