From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 03:56:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75F7E16A4CE for ; Mon, 23 Feb 2004 03:56:51 -0800 (PST) Received: from gualeguaychu.gov.ar (host105.200-117-43.telecom.net.ar [200.117.43.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06DF643D1D for ; Mon, 23 Feb 2004 03:56:51 -0800 (PST) (envelope-from rjpereyra@gualeguaychu.gov.ar) Received: by gualeguaychu.gov.ar (Postfix, from userid 1061) id B769A41BE; Mon, 23 Feb 2004 08:57:16 -0300 (ART) Date: Mon, 23 Feb 2004 08:57:15 -0300 From: Roberto Pereyra To: freebsd-questions@freebsd.org Message-ID: <20040223115715.GA1220@gualeguaychu.gov.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: dialup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 11:56:51 -0000 Hi I want to setup a dialup freebsd 5.2 server. My setup is: ---INTERNET---------| GATEWAY |-------------|DIALUP SERVER| -----|----192.160.0.171 192.169.0.1 192.168.0.170 |----192.168.0.172 |----192.168.0.173 8 lines My ppp.conf is: default: pap: set debug phase lcp chat set timeout 0 set debug phase lcp chat enable pap set ifaddr 192.168.0.1 192.168.0.171-192.168.0.178 255.255.255.0 enable proxy accept dns set dns 192.168.0.1 load server set radius /etc/radius.conf I have enable the eight lines in my /etc/ttys ttyd0 "/usr/local/sbin/mgetty -s 115200" dialup on secure ttyd1 "/usr/local/sbin/mgetty -s 115200" dialup on secure ...... Some question: I must enable pseudo-device tun 1 1 must be 8 or this setup is automatic for freebsd 5.2 ? Is my ppp.conf rigth ? Is the "set ifaddr ...." line rigth ? I have in both sides USR 56K and not have more than 32k with analog lines. How can I have more speed ? Thanks in advance roberto