From owner-freebsd-isp Wed Apr 29 06:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28509 for freebsd-isp-outgoing; Wed, 29 Apr 1998 06:27:43 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from voltage.net (voltage.net [208.15.104.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28501 for ; Wed, 29 Apr 1998 06:27:41 -0700 (PDT) (envelope-from sward@voltage.net) Received: from arky.voltage.net (arky.voltage.net [208.15.104.72]) by voltage.net (8.8.8/8.8.8) with SMTP id IAA25879; Wed, 29 Apr 1998 08:23:07 -0500 (CDT) Message-Id: <3.0.32.19980429083246.00683c68@mail.voltage.net> X-Sender: sward@mail.voltage.net X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 29 Apr 1998 08:32:47 -0500 To: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen), isp@FreeBSD.ORG From: Susie Ward Subject: Re: pppd troubles in 2.2.6-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm running a similar setup, but did things slightly different and my wtmp logs work rather well. Seems like someone else who was starting pppd directly from /etc/ttys posted having a similar problem. At 08:52 AM 4/29/98 +0200, ETX-B-SL Martti Kuparinen wrote: >I am starting pppd directly from /etc/ttys with the following lines > >ttyd0 "/usr/sbin/pppd -detach 115200" dialup on insecure >ttyd1 "/usr/sbin/pppd -detach 115200" dialup on insecure In my /etc/ttys I have this: ttyc01 "/usr/libexec/getty std.115200" unknown on insecure Then in /etc/gettytab: std.115200|115200-baud:\ :np:sp#115200:pp=/usr/sbin/pppd The built in getty can now autodetect ppp and start pppd for you (think this started in 2.2.2 or .5?) >My pppd configuration file (/etc/options) looks like this: > >crtscts # Hardware flow control >modem # modem line >passive # wait for LCP >+pap # Use PAP >login # Use /etc/passwd in PAP >domain xxx.xxx # our domain name >dns1 xxx.xxx.xxx.xxx # our primary DNS server >dns2 xxx.xxx.xxx.xxx # our secondary DNS server Add the -detach and 115200 to this file .. I have a couple of other things in there, but they probably aren't necessary. >My /etc/ppp/pap-secrets looks like this. Passwords should are verified >against /etc/passwd (well, that is really master.passwd) > >gunnar * "" >martti * "" You don't have to put the usernames in pap-secrets, I just have: * * "" Hope this helps :) Susie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message