PPP Problem and question.

Anton Blajev valqk at lozenetz.net
Thu Feb 19 13:14:21 PST 2004

Hello there to everyone.
I'm using freebsd for pptp server and I'm trying to setup a reeradius
ippoll feature working with fbsd.
I'm expiriencing problems with that, it dues to a problem that
(according to me) comes from a ppp userland tool.

I have setupped working freeradius+mysql and a pptp+ppp server, the
problem comes whe I try to get a dynamic ip from the freeradius(beacuse
ppp userland can't be used[or I'm mistaking? can ppp assign a dynamic ip
addres by itself?)
so this is the problem: 
when I try to test if it's working with radtest it goes something like
radtest bla bla 1812 blabla

I got: 
rad_recv: Access-Request packet from host, id=255,
        User-Name = "bla"
        User-Password = "bla"
        NAS-IP-Address =
        NAS-Port = 1812
modcall: entering group authorize for request 38

.... and I get an ip address assinged fomr the dynamic range:
rad_recv: Access-Accept packet from host, id=99,
        Framed-Protocol = PPP
        Service-Type = Framed-User
        Framed-IP-Address =
        Framed-IP-Netmask =

BUT!!! when I try to connect trough the pptp (ppp implementation under
freebsd 4.9 using "set radius" in the ppp.conf I get this:

rad_recv: Access-Request packet from host, id=109,
        User-Name = "bla"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        MS-CHAP-Challenge = 0x35303437363836363834343734393632
        MS-CHAP2-Response =
        NAS-Identifier = "valqk.upper.lan"
        NAS-Port-Type = Virtual

and after that:
rlm_ippool: Could not find nas port information. Return NOOP.
  modcall[post-auth]: module "access_pool" returns noop for request 35

As we obviously see, ppp is NOT seding the NAS-Port var when sending a
request to freeradius trought ppp... 

Is this some kind of bug and can anyone tell me why is this happenig???
I'd greatly appriciate any help!!
10x in advance!!!

More information about the freebsd-net mailing list