Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 1998 19:21:48 -0500
From:      yvonne kravitz <melk@switchpwr.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   dialin server using mgetty...
Message-ID:  <365DF09C.41C67EA6@switchpwr.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

hello,
I am trying to get a freebsd box setup as a dialin server
to replace linux box, having a problem with ppp files..
I have compiled mgetty port for v2.2.7 with -DAUTO_PPP option,
added line to /etc/ttys file:
cuaa1 "/usr/local/sbin/mgetty -s 57600" dialup on
configured /usr/local/etc/mgetty+sendfax/login.conf with uncommented
/AutoPPP/- a_ppp /usr/sbin/pppd auth -chap +pap login debug
when i set up ppp.conf with the recommended (ppp.conf.sample)
file for server side pap with passwd, and setup ppp.secret
pap-secret files,and dialin from an external  mac box i get:
casey10 pppd[691]: Connect:ppp0 <-->/dev/cuaa1
casey10 pppd[691]: Could not determine remote IP address
casey10 pppd[691]: Could not determine remote IP address
casey10 pppd[691]: Connection terminated, connected for 1 minutes
from a linux box..similar reponse `Peer is not authorized to use remote
address xxx.yyy,ggg.bbb`
this appears to be a set ifaddr problem in ppp.conf?
Thanks in advance for any assistance, i notice no disscusion of an
/etc/ppp/options and /etc/ppp/options.cuaa1 file as there would be in
linux, how is each modem identified with an ip address?
mel

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii; name="ppp.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ppp.conf"

PAPServerwithPASSWD:
 enable pap
 enable passwdauth
 enable proxy
 set ifaddr 97.72.2.15/24  97.72.2.19/24



--------------446B9B3D2781E494167EB0E7--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365DF09C.41C67EA6>