Community discussions

MikroTik App
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

MKT PPPoE + Freeradius without MySql

Mon Mar 31, 2008 8:33 pm

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
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: MKT PPPoE + Freeradius without MySql

Mon Mar 31, 2008 10:10 pm

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
 
abab_rafiq
Member Candidate
Member Candidate
Posts: 118
Joined: Thu Aug 24, 2006 12:47 pm
Location: Dhaka

Re: MKT PPPoE + Freeradius without MySql

Tue Apr 01, 2008 12:15 pm

use a IP pool for specified profile. otherwise you can select the remote-ip as well.

Rafiq...
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: MKT PPPoE + Freeradius without MySql

Tue Apr 01, 2008 3:29 pm

Thanks Rafiq
And do you know, which is the paramater for the freeradius to indicate the Remote-IP
Thank
Rafael Lore
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: MKT PPPoE + Freeradius without MySql

Thu Apr 03, 2008 2:20 am

Hello Rafiq
Do you know how to assing the Remote-IP
thank
Rafael Lore
 
jcremin
Member
Member
Posts: 360
Joined: Fri May 25, 2007 7:57 am

Re: MKT PPPoE + Freeradius without MySql

Tue Apr 08, 2008 4:30 am

You can use:

Framed-IP-Address = 172.20.1.11,
Framed-IP-Netmask = 255.255.255.0,
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: MKT PPPoE + Freeradius without MySql

Tue Apr 08, 2008 3:09 pm

Thanks!!
I resolved it, using a profile in the MKT, so from it take the paramaters that I don't assing
Rafael Lore

Who is online

Users browsing this forum: anav, Josephny and 42 guests