Re: Upgrading 1.0.5 to 1.1.4
Thank you so much! It worked like a charm! - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Saturday, March 03, 2007 4:03 AM Subject: Re: Upgrading 1.0.5 to 1.1.4 Hi, Hi everyone. I'm currently running FreeRadius verison 1.0.5 on a Linux Redhat 9 server. I need to upgrade my FreeRadius to the latest, greatest version 1.1.4. Awhile back i upgraded from 0.9.3 to 1.0.5, but for the life of me i can't remember how to do the upgrade without completely messing up my current configuration. Can anyone provide exact instructions on how to go from 1.0.5 to 1.1.4 without changing the config files? Thanks. trivially? check what options were used with your last version (if its RPM then check the .spec file!) then ./configure your new source with the same options. then backup your current config directory (eg cp -R /etc/raddb /backups/freeradius/todays_date). if using MySQL, use mysqldump etc to save the database. backup the dictionary file directory too. you MAY have local changes. then shut down the service. make install this should NOT blat files. but it may well change permissions. so now check the permissions for the files. then check the SQL schema to check no new entries are needed! radiusd -X this should run complete to waiting connections line , if not. check why in the output! now run the service normally. welcome to 1.1.4. however, you should now spend time checking the new config files (in the source directory) and comparing them to yours to check for new syntax and options...and new features! (also read the changelog). if not used, remove the excess files such as naslist, clients and realms. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Upgrading 1.0.5 to 1.1.4
Hi everyone. I'm currently running FreeRadius verison 1.0.5 on a Linux Redhat 9 server. I need to upgrade my FreeRadius to the latest, greatest version 1.1.4. Awhile back i upgraded from 0.9.3 to 1.0.5, but for the life of me i can't remember how to do the upgrade without completely messing up my current configuration. Can anyone provide exact instructions on how to go from 1.0.5 to 1.1.4 without changing the config files? Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Question about deleting old files
Hi Everyone: I have upgraded my freeradius from version 0.9.3 to the newest version. Is it safe to delete all of the files from the 0.9.3 version such as the .lib, .lib.so and .a files? Thanks! Linda PagilloDirector of Technical ServicesN2 The Net, LLC931-372-9179931-520-4031 (FAX)[EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Question about deleting old files
Thank you, sir! - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, November 23, 2005 3:28 PM Subject: Re: Question about deleting old files Linda Pagillo [EMAIL PROTECTED] wrote: I have upgraded my freeradius from version 0.9.3 to the newest version. Is it safe to delete all of the files from the 0.9.3 version such as the .lib, .lib.so and .a files? Thanks! Yes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Question about deleting old files
Thanks! - Original Message - From: Joe Maimon [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, November 23, 2005 3:42 PM Subject: Re: Question about deleting old files Alan DeKok wrote: Linda Pagillo [EMAIL PROTECTED] wrote: I have upgraded my freeradius from version 0.9.3 to the newest version. Is it safe to delete all of the files from the 0.9.3 version such as the .lib, .lib.so and .a files? Thanks! Yes. Alan DeKok. - Use package management if possible. As long as it understands you are upgrading package x.1 withpackage x.2 it will replace/delete stuff intelligently for you. To this end, you can keep local packages in apt repositories, use checkinstall, rebuild rpms...so on so forth. Or if you install from source, keep it around and do a make uninstall -- but make sure you have a copy of your /etc/raddb or equivalent directory. The library files are only a problem if you have an unrelated app that may be using those and requiring that specific version. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Freeradius and What's Up Gold Continued
Good morning Mr. DeKok: I already sent this message to the list once, but i'm not sure that it got there because i was having email server issues that day. If you have already seen this and responded, i did not get your response. Ichanged my WUG timeout from 5 sec to 30 seconds as a test. The same thing was happening as usual. I would get a few good responses and then WUG would tell me that Freeradius was down. Then i changed my timeout to 60 seconds. I have not gotten a message from WUG telling me that Freeradius is down since i did that and that was several days ago.. Does that mean that my first suspision was correct about Freeradius taking up to 60 seconds to respond to a sent request at times? Also, i know that you said WUG should re-transmit the packet in a case like this, but i have WUG set to only sendone request every 20 minutes because i monitor my entire network with WUG and if i sent a request to Freeradius every few seconds, i would have to send a "request" to all of my servers every few seconds. With WUG it doesn't let you send requests to different things at different times. It's set to poll everything at once. I'm coming to the conclusion that i paid way too much for a crappy monitoring system. Thanks! Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Freeradius and What's Up Gold Question
Hi everyone: I'm going to try to explain this as best I can. I'm using Freeradius 1.0.5 on a Linux Redhat 9 server. I have a network monitoring program on another computer called What's Up Gold. It is made by a company called Ipswitch. There is a setting in the WUG program that lets you monitor a radius server. This is how Ipswitch explainshow it works: "What we specified for a test is an INVALID test for the userid TEST as it not encoded using the secret key. Then what we expect back is a response telling us the userid doesn't exist. The main key for making it work on Radius servers is to ensure the requesting workstation has permissions to send Radius requests. This seems to be the most common error in implementation by users. You will have to include the Monitor station (that is, the computer running WUG) in the /etc./raddb/clients file on the Radius server." I completely understand what it is saying and I have done this. Now that I have given you some background on how this works, here is my actual situation and question: I keep getting false positives on my WUG telling me that freeradius is down even though it's not. This does not happen everytime WUG sends a request to the radius. It happens at random. When I search in the radius logs it shows that the request is being sent to freeradius from WUG and the user TEST is indeed being rejected just like it's suppose to. The request is sent to the radius every 20 minutes and it makes it there every time. Now, the way I see it, it can be one of two things... The first...I have my WUG set at 5 seconds as a time out. Could freeradius, at times,be taking more than 5 seconds to respond to a sent request? if this is the case, I figure it would take my customers a few times to dial up and get authenticated at times, which is not a good thing since I work for an ISP. We haven't had any customers calling tech support about this, but still we can't rule it out just yet. The second... does freeradius lock out users after a certain amount of bad requests and if so, is there a configuration change that I can make to avoid this? I have looked all over for an answer to this question and I haven't found it, so I thought I'd post it here with the hope that someone would know. I'm sorry about the huge post. I just wanted to give enough information for the person/people that may help me with this. Thank you and I look forward to any response. By the way, I just wanted to say thanks to everyone that has helped me in the past, especially Mr. DeKok who has had much patience with me. I love your freeradius program. It's the best radius server I have used yet. Thank you for giving it to us for free and for all of your support because I do realize that you don't need to give any support if you didn't want to. You are much appreciated. Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Freeradius and What's Up Gold Question
Thank you once again Mr.DeKok. I have already added the secret to my clients.conf entry. I also already checked into adding the shared secret to WUG and there is no way to do this, so i'm told. Is there another way around this problem? Perhaps i have my clients.conf entry incorrect. Here is what i have: client xx.xxx.xxx.xx { secret = mysecrethere shortname = shortnamehere } It is different for the entries i have for my NAS. Here is an example of of those: client xx.xxx.xxx.xxx { secret = mysecrethere shortname = shortnamehere nastype= nastypehere login = loginhere password = passwordhere } Am I missing something? Thanks again. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thursday, October 20, 2005 3:45 PM Subject: Re: Freeradius and What's Up Gold Question Linda Pagillo [EMAIL PROTECTED] wrote: This is how Ipswitch explains how it works: What we specified for a test is an INVALID test for the userid TEST as it not encoded using the secret key. Then what we expect back is a response telling us the userid doesn't exist. This isn't how RADIUS works. A reject is not the same as user doesn't exist. RADIUS has reject, not user doesn't exist. You will have to include the Monitor station (that is, the computer running WUG) in the /etc./raddb/clients file on the Radius server. And the shared secret. Now, the way I see it, it can be one of two things... The first... I have my WUG set at 5 seconds as a time out. Could freeradius, at times, be taking more than 5 seconds to respond to a sent request? Sure, but it should be rare. AND the WUG should re-transmit the packet, as is normally done by RADIUS clients. The second... does freeradius lock out users after a certain amount of bad requests No. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Problem Starting Freeradius
Hi everyone: I have had an ongoing problem ever since first installing Freeradius over a year ago. I have Freeradius set to start automatically when my Linux server starts. Sometimes it starts and sometimes it doesn't. The weird thing is that it ALWAYS says that it's [OK] when my system boots whether it starts or not. The only error I have seen is "radius failed to start. subsystem locked". I have Googled this error with no luck. Can anyone help? Thanks! Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Problem Starting Freeradius
Thanks for the reply and the link Mr.DeKok. I read everything at the link. How is removing the lock/pid files by hand going to help my problem? How will i know when i need to remove them? Like i said before this happens at random. It will look like it's started , but when i go to my services console it gives my the subsystem locked error, but i can start it right up from there without removing anything. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Monday, October 10, 2005 12:52 PM Subject: Re: Problem Starting Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: I have Freeradius set to start automatically when my Linux server starts. Sometimes it starts and sometimes it doesn't. The weird thing is that it ALWAYS says that it's [OK] when my system boots whether it starts or not. The only error I have seen is radius failed to start. subsystem locked. I have Googled this error with no luck. Can anyone help? Thanks! http://www.redhat.com/magazine/008jun05/departments/tips_tricks/ You may have to remove the lock/pid files by hand. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Problem Starting Freeradius
Thank you Mr.DeKok. Will do! :) - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Monday, October 10, 2005 5:30 PM Subject: Re: Problem Starting Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: How is removing the lock/pid files by hand going to help my problem? The explanation on the page says that the message you're seeing is caused when those files exist, even though the service isn't running. How will i know when i need to remove them? Like i said before this happens at random. It will look like it's started , but when i go to my services console it gives my the subsystem locked error, but i can start it right up from there without removing anything. I would say it has to be a platform-specific thing, and probably has very little to do with FreeRADIUS. If the scripts used on your platform can't tell if a daemon is running or not, I suggest contacting your vendor, and asking them to fix it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: What's Up Gold and Freeradius
Mr. Dekok: I forgot to add this... I don't mean to question your knowledge because i know you are the programmer, but you said that the shared secret on the RADIUS client is wrong. Wouldn't this cause radius not to respond to What's Up Gold all the time instead of only some of the time? Thanks again. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Monday, October 03, 2005 6:29 PM Subject: Re: What's Up Gold and Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: Mon Oct 3 10:22:44 2005 : Auth: Login incorrect: = [TEST/L\200\212\3101\215\277\320\350\345\373\351\201\031\215] (from = client old port 0) The shared secret on the RADIUS client is wrong. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: What's Up Gold and Freeradius
Good morning Mr. DeKok: Thank you for your reply. Could you please tell me what i need to do to correct this issue? Which file do i have to fix? - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Monday, October 03, 2005 6:29 PM Subject: Re: What's Up Gold and Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: Mon Oct 3 10:22:44 2005 : Auth: Login incorrect: = [TEST/L\200\212\3101\215\277\320\350\345\373\351\201\031\215] (from = client old port 0) The shared secret on the RADIUS client is wrong. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
What's Up Gold and Freeradius
Hi everyone: I'm using Ipswitch's What's Up Gold to monitor my network. I have it set to notify me when certain things in my network go down etc... I have it set to monitor Freeradius. I put an entry into my clients.conf file to give the What's Up Gold computer access to send a request to Freeradius. Here is what's happening... my What's Up Gold keeps telling me that my Freeradius is down when indeed it's not. I'm guessing that when a request gets sent from What's Up Gold to Freeradius, it is not getting there or something. I checked my radius logs and here is an example of an entry i get when What's Up Gold sends a request to Freeradius... Mon Oct 3 10:22:44 2005 : Auth: Login incorrect: [TEST/L\200\212\3101\215\277\320\350\345\373\351\201\031\215] (from client old port 0) I don't know if the above will help any, but i thought i should include it in this post. Also, this problem does not always happen. It's kind of sporradic. There are lots of times when What's Up Gold sends a request to Freeradius and i get no errors. My worry is this... are my customers having to dial up several times before getting connected? Since Freeradius won't accept all requests from What's Up Gold, who's to say that it is accepting dial in requests from all ofmy customers all of the time? Any help or insight would be very much appreciated. Thanks! Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How can i tell which version of freeradius i'm running?
Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Segmentation Fault
I just installed the newest version of Freeradius (1.0.5)on my Linux Redhat 9 server. All went well except this... when i start the radius in debug mode.. all starts fine, but when the first user tries to authenticate, i get a Segmentation Fault and the radius stops. Any ideas? Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
My server is up and running. Thanks to all who helped
Hi Guys: I finally got Freeradius upgraded to the most current version. Thanks to all who helped. Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Questions about upgrading Freeradius
Hi everyone: I have been using Freeradius v.0.9.3 for over a year and i wish to upgrade to the latest version. Can anyone give me detailed instructions on how to do this? I use Freeradius in a prodcution enviroment and i can't afford to mess it up. I'm running Linux RedHat 9. Do i just do a ./configure, make and make install like i did the first time? If yes, won't that overwrite all of my current config files? Thanks! Linda PagilloDirector of Technical ServicesN2 The Net, LLC[EMAIL PROTECTED]931-372-9179 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Questions about upgrading Freeradius
Thanks for your reply. Is it really this much work to do a simple upgrade? Is there a shortcut? - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 9:58 AM Subject: Re: Questions about upgrading Freeradius On Wed, 28 Sep 2005, Linda Pagillo wrote: Hi everyone: I have been using Freeradius v.0.9.3 for over a year and i wish to upgrade to the latest version. Can anyone give me detailed instructions on how to do this? I use Freeradius in a prodcution enviroment and i can't afford to mess it up. I'm running Linux RedHat 9. Do i just do a ./configure, make and make install like i did the first time? If yes, won't that overwrite all of my current config files? Thanks! First, I would recommend setting up a lab machine (you can do it on your workstation if you need to) to test that your configs work correctly with the new version. Its probably backward compatible, but I wouldn't just blindly upgrade on production and hope for the best. Then you could compile freeradius with --prefix. This will put all configurations, binaries, etc.. into a certain directory. For example: ./configure --prefix=/usr/local/freeradius1.0.5 make make install When that's done, cd to /usr/local/freeradius1.0.5/etc/raddb and change your files to make it work like it did in testing. Shutdown the current radius version and start up the new one with /usr/local/freeradius1.0.5/sbin/radiusd -X and see if its working. If so, modify your startup scripts to point to the new version instead of the old. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Questions about upgrading Freeradius
I wish you had my job too because i'm about fed up with this crap.. Anyway, thanks for the reply, i'll do it. - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 11:48 AM Subject: Re: Questions about upgrading Freeradius You consider that much work? I wish I had your job! :) On Wed, 28 Sep 2005, Linda Pagillo wrote: Thanks for your reply. Is it really this much work to do a simple upgrade? Is there a shortcut? - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 9:58 AM Subject: Re: Questions about upgrading Freeradius On Wed, 28 Sep 2005, Linda Pagillo wrote: Hi everyone: I have been using Freeradius v.0.9.3 for over a year and i wish to upgrade to the latest version. Can anyone give me detailed instructions on how to do this? I use Freeradius in a prodcution enviroment and i can't afford to mess it up. I'm running Linux RedHat 9. Do i just do a ./configure, make and make install like i did the first time? If yes, won't that overwrite all of my current config files? Thanks! First, I would recommend setting up a lab machine (you can do it on your workstation if you need to) to test that your configs work correctly with the new version. Its probably backward compatible, but I wouldn't just blindly upgrade on production and hope for the best. Then you could compile freeradius with --prefix. This will put all configurations, binaries, etc.. into a certain directory. For example: ./configure --prefix=/usr/local/freeradius1.0.5 make make install When that's done, cd to /usr/local/freeradius1.0.5/etc/raddb and change your files to make it work like it did in testing. Shutdown the current radius version and start up the new one with /usr/local/freeradius1.0.5/sbin/radiusd -X and see if its working. If so, modify your startup scripts to point to the new version instead of the old. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Questions about upgrading Freeradius
Thanks Dusty, i know you were just kidding with me and that's cool :) I'm just having a bad day hehe. So what i would have to do is set up freeradius 0.9.3 on a different system and then upgrade it as a test and if everything goes well i should do it on my production system? - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 12:50 PM Subject: Re: Questions about upgrading Freeradius I was just giving you a hard time. Its a little longer of a process, but it will definately save you a lot of time and more importantly a lot of stress if you do run into issues. BTW - I am in the process of replacing all our radius servers here too. So far, I've had no issues with configurations moving between .9 or .93 and 1.0.5. My setup is pretty simple here though. Good Luck with the upgrade. -Dusty Doris On Wed, 28 Sep 2005, Linda Pagillo wrote: I wish you had my job too because i'm about fed up with this crap.. Anyway, thanks for the reply, i'll do it. - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 11:48 AM Subject: Re: Questions about upgrading Freeradius You consider that much work? I wish I had your job! :) On Wed, 28 Sep 2005, Linda Pagillo wrote: Thanks for your reply. Is it really this much work to do a simple upgrade? Is there a shortcut? - Original Message - From: Dusty Doris [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Wednesday, September 28, 2005 9:58 AM Subject: Re: Questions about upgrading Freeradius On Wed, 28 Sep 2005, Linda Pagillo wrote: Hi everyone: I have been using Freeradius v.0.9.3 for over a year and i wish to upgrade to the latest version. Can anyone give me detailed instructions on how to do this? I use Freeradius in a prodcution enviroment and i can't afford to mess it up. I'm running Linux RedHat 9. Do i just do a ./configure, make and make install like i did the first time? If yes, won't that overwrite all of my current config files? Thanks! First, I would recommend setting up a lab machine (you can do it on your workstation if you need to) to test that your configs work correctly with the new version. Its probably backward compatible, but I wouldn't just blindly upgrade on production and hope for the best. Then you could compile freeradius with --prefix. This will put all configurations, binaries, etc.. into a certain directory. For example: ./configure --prefix=/usr/local/freeradius1.0.5 make make install When that's done, cd to /usr/local/freeradius1.0.5/etc/raddb and change your files to make it work like it did in testing. Shutdown the current radius version and start up the new one with /usr/local/freeradius1.0.5/sbin/radiusd -X and see if its working. If so, modify your startup scripts to point to the new version instead of the old. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Problem with FreeRadius starting up
Hello All: I'm running FreeRadius 0.9.3 on a serverwhich usesLinux Redhat 9. Here is the problem. When i first installed FreeRadius about 8 months ago, i addedthe rc.radiusd script to my Linux startup.Lately, whenI reboot my server, my Linux startup screen shows that FreeRadius has started upwith no errors as it always has, but when i do a ps -aux from the Linux command line, it shows that it is not in the list of things running. I have to actually cd to /usr/local/sbin and start radiusd from there before FreeRadius will work correctly again. The weird thing is, this has not always been an on-going problem. It just started about 2 months ago. I thought for a while that it was my Linux server, but everything else on the server starts normallywhen i reboot. The only thing that does not start is FreeRadius. Again, Linux is showing that it is starting, but in reality, it's not. Any help would be appreciated. Thank you. Linda PagilloDirector of Technical ServicesN2 The Net
Re: Suspending Users
No, i did not overlook that. According to the FAQ, that is only suppose to be used if Freeradius is set up to use the flat user file, if i'm correct. In my case, i'm using the MySql setup. -- Original Message -- From: apellido jr., wilfredo p. [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 10:38:57 +0800 If your reading Freeradius FAQ, probabbly you were overlook of using Type-Auth := Reject. Which simply rejecting the user instead of changing user/s password. - Original Message - From: Linda Pagillo To: [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 10:39 PM Subject: Suspending Users Previously i posted this inquiry a few days ago and no one has replyed. I'm posting it again incase you all missed it. I have a quick questions. I was reading the FAQ and i saw the instructions for rejecting users from authenticating when their account is suspended etc.. but from what i see, the instructions in the FAQ are for people using the users file for authentication. I have set my freeradius to use mysql instead of the users file. Does anyone know what i need to do to reject users in this case? Thank you. This is the reply that one of you gave to me: If you just want suspended, then I would add a column suspended and edit the sql query in sql.conf. If you need more complex checking that can't be done with sql queries, then you might look at the exec or perl modules to execute external scripts. Ok, here is exactly what i need -- The only reason i would want to prevent a user from logging on would be because they did not pay their bill. All i want to do is make it so that they can't log on to the internet. The above post states that i need to add a column called suspended and edit the sql query in sql.conf. Here are my 2 questions.. in which mysql table do i need to add the column? And what do i need to edit in the sql.conf file? Thank you. Linda Pagillo Director of Technical Services N2 The Net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Rejecting Users when using mysql
Good morning everyone: I have a quick questions. I was reading the FAQ and i saw the instructions for rejecting users from authenticating when their account is suspended etc.. but from what i see, the instructions in the FAQ are for people using the users file for authentication. I have set my freeradius to use mysql instead of the users file. Does anyone know what i need to do to reject users in this case? Thank you. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Mysql and Freeradius--WORKING FINE
Hi Mr. DeKok I just wanted to let you know that i did exatly what you said to do. I installed the Mysql Development package and i now have freeradius up and running using mysql with no problems at all. Everything is beautiful thanks to your help. I just wanted to show you my appreciation. Thank you, sir. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 30, 2004 3:01 PM Subject: Re: Mysql and Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: Your previous post said Normally, you don't have to do anything. FreeRADIUS will find MySQL, and automatically build the rlm_sql_mysql driver. FreeRADIUS will find it: IF MYSQL EXISTS ON YOUR SYSTEM. It is very clear that the MySQL development package DOES NOT exist on your system. No amount of playing games with FreeRADIUS is going to install the MySQL development package. Stop playing with FreeRADIUS, it's not the problem. Install the MySQL development RPM. Now. So what you're telling me is that i should have an actual file called rlm_sql_mysql, is that correct? No. I never said that. I have no idea how you got that conclusion from my posts. Stop trying to interpret my responses. Because you're unfamiliar with the system, your interpretations are wrong. Take my responses at face value, believe them, and do what they say. Also, Mr.DeKok, please forgive me for asking questions that may seem simple to most people. I'm very new at this and Linux in general. I realize that you are a very intelligent man and being a programmer, you probably don't have the time to deal with newbies like me. Just know that your time is appreciated by me. Thank you again. I don't mind that you're unfamiliar with the process. I do mind that you seem to have trouble following instructions. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Could not link driver rlm_sql_mysql: file not found
Thanks. I already read all of that and i did everything he said to do. I'm happy that i read that because it was the only thing that really helped me to get started with freeradius in general. I followed all of the directions and got the thing running using text file authentication, then i followed his directions for the Mysql part and i got the error: Could not link driver rlm_sql_mysql: file not found.. now i can't get past it no matter what i do. I have tried everything. Thanks again! -- Original Message -- From: Milver S. Nisay [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 30 Apr 2004 06:15:06 +0100 Hello everyone... I'm running freeradius-0.9.3 on Linux Redhat 9. The freeradius program is working perfectly by itself, but when i try to use it with Mysql 3.23 i get the error Could not link driver rlm_sql_mysql: file not found. I have read suggestions all day today on how to fix this. I have tried all of the suggestions on the freeradius site and from a few other places that i found by using google.com. Nothing worked so lastly i went ahead and uninstalled freeradius completely and rebuilt it without dynamic libraries per advice on the freeradius FAQ.. this did not work neither. I have a question though... i do not have an actual file called rlm_sql_mysql, but i DO have a folder with that name and it has things in it such as configure. Do i need to compile what is in that folder to actually make the rlm_sql_mysql file? Any help would be appreciated. Thank you. got it from the list, you might want to read this http://www.frontios.com/freeradius.html just passing it on, .. //milver - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Mysql and Freeradius
Hello again: I've been trying for days to get freeradius working with Mysql. I'm using Linux Redhat 9, Mysql 3.23 and Freeradius-0.9.3 At first i configured freeradius without any options.. i was able to get it working perfectly using text file authentication. Then i started to configure the Mysql part of it. I made a mysql DB and populated it with test data. When i edited my sql.conf and radiusd.conf files to use the Mysql, i received this error... Could not link driver rlm_sql_mysql: file not found as i stated previously in my last post. I researched this error and tried every solution given to me from other users, etc... it came to the point where i just uninstalled Freeradius completely and reconfigured it like this ./configure --disable-shared. then i tried to get it running in text file authentication mode once again.It installed correctly, and i edited my radiusd.conf, clients.conf and users files how i wanted them and then when i ran radiusd -x i kept getting errors for almost every module saying that entries were missing for all of these modules.. so i went through my radiusd.conf file and i commented out everytihng that had to do with these errors.. i got it up and running so i thought because it said i was "ready to recevie requests", but when i did a radtest, it refused me. So then i went in and decided that i was going to try to setup the Mysql and see what happens. Well, i put an "sql" entry in the radiusd.conf file where i needed them and i edited my sql.conf file accordingly, but i got an error about the sql module entries being missing. I could not find a way around this, so i went ahead and completely uninstalled Freeradius again. Now, this is where i'm at. Surely there are many people out there that have freeradius running with Mysql flawlessly. Can anyone give me exact directions on how i need to ./configurefreeradius so that mysql works?I'm sorry about the long post, but i know you guys like for people to explain in detail the problems that they are having. Thank you. Linda PagilloDirector of Technical ServicesN2 The Net
Re: Mysql and Freeradius
Hi Mr.DeKok, Your previous post said Normally, you don't have to do anything. FreeRADIUS will find MySQL, and automatically build the rlm_sql_mysql driver. When i configured freeradius the first time, i didn't do anything special. I just did the basic ./configure and that was it. As i posted previously, i ended up with a rlm_sql_mysql directory, not an actual file. Inside the directory showed files such as configure and MakeFile. This made me wonder if i had to do something with it. So what you're telling me is that i should have an actual file called rlm_sql_mysql, is that correct? If yes, where would i find that file? i have looked everywhere so that i could link it correctly, but it's not on my system. Also, Mr.DeKok, please forgive me for asking questions that may seem simple to most people. I'm very new at this and Linux in general. I realize that you are a very intelligent man and being a programmer, you probably don't have the time to deal with newbies like me. Just know that your time is appreciated by me. Thank you again. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 30, 2004 12:59 PM Subject: Re: Mysql and Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: ... Please edit your text so it's not all one run-on sentence. Arranging text neatly not only looks pretty, it ensures that the ideas are communicated clearly. When i edited my sql.conf and radiusd.conf files to use the Mysql, i received this error... Could not link driver rlm_sql_mysql: file not found as i stated previously in my last post. And there was a reply with a solution for you to implement. I researched this error and tried every solution given to me from other users, etc... it came to the point where i just uninstalled Freeradius completely and reconfigured it like this ./configure --disable-shared. then i tried to get it running in text file authentication mode once again. It installed correctly, and i edited my radiusd.conf, clients.conf and users files how i wanted them and then when i ran radiusd -x i kept getting errors for almost every module saying that entries were missing for all of these modules.. so i went through my radiusd.conf file and i commented out everytihng that had to do with these errors.. Which was a complete and total waste of your time. You should be configuring the server to use MySQL, not deleting everything else from the server. So then i went in and decided that i was going to try to setup the Mysql and see what happens. Well, i put an sql entry in the radiusd.conf file where i needed them and i edited my sql.conf file accordingly, but i got an error about the sql module entries being missing. It helps if you post the *actual* error message. We can't read your mind, and we can't read your terminal remotely. I could not find a way around this, so i went ahead and completely uninstalled Freeradius again. Which is again a complete and total waste of your time. It's not a Windows program, you don't need to re-install it if it hiccups. Now, this is where i'm at. Surely there are many people out there that have freeradius running with Mysql flawlessly. Can anyone give me exact directions on how i need to ./configure freeradius so that mysql works? My previous reply explains what you have to do to get FreeRADIUS to know about MySQL. Work on that stage first. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Uninstalling Freeradius
Thank you. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 9:38 AM Subject: Re: Uninstalling Freeradius Linda Pagillo [EMAIL PROTECTED] wrote: Could you please tell me how to uninstall freeradius version 0.9.3? If you've built it from source, there's no standard way to uninstall it. Just delete by hand all of the files it installed. I need to uninstall it and then reinstall it again because i believe that i made a few mistakes. It's not Windows. If you delete /etc/raddb (or wherever it is), any new install will over-write ALL traces of the old one. Also, how do you get it to run? Read the INSTALL file. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Uninstalling Freeradius
Could you please tell me how to uninstall freeradius version 0.9.3? I'm a newbie at Linux and i really have no idea how to do it. I need to uninstall it and then reinstall it again because i believe that i made a few mistakes. Also, how do you get it to run? Thank you so much and have a great day! Linda PagilloDirector of Technical Services