From owner-freebsd-stable Tue Sep 26 22:11:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from jason.argos.org (a1-3a105.neo.rr.com [24.93.180.105]) by hub.freebsd.org (Postfix) with ESMTP id E934F37B424 for ; Tue, 26 Sep 2000 22:11:16 -0700 (PDT) Received: from localhost (mike@localhost) by jason.argos.org (8.10.1/8.10.1) with ESMTP id e8R568l29941; Wed, 27 Sep 2000 01:06:08 -0400 Date: Wed, 27 Sep 2000 01:06:08 -0400 (EDT) From: Mike Nowlin To: FreeBSD Cc: freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.1-STABLE as dialup server w/ pppd 2.3.5 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am trying to setup my FreeBSD 4.1-STABLE server to accept dialups from > my Windows laptop. For a few months now I have had no success (wasn't in > that much of a rush), but recently I've had a great need for that > arrangement so I've been trying again. > > Currently I'm using mgetty + AUTOPPP to start pppd on dialup, which > appears to be working (mgetty calls pppd successfully). However I have not > been able to get pppd to complete the PAP auth. My modem on the FreeBSD > box is an internal USR Courier with latest Flash bios on com port 1, > cuaa0. My server address is 192.168.1.1, and I'm trying to give the > Windows laptop an address of 192.168.1.11. Been doing this for quite a while from 3.4 through 4.1 with a bank of 8 modems... My preference is to use userland PPP, not pppd - I like the amount of control that ppp(8) gives you through pppctl(8). In /usr/local/etc/mget*/login.config, change: /AutoPPP/ - a_ppp /usr/sbin/pppd auth +chap +pap login debug to /AutoPPP/ - a_ppp /usr/sbin/ppp -direct incoming ...set up /etc/ppp/ppp.conf to have an "incoming" declaration (I believe this is described in the man page for ppp.) : incoming: set server +3000 MyMaintPasswd set speed 115200 set timeout 600 set log Phase Chat Connect IPCP tun set login set ifaddr 10.0.0.1/24 10.0.0.2/24 enable chap enable pap enable dns and /etc/ppp/ppp.secret: rmtsysname s0m3pa$$w0rd works like a champ. mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message