LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 10-06-2010, 01:49 AM   #1
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Rep: Reputation: 0
Problem in setting up radius server


Iam setting up a radius server in my local network , i have installed free radius for this. The users will be connected to server throgh pppoe connection. I have configured everything and everything seems to works properly except these 2 .

1) If a connecttion gets broken up then radius server is npt able to detect that connection is gone and the user is not able to connect againg for 30 -35 mins as the multiple logins are disable.

To make it more clear, suppose a person is connected to my server through lan but du to some reason the lan network was down for 5 to 10 which will result in disconnection in the client side but as server is up and runnig the server is not able to recgnize that the user is ang and mark that user as logged out.

Please help as iam on a wireless network such cases occur very frequently and i need to solve this problem.

2) whenever i gives max-mb limit of a user in database b/w 3 to 4 gb then that particular user is not able to connect to the server. But when i change to 2gb or greater than 5 gb it works properly.

Please help me..


Thanks
 
Old 10-09-2010, 10:58 PM   #2
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
please somebody help....
 
Old 10-10-2010, 09:06 AM   #3
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
I have seen this kind of issue in my ISP setup. But the case is different, in ISP there is RAS (Remote access server) between user and RADIUS but in this case if the user is disconnected RAS send request to RADIUS.


For this I dont know you have configured it as AAA Framework or only RADIUS, if it is AAA Framework then there is accounting going on. then set the accounting packet receiving time to 5 minuts or less, for this if RADIUS does not receive the accounting packet, it will remove its session and user can be able to reconect.


I did not work in Free RADIUS,so i dont know about it setting and configuration and documentation.
Free RADIUS is good soution,

hope you will find a good solution.
 
Old 10-12-2010, 12:22 PM   #4
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thanx for reply, but iam still clueless what to do...
 
Old 10-12-2010, 12:54 PM   #5
jcmlq
Member
 
Registered: Aug 2009
Posts: 32

Rep: Reputation: 19
Is disabling the simultaneous-user check an option?
 
Old 10-13-2010, 06:28 AM   #6
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
no its an compulsion, i have to disable simultaneous use...
 
Old 10-13-2010, 06:51 AM   #7
outsourcingrbts
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
H!,
can u tell me how u solve this problem..
 
Old 10-13-2010, 07:11 AM   #8
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Problem is still unsolved. Still searching for the solution. If you get 1 please do help me also and if get one then will do the same..
 
Old 10-13-2010, 07:47 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by champs1234 View Post
Problem is still unsolved. Still searching for the solution. If you get 1 please do help me also and if get one then will do the same..
Spell your words out...that text-speak garbage is against LQ rules.

And again, did you check the Freeradius pages/wiki??
http://freeradius.org/radiusd/doc/Simultaneous-Use

From the bottom of that page:
Quote:
6. PROBLEMS WITH DROPPED CONNECTIONS
Our PM3, with 2 ISDN-30 lines coming into it, had the habit of sometimes
dropping connections. In a few cases, the portmaster thought the session was still alive so if the user tried to login again, he or she was denied access. In our case, this problem was caused by a bad PRI line from the phone company.

We tried to compensate this by setting the Idle-Timeout to 15 minutes. That way, even if a user did get locked out the portmaster would clear the rogue session within 15 minutes and the user could login again.
If you don't log out, the connection stays active. So set the idle-timeout lower, or allow the user(s) more than one active connection.
 
Old 10-13-2010, 08:10 AM   #10
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry..

And i have already placed Idle-Timeout:=15 in my radgroupreply table, but still no success. maybe i have to write it in some other table or file, if that's the case then please do let me know.
 
Old 10-23-2010, 12:41 AM   #11
champs1234
LQ Newbie
 
Registered: Oct 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Please please please some one answer this, iam still searching for an answer
 
Old 10-23-2010, 10:19 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by champs1234 View Post
Please please please some one answer this, iam still searching for an answer
Quit posting follow ups to your own questions, and begging for help.

As with your other thread, you were given the answer, but can't seem to understand it. Read the page you were given. If things aren't working according to the documention FROM THE PEOPLE WHO WROTE THE PROGRAM, then you've done something wrong. Go back, read the instructions again, and follow them carefully.
 
  


Reply



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
radius server authorize problem jjsan Linux - Server 0 07-23-2008 04:02 AM
Setting up POPTOP + Radius RageD Linux - Software 2 06-09-2008 12:36 AM
URGENT newbie setting up ras server with radius mcalizo Linux - Networking 7 07-18-2004 06:18 PM
setting up radius server on my Redhat box sussexinternet Linux - Wireless Networking 7 05-16-2004 07:27 PM

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

All times are GMT -5. The time now is 02:18 PM.

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
Open Source Consulting | Domain Registration