Date: Sat, 2 Mar 1996 11:26:21 -0300 (EST) From: "Lenzi, Sergio" <lenzi@cwbone.bsi.com.br> To: sreid@edmbbs.iceonline.com Cc: questions@freebsd.org Subject: Re: PPP server setup Message-ID: <Pine.BSF.3.91.960302111718.7675A-100000@lenzi> In-Reply-To: <9603020503.D4598qw@edmbbs.iceonline.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960302111718.7675A-100000>