Help with freeRadius!
Hello,
I am newbie and I am trying to install freeRadius on my centOS. I was successfully able to install the freeRadius; here is the description of what I did: 1)From the freeradius.org I downloaded freeradius-1.1.6.tar under /etc/radius (created a folder by the name radius under /etc/) 2)Issued the command "tar -xvf freeradius-1.1.6.tar 3)It created a folder by the name freeradius-1.1.6 under /etc/radius 4)cd /etc/radius/freeradius-1.1.6 5)./configure 6)make 7)make install Everything went of fine and radius server got installed; I did not get any errors either. The question is when I try to test the radiuserver using "radtest" command the request is rejected; here is what I did: 1)Edit "users" file and added user by the name test: ""test" User-Password == "test"" 2)From other window started the radius server under debug mode: "radiusd -X" and it started off with out any problems and this is what I had at the prompt: Module: Loaded radutmp radutmp: filename = "/usr/local/var/log/radius/radutmp" radutmp: username = "%{User-Name}" radutmp: case_sensitive = yes radutmp: check_with_nas = yes radutmp: perm = 384 radutmp: callerid = yes Module: Instantiated radutmp (radutmp) Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests. 3)From another window issued the command "radtest test test localhost 0 testing123" and I got this at the prompt: [root@kilimanjaro examples]# radtest test test localhost 0 testing123 Sending Access-Request of id 141 to 127.0.0.1 port 1812 User-Name = "test" User-Password = "test" NAS-IP-Address = 255.255.255.255 NAS-Port = 0 rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=141, length=20 [root@kilimanjaro examples]# 5)And this is the error I see on the first window where in Radius server is listening. modcall: entering group authenticate for request 0 modcall[authenticate]: module "unix" returns notfound for request 0 modcall: leaving group authenticate (returns notfound) for request 0 auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 1 seconds... --- Walking the entire request list --- Waking up in 1 seconds... --- Walking the entire request list --- Sending Access-Reject of id 141 to 127.0.0.1 port 32769 Waking up in 4 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 141 with timestamp 4660c98b Nothing to do. Sleeping until we see a request. Now my question is how to make this work; what do I need to do in order for Radius server to accept the request! Please help me; I am missing something very simple but not able to figure out what. All your help is greatly appreciated; also I am posting this post on the "linux security" forum too. Thanks -K2 |
Please don't post the same question more than once.
http://www.linuxquestions.org/questi...d.php?t=558474 http://www.linuxquestions.org/questi...d.php?t=558475 |
Quote:
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
http://www.linuxquestions.org/questi...d.php?t=558474 |
All times are GMT -5. The time now is 05:11 PM. |