From owner-freebsd-stable Thu Apr 19 1: 8:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailx.info.com.ph (mailx.info.com.ph [203.172.11.23]) by hub.freebsd.org (Postfix) with ESMTP id A011A37B422 for ; Thu, 19 Apr 2001 01:08:17 -0700 (PDT) (envelope-from nitronarc@gateway.philor.com) Received: from it_manager.gateway.philor.com ([202.163.209.16]) by mailx.info.com.ph (8.11.2/8.11.2) with ESMTP id f3J81wA12003; Thu, 19 Apr 2001 16:01:58 +0800 (HKT) Message-Id: <5.0.2.1.2.20010419160410.00a4ac50@gateway.philor.com> X-Sender: nitronarc@gateway.philor.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 19 Apr 2001 16:07:12 +0800 To: "Melo Caraig" From: "Ramoncito P. Puyat" Subject: RE: help needed to setup pppd dial-in service Cc: freebsd-stable@freebsd.org In-Reply-To: References: <5.0.2.1.2.20010419143113.009f10d0@pop.info.com.ph> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG oppps... sorry i forgot to mention that there is a pap-secret file with the entries: #client server password ipaddr * * "" * At 04:32 PM 4/19/01 +0900, you wrote: >its not ppp-login it should be pap-secrets > > > >-----Original Message----- >From: owner-freebsd-stable@FreeBSD.ORG >[mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Ramoncito P Puyat >Sent: Thursday, April 19, 2001 4:05 PM >To: freebsd-stable@FreeBSD.ORG >Subject: help needed to setup pppd dial-in service > > >Hi all! > >Our company has a test server which has been set-up already using 4.3-RC, >with ipfilter/ipnat. We want to test if it is possible to add a pppd >dial-in service in this box. > >Hardware: Asus AP-100 server with a PIII-500, 256MB 18.2GB SCSI-HDD, 3 NICS >& USR 56K Modem. > >Assumptions: Server already set-up as a firewall/gateway with ipfilter/ipnat > >What we did: > >1. Installed mgetty+sendfax via ports. Used the standard >/usr/local/etc/mgetty+sendfax/mgetty.config. Only modified the "init-chat" >option to ""ATZ OK AT&F1M0E1Q0S0= OK > >2. Modified the /etc/ttys : ttyd0 "/usr/local/sbin/mgetty -s 115200" dialup >on secure > >3. Edited /usr/local/etc/mgetty+sendfax/login.config : /AutoPPP/ - - >/etc/ppp/ppp-login > >4. Created /etc/ppp/ppp-login. Chmod +x ppp-login > >#!/bin/sh >/usr/bin/mesg n >stty -tostop >exec /usr/sbin/pppd /dev/ttyd0 115200 > >5. Create /etc/ppp/options > >detach >require-pap >auth >crtscts >defaultroute >lock >passive >192.168.0.1:192.168.0.15 >domain my.domain >idle 300 >login >modem >ms-dns dns.ip.addr >netmask 255.255.255.0 >proxyarp >asyncmap 0 > >6. Edit kernel config file; added more ppp pseudo-devices (kernel file >already configured as gateway) > >Results... the dial-in answers, but PPP doesn't want to authenticate. > >Can anyone give us suggestions? > >TIA > >Ramon > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message