Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2001 16:07:12 +0800
From:      "Ramoncito P. Puyat" <nitronarc@gateway.philor.com>
To:        "Melo Caraig" <melo@reklai.com>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: help needed to setup pppd dial-in service
Message-ID:  <5.0.2.1.2.20010419160410.00a4ac50@gateway.philor.com>
In-Reply-To: <ELEJLELOKDKGCKGGLMNMIEDECAAA.melo@reklai.com>
References:  <5.0.2.1.2.20010419143113.009f10d0@pop.info.com.ph>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.2.20010419160410.00a4ac50>