Page 1 of 1

MKT PPPoE + Freeradius without MySql

Posted: Mon Mar 31, 2008 8:33 pm
by rafa_lore
Hello,
I'm trying to configure a radius Server with FreeRadius, but without MySQL. What I want is to use the user of Linux. It's possible?
I configurated my MKT and the Freeradius Server, thay are working. The MKT send the request to the Freeradius, but I can login!!.
My problems is how I configurate the groups. In /etc/freeradius/users I inserts its:
DEFAULT Group == "mikrotik"
Frame-Protocol = PPP,
Mikrotik-Rate-Limit = 256k/1024k,
Framed-MTU = 1500,
Service-Type = Framed-User,
Idle-Timeout = 300,
Fall-Through = No
So I create a linux group called "mikrotik" and then some user of this group.
I execute in debug mode the Freeradius and give me this message:
rad_recv: Acces-Request packet from host x.x.x.x:32768, id=18, length=176
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 13
NAS-Port-Type = Ethernet
User-Name = "rafa"
Calling-Station-Id = "xx:xx:xx:xx:xx:xx"
NAS-Port-Id = "interna"
MS-CHAP-Challenge = A LOT OF NUMBER AND LETTERS
MS-CHAP-Respode = A LOT OF NUMBER AND LETTERS
NAS-Identifier = "Mikrotik"
NAS-Ip-Address = x.x.x.x
Login incorrect: [rafa7<no User-Password attribure>] (from client Notebook port 13 cli ) xx:xx:xx:xx:xx:xx
rad_recv: Access-Request packet from x.x.x.x:32768, id=18, length=176
Sending Access-Reject of id 18 to x.x.x.x port 32768
And the MKT log say:
04:02:01 pppoe,info PPPoE connection established from xx:xx:xx:xx:xx:xx
04:02:01 pppoe,ppp,info <pppoe-0>: waiting for call...
04:02:02 pppoe,ppp,info <pppoe-0>: terminating... - user rafa authentication failed
04:02:02 pppoe,ppp,info <pppoe-0>: disconnected
Someone know, what is happening?
Thanks
Rafael Lore

Re: MKT PPPoE + Freeradius without MySql

Posted: Mon Mar 31, 2008 10:10 pm
by rafa_lore
Trying adn trying, I pass that error!!! The only things that I did was in the MKT PPPoE Server, use only authentication PAP, in the /etc/freeradius/user add the name of the pool that is in the MKT
But know stop in another place.
The FreeRadius stop in
Sending Accounting-Responde of id 54 to x.x.x.x port 32769
And MKTs log say:
05:48:18 pppoe,info PPPoE connection established from 00:16:D3:93:A6:D3
05:48:18 pppoe,ppp,info <pppoe-0>: waiting for call...
05:48:18 pppoe,ppp,info <pppoe-0>: authenticated
05:48:20 pppoe,ppp,info <pppoe-0>: terminating... - could not determine remote IP address
05:48:20 pppoe,ppp,info <pppoe-0>: disconnected
And my Pc give the error 629
And now, what?
Thank
Rafael Lore

Re: MKT PPPoE + Freeradius without MySql

Posted: Tue Apr 01, 2008 12:15 pm
by abab_rafiq
use a IP pool for specified profile. otherwise you can select the remote-ip as well.

Rafiq...

Re: MKT PPPoE + Freeradius without MySql

Posted: Tue Apr 01, 2008 3:29 pm
by rafa_lore
Thanks Rafiq
And do you know, which is the paramater for the freeradius to indicate the Remote-IP
Thank
Rafael Lore

Re: MKT PPPoE + Freeradius without MySql

Posted: Thu Apr 03, 2008 2:20 am
by rafa_lore
Hello Rafiq
Do you know how to assing the Remote-IP
thank
Rafael Lore

Re: MKT PPPoE + Freeradius without MySql

Posted: Tue Apr 08, 2008 4:30 am
by jcremin
You can use:

Framed-IP-Address = 172.20.1.11,
Framed-IP-Netmask = 255.255.255.0,

Re: MKT PPPoE + Freeradius without MySql

Posted: Tue Apr 08, 2008 3:09 pm
by rafa_lore
Thanks!!
I resolved it, using a profile in the MKT, so from it take the paramaters that I don't assing
Rafael Lore