From owner-freebsd-stable Thu Apr 19 0: 5:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail3.info.com.ph (mail3.info.com.ph [203.172.11.152]) by hub.freebsd.org (Postfix) with ESMTP id AFC2D37B424 for ; Thu, 19 Apr 2001 00:05:50 -0700 (PDT) (envelope-from nitronarc@iname.com) Received: from it_manager.iname.com ([202.163.209.16]) by mail3.info.com.ph (8.9.3/8.9.3) with ESMTP id OAA12060 for ; Thu, 19 Apr 2001 14:52:31 +0800 Message-Id: <5.0.2.1.2.20010419143113.009f10d0@pop.info.com.ph> X-Sender: nitronarc@gateway.philor.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 19 Apr 2001 15:05:19 +0800 To: freebsd-stable@freebsd.org From: Ramoncito P Puyat Subject: help needed to setup pppd dial-in service 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 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