From owner-freebsd-net@FreeBSD.ORG Fri Feb 20 08:59:22 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 66F2916A4CE for ; Fri, 20 Feb 2004 08:59:22 -0800 (PST) Received: from access.lozenetz.net (access.lozenetz.net [80.72.64.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C37743D1F for ; Fri, 20 Feb 2004 08:59:19 -0800 (PST) (envelope-from lists@lozenetz.net) Received: (qmail 84721 invoked from network); 20 Feb 2004 16:59:17 -0000 Received: from unknown (HELO ?192.168.0.1?) (192.168.0.1) by upper.lan with SMTP; 20 Feb 2004 16:59:17 -0000 From: Anton - Valqk To: FreeBSD - net Content-Type: text/plain Message-Id: <1077296343.6182.6.camel@valqk.upper.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 20 Feb 2004 18:59:04 +0200 Content-Transfer-Encoding: 7bit Subject: 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 16:59:22 -0000 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!