[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question - Hamm, Mgetty, PPP, wtmp - Arrgh!



On Sat, Feb 21, 1998 at 03:25:42PM -0500, Tim Sailer wrote:
> I wrote:
> > I just tried to shuffle modems.  Only /dev/ttyC1 shows connect speeds.
> > That rules out modem settings.
> 
> That makes me thing you need to look at /etc/mgetty.config. Check the
> per-port init strings.

This is it:

#
# 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 (5 is quite verbose)
debug 3

# set the local fax station id
fax-id unconfigured

# access the modem(s) with 38400 bps
speed 115200

# the /dev/tty-device is owned by uucp.uucp and mode "rw-rw-r--" (664)
port-owner root
port-group dialout
port-mode 0660

# incoming faxes are owned by "root.uucp" and mode "rw-rw----" (660)
fax-owner root
fax-group fax
fax-mode 0660


# ----- 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 3
#  data-only y

# ZyXEL 2864, connected to ttyS1: maximum debugging, grab statistics
#
#port ttyS1
#  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 /tmp/statistics.2864
#  modem-type cls2

# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS2
#  direct y
#  speed 19200
#  dtr-toggle n

port ttyC1
  data-only y
  init-chat "" ATZ OK
port ttyC2
  data-only y
  init-chat "" ATZ OK
port ttyC4
  data-only y
  init-chat "" ATZ OK
#  statistics-chat "" AT OK ATI6 OK ATI11 OK
#  statistics-file /tmp/statistics.ttyC2

--------------------------------

And this is from /etc/inittab:

C1:23:respawn:/sbin/mgetty /dev/ttyC1
C2:23:respawn:/sbin/mgetty /dev/ttyC2
C4:23:respawn:/sbin/mgetty /dev/ttyC4

Thanks,

Jeff


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: