Subject: Re: simple dial in server config example?
To: None <mcmahill@mtl.mit.edu>
From: Tom Harvey <TomHarvey@IndustryFigure.com>
List: netbsd-users
Date: 02/26/2001 00:17:10
On Fri, Feb 23, 2001 at 06:47:52PM -0500, mcmahill@mtl.mit.edu wrote:
> 
> 
> Does anyone have a simple example on how to configure a dial-in server?  I
> have a 4 port serial card, 4 modems, want to support dial in and logging
> in to a shell account and also want a small number (5-10) of PPP only
> accounts to exist where each user has a static IP address.

/usr/pkgsrc/comms/mgetty+sendfax/ is highly recommended. i couldn't get
my modem to answer with getty, but it works fine with mgetty:

  % more /etc/ttys
  ...
  # doesn't work: modem doesn't answer
  #ttyC2  "/usr/libexec/getty std.57600"  dialup on
  #
  # mgetty replacement 
  ttyC2   "/usr/pkg/sbin/mgetty"  dialup on
  ...

  % more /etc/passwd
  ...
  ppp1:*:201:200:a        ppp user,,,:/nonexistent:/usr/sbin/pppd
  ppp2:*:203:200:a nother ppp user,,,:/nonexistent:/usr/sbin/pppd
  ...

plus, with mgetty's fax capabilities, as an added bonus, you will soon
be receiving helpful faxes several times a week offering you cheap
cellular phones and tropical vacation packages.