dalo(free)radius authentication problem
Michael Hartwick
hartwick at hartwick.com
Wed Jul 11 18:21:23 CEST 2012
Not sure why you are posting about daloradius on a FreeRADIUS list,
but a 2 second look says you have the port numbers wrong.
Michael
----------------------------------------------------------------------
Michael J. Hartwick, VE3SLQ
<mailto:hartwick at hartwick.com> hartwick at hartwick.com
Hartwick Communications Consulting (519) 396-7719
Kincardine, ON, CA
<http://www.hartwick.com> http://www.hartwick.com
----------------------------------------------------------------------
From:
freeradius-users-bounces+hartwick=hartwick.com at lists.freeradius.org
[mailto:freeradius-users-bounces+hartwick=hartwick.com at lists.freeradiu
s.org] On Behalf Of Soul -
Sent: Wednesday, July 11, 2012 04:17
To: freeradius-users at lists.freeradius.org
Subject: dalo(free)radius authentication problem
Dear ALL
i was follow the guide from the following page with the command, but
when testing, the Radius server is not responding.
For the setup on the Ubuntu newest server..
-sudo apt-get update
-sudo apt-get upgrade
-sudo apt-get install mysql-server
-sudo apt-get install php5-gd php-pear php-db
-sudo apt-get install freeradius freeradius-mysql
-sudo apt-get install phpmyadmin
On the DaloRadius Setup
-wget ...... 9-9.tar.gz
-tar -zxvf daloradius-0.9-9.tar.gz
-mv daloradius-0.9-9 daloradius
-sudo cp daloradius/ /var/www -R
-sudo chown www-data:www-data /var/www/daloradius -R
-sudo chmod 644
/var/www/daloradius/library/daloradius.conf.php
Database setup:
-cd /var/www/daloradius/contrib/db/
- Ignored:
-mysql -u root -p
Enter 'mySqlPassword'
mysql>!
CREATE DATABASE radius;
mysql> quit
- Ignored:
-mysql -u root -p radius <
fr2-mysql-daloradius-and-freeradius.sql
Database connection setup:
-cd /var/www/daloradius/library/
-sudo nano -w daloradius.conf.php
$configValues['FREERADIUS_VERSION'] = '2';
$configValues['CONFIG_DB_PASS'] = 'mySqlPassword';
$configValues['CONFIG_DB_TBL_RADUSERGROUP'] = 'radusergroup';
Installation completed and login page to create user:
-http://your ip address/daloradius
username: administrator
password: radius
When i test it shown not respond from the server..
the
NAS setting is matched, refer to the log file from the
Daloradius, it
shown "Error: Ignoring request to authentication address"
could it be
due to the setup error or? as refer to the guidance from th!
e web, the
setup everything is run well, using the freerad
ius -x, it shown..
~Listening on authentication interface eth0 *port 1812
~Listening on accounting *port 1813
~Listening on authentication address 127.0.0.1 port 18120 as
server inner-tunnel
~Ready to process request.
what could be wrong and which part should i check on it?
router debugging exsist:
R1#
*Mar 1 00:03:05.639: AAA/BIND(00000003): Bind i/f
*Mar 1 00:03:05.643: AAA/AUTHEN/LOGIN (00000003): Pick method
list 'default'
*Mar 1 00:03:05.651: RADIUS/ENCODE(00000003): ask "Username:
"
*Mar 1 00:03:05.651: RADIUS/ENCODE(00000003): send packet;
GET_USER
R1#
*Mar 1 00:03:07.359: RADIUS/ENCODE(00000003): ask "Password:
"
*Mar 1 00:03:07.363: RADIUS/ENCODE(00000003): send packet;
GET_PASSWORD
*Mar 1 00:03:08.795: RADIUS/ENCODE(00000003):Orig. com!
ponent type = EXEC
*Mar 1 00:03:08.799: RADIUS: AAA Unsupported Attr: interface
[174] 5
*Mar 1 00:03:08.799: RADIUS: 74 74 79
[tty]
*Mar 1 00:03:08.799: RADIUS/ENCODE(00000003): dropping
service type, "radius-server attribute 6 on-for-login-auth" is off
*Mar 1 00:03:08.803: RADIUS(00000003): Config NAS IP: 0.0.0.0
*Mar 1 00:03:08.803: RADIUS/ENCODE(00000003):
acct_session_id: 1
*Mar 1 00:03:08.803: RADIUS(00000003): sending
*Mar 1 00:03:08.807: RADIUS/ENCODE: Best Local IP-Address
192.168.44.1 for Radius-Server 192.168.44.129
*Mar 1 00:03:08.811: RADIUS(00000003): Send Access-Request to
192.168.44.129:1645 id 1645/1, len 84
*Mar 1 00:03:08.811: RADIUS: authenticator 7D F1 9D 12 60 81
DE 8C - FC 0B A4 96 E1 CD 71 E8
*Mar 1 00:03:08.811: RADIUS: User-Name [1] 6
"test"
*Mar 1 00:!
03:08.815: RADIUS: User-Password [2] 18 *
*Mar 1
00:03:08.815: RADIUS: NAS-Port [5] 6 98
*Mar 1 00:03:08.815: RADIUS: NAS-Port-Id [87] 7
"tty98"
*Mar 1 00:03:08.815: RADIUS: NAS-Port-Type [61] 6
Virtual [5]
*Mar 1 00:03:08.819: RADIUS: Calling-Station-Id [31] 15
"192.168.44.10"
*Mar 1 00:03:08.819: RADIUS: NAS-IP-Address [4] 6
192.168.44.1
R1#
R1#
*Mar 1 00:03:13.559: RADIUS: Retransmit to
(192.168.44.129:1645,1646) for id 1645/1
R1#
*Mar 1 00:03:18.551: RADIUS: Retransmit to
(192.168.44.129:1645,1646) for id 1645/1
R1#
*Mar 1 00:03:23.223: RADIUS: Retransmit to
(192.168.44.129:1645,1646) for id 1645/1
R1#
*Mar 1 00:03:27.895: RADIUS: No response from
(192.168.44.129:1645,1646) for id 1645/1
*Mar 1 00:03:27.895: RADIUS/DECODE: No response from
radius-server; parse respo!
nse; FAIL
*Mar 1 00:03:27.895: RADIUS/DECODE: Case error(no response/
bad packet/ op decode);parse response; FAIL
thanks and appreciate it..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120711/fdf57399/attachment-0001.html>
More information about the Freeradius-Users
mailing list