From owner-freebsd-net@FreeBSD.ORG Fri Feb 20 09:15:07 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 655E816A4CE for ; Fri, 20 Feb 2004 09:15:07 -0800 (PST) Received: from proton.hexanet.fr (proton.hexanet.fr [81.23.32.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 377FF43D1D for ; Fri, 20 Feb 2004 09:15:07 -0800 (PST) (envelope-from c.prevotaux@hexanet.fr) Received: from hexanet.fr (localhost [127.0.0.1]) by proton.hexanet.fr (Postfix) with SMTP id 9E39A4C97A for ; Fri, 20 Feb 2004 18:15:00 +0100 (CET) Date: Fri, 20 Feb 2004 18:15:00 +0100 From: Christophe Prevotaux To: freebsd-net@freebsd.org Message-Id: <20040220181500.068d88c8.c.prevotaux@hexanet.fr> In-Reply-To: <1077296343.6182.6.camel@valqk.upper.lan> References: <1077296343.6182.6.camel@valqk.upper.lan> Organization: HEXANET Sarl X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-NCC-RegID: fr.hexanet Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PPP+FreeRadius problem. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 17:15:07 -0000 Hello :) set ifaddr I believe On Fri, 20 Feb 2004 18:59:04 +0200 Anton - Valqk wrote: > Hello there, again. > I'm posting because the config files that you gave me(to Andrew > Karjagin) are almost the same with my own. > > The problem is not that it's not workin :) > pptp+ppp+radius authenticates the user etc. etc. if the user has a > Frame-IP-Address (static one) in the mysql table of freeradius, all > works just fine for him, but! > When I try to use ippool feature of the freeradius to get a dynamic > assinged ip, I don't get becasue ippool requires a NAS-Port and > address, > > when testing with radtest all works just fine because radtest sends > "NAS-Port" parameter to freeradius and it gives an ip addres, > when I try to connect using pptp+ppp(ppp with set radius) I don;t get > the ip because ippool says there is no NAS-Port. > > So the problem consists of that : > How can I make ppp to send NAS-Port parameter to the freeradius > server? Why ppp sends NAS-Port-Type = "Virtual" and when will send > parameter NAS-Port??? > It's ok for me if anyone can tell me how can I make a dynamic ip > assignments from the ppp(not from the radius).... > > here are my confs: > > /etc/ppp/radius.conf: > auth rt:1812 "bl4bl4" 5 4 > acct rt:1812 "bl4bl4" 5 4 > > /etc/ppp/ppp.conf > pptp: > accept MSCHAPv2 > enable MSCHAPv2 > disable chap > disavle pap > set log -LQM -command > set mrru 1500 > set mru 1504 # Room for the MP header > set lqrperiod 60 > set lqrperiod 10 > disable deflate > disable mppe > accept dns > set radius /etc/ppp/radius.conf > set ifaddr 192.168.12.1 HISADDR > set dns 192.168.0.100 80.72.64.4 > set timeout 0 > > 10x for the help in advance! > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- =============================================================== Christophe Prevotaux ===============================================================