From owner-freebsd-questions Mon Mar 4 12:43:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA25711 for questions-outgoing; Mon, 4 Mar 1996 12:43:07 -0800 (PST) Received: from cwbone.bsi.com.br ([200.250.250.14]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA25645 for ; Mon, 4 Mar 1996 12:42:42 -0800 (PST) Received: from lenzi ([200.247.248.103]) by cwbone.bsi.com.br (8.6.12/8.6.9) with SMTP id LAA15532; Sat, 2 Mar 1996 11:23:19 GMT Date: Sat, 2 Mar 1996 11:26:21 -0300 (EST) From: "Lenzi, Sergio" X-Sender: lenzi@lenzi To: sreid@edmbbs.iceonline.com cc: questions@freebsd.org Subject: Re: PPP server setup In-Reply-To: <9603020503.D4598qw@edmbbs.iceonline.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk Hello sreid, I my site I would do the folowing: 1) create /etc/ppp/options with: modem crtscts mtu 296 asyncmap 0xffffffff 2) create a user (ppp) for example with shell /bin/sh and .profile: exec /usr/sbin/pppd passive :xxx.xxx.xxx.xxx (xxx->ip number) where ip number is "choosen" from the port (ttyd0/ttyd1) and a table. Now, when the user logs-in it starts pppd and gives an ip number to the other peer. When the user disconnects, the "modem" options is recognized by the pppd program, the program ends, and the init starts getty again (ready for the next connection). Hope this can help.