LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-01-2007, 09:11 PM   #1
pm010537
LQ Newbie
 
Registered: Aug 2006
Posts: 25

Rep: Reputation: 15
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
 
Old 06-01-2007, 09:31 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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
 
Old 06-01-2007, 09:59 PM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Quote:
Originally Posted by stress_junkie
stress, I get your point, and its noble, but it doesn't help at all to double post to tell a person not to double post. Inform them of their error in one, report for closure, and answer in the other. Just a suggestion.
 
Old 06-02-2007, 03:20 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with freeRadius! pm010537 Linux - Security 2 06-21-2007 12:03 AM
FreeRadius PsyDonia Linux - Server 1 10-02-2006 11:53 AM
freeRADIUS hohgch Linux - Newbie 2 05-05-2006 07:41 PM
freeradius lmatos Fedora 0 07-18-2005 03:27 PM
freeRADIUS abdullahgee Programming 0 06-11-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration