Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Just Networking :)
Small steps in a wonderful world
Home
About
Introduction
FreeRADIUS is the most popular open source RADIUS server and the most widely
deployed RADIUS server in the world. It supports all common authentication protocols,
and the server comes with a PHP-based web user administration tool called dialupadmin. It
supplies the AAA needs of many Fortune-500 companies.
Knowledge needed:
– Networking understanding
Software used:
Daloradius 0.9.9
LAMP
Hardware used:
1. Installing LAMP
– Ubuntu Server, after installation: sudo apt-get update & sudo apt-get upgrade need to
be apply.
– PHP5: sudo apt-get install php5 & restart apache2: sudo service apache2 restart
When it asks for root password, give any password of your choice and note it.
Now we need to install another packet, so that Php5 and Mysql can understand each other.
sudo apt-get install php5-mysql
ServerName localhost
in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will
disappear.
If you have a name inside /etc/hostname you can also use that name instead of
localhost.
use_mppe = yes
require_encryption = yes
require_strong = yes
with_ntdomain_hack = yes
Save the files and issue this command line: sudo ldconfig
– NAS authentication
$: mysql -u root -p
mysql> create database radius;
mysql> create user ‘freeradius’@’localhost’ identified by ‘radius123’;
mysql> grant all on radius.* to ‘freeradius’@’localhost’ identified by ‘radius123’;
mysql> flush privileges;
mysql> exit;
save and exit. Next, modify the login and the password:
save and exit, next will uncomment the fallowing lines from:
$INCLUDE sql.conf
$INCLUDE sql/mysql/counter.conf
– Download Daloradius:
wget http://sourceforge.net/projects/daloradius/files/daloradius/daloradius0.9-9
/daloradius-0.9-9.tar.gz
tar zxvf daloradius-0.9-9.tar.gz
$configValues[‘CONFIG_DB_USER’] = ‘freeradius’;
$configValues[‘CONFIG_DB_PASS’] = ‘radius123’;
Obs! Chose apache2 and when you are ask to configure the phpmyadmin database, chose
NO, database was already configured in the previous steps.
5. TESTING
http://myserver/daloradius
Problems encounter:
client 192.168.0.1/24 {
secret = asus
shortname =tp
Share this:
Categories: IT Network
Comments (48) Trackbacks (0) Leave a comment Trackback
1.
Nahid Rahman Mahmudur
January 17, 2015 at 5:50 am
Reply
Daniel
January 17, 2015 at 8:03 am
Reply
When you add “/24” will let know RADIUS server to allow connection from
all of the IP range 192.168.0.1 to 192.168.0.256, where 192.168.0.1 is the
NAS IP address or AP.
2.
Joey C
February 20, 2015 at 11:06 am
Reply
Hello,
Daniel
February 20, 2015 at 11:29 am
Reply
john
August 1, 2015 at 3:45 am
Reply
Daniel
December 5, 2015 at 9:05 am
3.
Dicky Prastianto Pramudya
June 15, 2015 at 12:17 am
Reply
Haii,
There is 3 section in “eap.conf”, eap section, peap section and ttls section, so in
which section should i change the “default_eap_type = peap”?
I choose to change the setting only in “peap” section, after all it’s works.
Thank you.
4.
Joseph Dodosh
June 15, 2015 at 4:20 am
Reply
Hello,
everything for me works fine between Freeradius and sql since I created a user and
did the radtest to check if it works and that was successful but when I installed
daloradius and did all the settings for it I am getting the following error while I am
trying to login:
Thanks
5.
Bhagath
June 28, 2015 at 5:31 pm
Reply
Hello,
ps ax | grep radius
2397 pts/1 s+ 0:00 grep –colour=auto radius
6.
dauzaylFirdaus
August 17, 2015 at 12:20 am
Reply
7.
Bruno Brasil
August 28, 2015 at 4:45 pm
Reply
8.
Daniel
August 30, 2015 at 7:55 pm
Reply
9.
John
September 10, 2015 at 1:59 pm
Reply
10.
Bao
September 17, 2015 at 3:16 am
Reply
I get the following error when we try to display the Radius Log in Daloradius:
11.
Roshan More
December 4, 2015 at 1:21 pm
Reply
Daniel
December 4, 2015 at 1:41 pm
Reply
12.
Roshan More
December 4, 2015 at 1:36 pm
Reply
13.
Roshan More
December 5, 2015 at 5:37 am
Reply
14.
Roshan More
December 5, 2015 at 6:15 am
Reply
Actually I done with all the given steps but still i struggling to find expected result.
15.
Roshan More
December 7, 2015 at 7:29 am
Reply
16.
Roshan More
December 8, 2015 at 10:09 am
Reply
pls give me some solution.accounting is not done after performing all the given steps
Marcus
December 8, 2015 at 12:13 pm
Reply
Daloradius is used only used for given access to users and devices. For more
accounting options a more complex setup is necessary and access to router
table.
17.
Roshan More
December 9, 2015 at 5:00 am
Reply
Ok.Thank u sir
18.
Roshan More
December 9, 2015 at 5:59 am
Reply
Sir ,
actually my radacct table is empty.how to update a radacct table??
19.
Roshan More
December 9, 2015 at 1:02 pm
Reply
20.
Roshan More
December 10, 2015 at 6:58 am
Reply
21.
Roshan More
December 10, 2015 at 8:53 am
Reply
22.
Steve
December 28, 2015 at 2:30 am
Reply
23.
Bojan Nikolić
January 17, 2016 at 11:13 am
Reply
I need help!
Where should I edit the RADIUS server IP 127.0.0.1 to the address that enable the
router to do … ?
Daniel
January 17, 2016 at 3:10 pm
Reply
to do what?
Bojan Nikolić
January 20, 2016 at 9:41 pm
24.
Roshan
January 18, 2016 at 11:08 am
Reply
Hello,
actually I done with all the given steps.my authentication is working but accounting
is not working.
my radacct table is empty.how to update a radacct table??
Thanks in advance.
25.
Roshan More
January 18, 2016 at 11:15 am
Reply
Hello,
I done with all the given steps.my authentication is working properly but accounting
is not working.
My radacct table is showing empty.how to update radacct table??
pls guide me.
Thanks in advance.
26.
NAZ
March 8, 2016 at 1:43 pm
Reply
Hi Thanks for the procedure it help me a lot kindly guide if i want google auth for
two factor.
27.
edimi
March 11, 2016 at 8:23 am
Reply
It works for android devices but i can’t connect from windows. Is there anything i
should do to fix that?
28.
edimi
March 12, 2016 at 4:57 pm
Reply
Everything works great with android devices! It’s not working for windows 7. Is
there anything i can do about it?
Thank you.
29.
SZE
March 17, 2016 at 11:39 am
Reply
http://94.23.68.40/daloradius
I not found a specific step by step I’m getting everything I’ve correctly entered
30.
Sujith Sa Kuttan
Hi Daniel, When i am trying to create the user in freeradius through SQL, I get the
below mentioned error. Please help me to fix it.
did you by change get to solve the error as i am having the same error.
31.
Sujith Sa Kuttan
March 25, 2016 at 12:38 pm
Reply
Can Daloradius provide acces via captive portal for LAN users?
32.
dsoodak
April 7, 2016 at 6:11 pm
Reply
It seems to have installed fine but the file “eap.conf” does not exist
dsoodak
April 7, 2016 at 6:20 pm
Reply
dsoodak
April 7, 2016 at 6:35 pm
Reply
looks like it has been renamed “eap and put in “mods-available” sub-directory
(comments still say “eap.conf”)
dsoodak
for some reason changes made to the copy of a file in “mods-available” seem
to be echoed in the copy in “mods-enabled”.
33.
Dipak Mahajan
May 2, 2016 at 9:48 am
Reply
Hello Sir,
I have configure with freeradius+ubuntu+Daloradius. Now I log in daloradius but
what is the next steps? Which IP can I provide to NAS… and How to create plan/
hotspot / batch/ group/ attributes and users..so plz help me…
34.
Raj Maharjan
May 5, 2016 at 2:46 am
Reply
@sujith sa kuttan hello my friend did you by change get to solved the error
create user ‘freeradius’@’localhost’ identified by ‘radius123’;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
‘‘radius123’’ at line 1
since i am getting the same error
please help
dipak
May 5, 2016 at 10:00 am
Reply
If it is not solved, then create new user and do all step one by one…
1. No trackbacks yet.
Leave a Reply
Recent Posts
Archives
November 2014
November 2012
October 2012
September 2012
August 2012
Categories
IT Network
Meta
Register
Log in
Entries RSS
Comments RSS
Blog at WordPress.com.
Top
Blog at WordPress.com. The INove Theme.