From owner-freebsd-questions Wed Oct 28 03:25:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18774 for freebsd-questions-outgoing; Wed, 28 Oct 1998 03:25:13 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from prometheus.smlt.com (prometheus.smlt.com [195.172.80.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18768 for ; Wed, 28 Oct 1998 03:25:08 -0800 (PST) (envelope-from quintin@smlt.com) Received: from orion.smlt.com (orion.smlt.com [195.172.80.149]) by prometheus.smlt.com (8.8.7/8.8.7) with ESMTP id KAA08481; Wed, 28 Oct 1998 10:24:41 GMT Received: from localhost (quintin@localhost) by orion.smlt.com (8.8.7/8.8.7) with SMTP id LAA31605; Wed, 28 Oct 1998 11:53:33 GMT Date: Wed, 28 Oct 1998 11:53:33 +0000 (GMT) From: Quintin Oliver To: Doug White cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setup of FreeBSD PPP Server :) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've found that the problem is when I specify the address for the remote to use: Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: deflink: RecvConfigReq(208) state = Ack-Rcvd Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: IPADDR[6] 195.172.80.147 Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: COMPPROTO[6] 14 VJ slots without slot compression Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: deflink: SendConfigNak(208) state = Ack-Rcvd Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: IPADDR[6] 192.168.5.7 Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: deflink: RecvConfigReq(209) state = Ack-Rcvd Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: IPADDR[6] 195.172.80.147 Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: COMPPROTO[6] 14 VJ slots without slot compression Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: deflink: SendConfigNak(209) state = Ack-Rcvd Oct 26 12:23:47 smlserv2 ppp[10225]: IPCP: IPADDR[6] 192.168.5.7 The machine connecting to us, has the ethernet address of 195.172.80.147, the address 192.168.5.7 is the address I'd like UserPPP to alocate the dialup client, and the peers address is 192.168.5.6. Thanks, Quintin. On Tue, 27 Oct 1998, Doug White wrote: > On Tue, 27 Oct 1998, Quintin Oliver wrote: > > > Hi, > > > > I've setup a FreeBSD ppp server using Mgetty and UserPPP, I'm trying to > > dialin from Linux to FreeBSD, on the FreeBSD ppp side I get: > > > > ppp[8888]: Phase: Pap Output: SUCCESS > > ppp[8888]: Phase: Deflink: lcp -> open > > ppp[8888]: Phase: bundle: Network > > Try enabling more logging with > > set log LCP CCP IPCP Phase > > That will give you the phase traces. My guess is that the remote will not > give you 192.168.5.1 like you're requesting, and you keep asking and it > keeps rejecting until you finally give up. > > > When I get the third line, nothing happens, both modems keep sending data > > (problady ppp packets) to each other. Pap-secrets on Linux has been > > configured, and ppp.secret on FreeBSD has been configured like so: > > > > ppp.conf: > > ========= > > > > ppp: > > enable pap > > set ifaddr 192.168.5.1 192.168.5.2 > > See the ppp man page for the proper use of this command. Unless this isa > point to point link between two machines you own this will fail. > > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message