<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>


<div dir="ltr">

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello Guys,<br><br>I am new in Freeradius server and also in linux and I need your help regarding the functionality of the server. I am currently using freeradius version 2.2.3  and my desktop computer is running the CentOS 6.4 linux operating. First of all, I've downloaded the uncompressed freeradius software package (freeradius-server-2.2.3.tar) from the freeradius website: <a href="http://www.freeradius.org" target="_blank">http://www.freeradius.org</a> from source code in the tar format. Then after I had to create a folder using CentOS linux in order to the freeradius server source code package to the folder, uncompressed and installed on the computer. After copied to the folder, I used the tar commands to uncompress the source code package and install it on the computer using #./configure, #make and #make install commands from the INSTALL file of the uncompressed server package. After installed, the configurations files of the RADIUS SERVER were found under /usr/local/etc/raddb directory path.<br>i tested the server on the debugging mode using radiusd -X and at the end of the output i saw this line  " Ready to process requests".<br><br> I have first created a user inside the users file and I did the normal default testing with the debugging mode and the user was accepted. After that i change the clients.conf file putting my shared key and the IP Address of the switch and also configure ssh on the server side <br><br> I have done the AAA , Radius and SSH configurations on the switch, then I used Putty on another computer to access to the server by putting the IP address of the switch . <br><br> Is this the right way to access the server ? <br> i ran the debugging mode on the server and try to access using putty on another PC .<br>here is the result i got this :<br>     rad_recv: Accounting-Request packet from host 192.168.9.26 port 5001, id=151, length=122<br>    User-Name = "testing"<br>    NAS-Identifier = "002389550a92"<br>    NAS-Port = 16781313<br>    NAS-Port-Type = Ethernet<br>    Calling-Station-Id = "0000-0000-0000"<br>    Acct-Status-Type = Start<br>    Acct-Authentic = RADIUS<br>    Acct-Session-Id = "1100030205009"<br>    Framed-IP-Address = 192.168.9.25<br>    NAS-IP-Address = 192.168.9.26<br>    Event-Timestamp = "Apr  2 2000 12:00:06 ICT"<br>    Service-Type = Login-User<br># Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default<br>+group preacct {<br>++[preprocess] = ok<br>[acct_unique] Hashing 'NAS-Port = 16781313,NAS-Identifier = "002389550a92",NAS-IP-Address = 192.168.9.26,Acct-Session-Id = "1100030205009",User-Name = "testing"'<br>[acct_unique] Acct-Unique-Session-ID = "6ff6addd9c912e31".<br>++[acct_unique] = ok<br>[suffix] No '@' in User-Name = "testing", looking up realm NULL<br>[suffix] No such realm "NULL"<br>++[suffix] = noop<br>++[files] = noop<br>+} # group preacct = ok<br># Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default<br>+group accounting {<br>[detail]     expand: %{Packet-Src-IP-Address} -> 192.168.9.26<br>[detail]     expand: /usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /usr/local/var/log/radius/radacct/192.168.9.26/detail-20140310<br>[detail] /usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/192.168.9.26/detail-20140310<br>[detail]     expand: %t -> Mon Mar 10 13:12:05 2014<br>++[detail] = ok<br>++[unix] = ok<br>++[exec] = noop<br>[attr_filter.accounting_response]     expand: %{User-Name} -> testing<br>attr_filter: Matched entry DEFAULT at line 12<br>++[attr_filter.accounting_response] = updated<br>+} # group accounting = updated<br>Sending Accounting-Response of id 151 to 192.168.9.26 port 5001<br>Finished request 1.<br>Cleaning up request 1 ID 151 with timestamp +122<br>Going to the next request<br>Waking up in 4.9 seconds.<br>Cleaning up request 0 ID 10 with timestamp +122<br>Ready to process requests.<br><br>then i stopped the debugging mode. and run the server using this commands<br> <br> [root@chris raddb]# service radiusd restart<br>Stopping radiusd:                                          [  OK  ]<br>Starting radiusd:                                          [  OK  ]<br><br>on the user's PC side i got access denied and the server does not report on the radius.log file .<br>please help me and also correct me where ever i went wrong.<br><br>With Regards,<br> Chris<br><br><br><br></div>
</div>
                                          </div></body>
</html>