Hi, We are newbie to free radius. We have done some exploration with 1.1.7. Now we have moved from freeradius 1.1.7 to freeradius 2.0.5. As per the documentation (doc/radrelay), there should be radrelay.conf in /usr/local/etc/raddb. But this file is not present in our setup. Moreover , after reading "man radrelay.conf", we tried $./radiusd -X -n radrelay The output we got : Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radrelay.conf Unable to open file "/usr/local/etc/raddb/radrelay.conf": No such file or directory Errors reading /usr/local/etc/raddb/radrelay.conf. Please let us know if we are messing up the something here or is there any configuration related parameter to generate these files. We are stuck on this. Any pointers are welcome. Regards, Sanjeev
Hi,
We are newbie to free radius. We have done some exploration with 1.1.7. Now we have moved from freeradius 1.1.7 to freeradius 2.0.5. As per the documentation (doc/radrelay), there should be radrelay.conf in /usr/local/etc/raddb. But this file is not present in our setup.
what are you trying to acheive? in 2.x such things have been replaced/superceeded with virtual servers. have a look in sites-available/ directory to see the jys you can use alan
Hi Alan, Thanks for the reply. Actually in the freeradius-1.x the radrelay is separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd). By default is it enabled? If so is there a way to disable it? Is sites-available/copy-acct-to-home-server acting as radrelay.conf? Any input/pointers are highly appreciated. Regards, Sanjeev -----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.o rg [mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.free radius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: Monday, June 23, 2008 4:25 PM To: FreeRadius users mailing list Subject: Re: radrelay.conf in freeradius 2.0.5 Hi,
We are newbie to free radius. We have done some exploration with 1.1.7. Now we have moved from freeradius 1.1.7 to freeradius 2.0.5. As per the documentation (doc/radrelay), there should be radrelay.conf in /usr/local/etc/raddb. But this file is not present in our setup.
what are you trying to acheive? in 2.x such things have been replaced/superceeded with virtual servers. have a look in sites-available/ directory to see the jys you can use alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Alan Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd). How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)? Any input/pointers are highly appreciated. Regards, Sanjeev -----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.o rg [mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.free radius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: Monday, June 23, 2008 4:25 PM To: FreeRadius users mailing list Subject: Re: radrelay.conf in freeradius 2.0.5 Hi,
We are newbie to free radius. We have done some exploration with 1.1.7. Now we have moved from freeradius 1.1.7 to freeradius 2.0.5. As per the documentation (doc/radrelay), there should be radrelay.conf in /usr/local/etc/raddb. But this file is not present in our setup.
what are you trying to acheive? in 2.x such things have been replaced/superceeded with virtual servers. have a look in sites-available/ directory to see the jys you can use alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sanjeeva Rao wrote:
Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd).
You said that already. And we know that already. There's no need to quote the server documentation to the people who wrote it.
How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)?
You configure a "listen" section to read the "detail" file. Then, read the debugging output.
Any input/pointers are highly appreciated.
Read the examples in raddb/sites-available/. They document these features, and give examples of how they can be used. Alan DeKok.
Hi,
Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd).
How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)?
configure the virtual server you require and then see if the stuff you have configured - eg dumping accounting to a database...is working...as alys radiusd -X is Very Very useful alan Very Very useful alan
Hi Alan Thanks for the reply. I have run radiusd -X and I got the following output. # ./radiusd -X FreeRADIUS Version 2.0.5, for host i686-pc-linux-gnu, built on Jun 24 2008 at 15:33:46 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including configuration file /usr/local/etc/raddb/snmp.conf including files in directory /usr/local/etc/raddb/modules/ ... ... ... .... including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel including configuration file /usr/local/etc/raddb/sites-enabled/default including dictionary file /usr/local/etc/raddb/dictionary .... .... ..... I could see it has not read "raddb/sites-available/copy-acct-to-home-server". I think through this file we can configure the virtual servers? Thanks for your patience and insight in advance? Regards Sanjeev -----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.o rg [mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.free radius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: Wednesday, June 25, 2008 2:53 PM To: FreeRadius users mailing list Subject: Re: radrelay.conf in freeradius 2.0.5 Hi,
Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd).
How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)?
configure the virtual server you require and then see if the stuff you have configured - eg dumping accounting to a database...is working...as alys radiusd -X is Very Very useful alan Very Very useful alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
I could see it has not read "raddb/sites-available/copy-acct-to-home-server". I think through this ^^^^^^^^^^^^^^^^^^^^^^
sites-available list sites that are AVAILABLE.. ie prestored config. to USE the virtual server, you need to put it into sites-enabled (or do a symlink to the sites-available file from the sites-enabled just like the default and inner-tunnel entries alan
Sanjeeva Rao wrote:
Hi Alan Thanks for the reply. I have run radiusd -X and I got the following output. ... I could see it has not read "raddb/sites-available/copy-acct-to-home-server".
Because it is reading the sites-enabled directory. "Available" and "enabled" have specific meanings. You will need to edit the file for your local configuration, and place the results in the sites-enabled/ directory.
I think through this file we can configure the virtual servers?
Have you tried reading the file as your were asked to do? Alan DeKok.
Copy (and configure) the one you need from sites-available to sites-enabled. Ivan Kalik Kalik Informatika ISP Dana 25/6/2008, "Sanjeeva Rao" <sanjeeva.rao@globallogic.com> piše:
Hi Alan Thanks for the reply. I have run radiusd -X and I got the following output.
# ./radiusd -X FreeRADIUS Version 2.0.5, for host i686-pc-linux-gnu, built on Jun 24 2008 at 15:33:46 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including configuration file /usr/local/etc/raddb/snmp.conf including files in directory /usr/local/etc/raddb/modules/ .... .... .... ..... including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel including configuration file /usr/local/etc/raddb/sites-enabled/default including dictionary file /usr/local/etc/raddb/dictionary ..... ..... ......
I could see it has not read "raddb/sites-available/copy-acct-to-home-server". I think through this file we can configure the virtual servers? Thanks for your patience and insight in advance?
Regards Sanjeev
-----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.o rg [mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.free radius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: Wednesday, June 25, 2008 2:53 PM To: FreeRadius users mailing list Subject: Re: radrelay.conf in freeradius 2.0.5
Hi,
Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd).
How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)?
configure the virtual server you require and then see if the stuff you have configured - eg dumping accounting to a database...is working...as alys radiusd -X is Very Very useful
alan Very Very useful
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, I have two machines 1) Linux server ( freeradius-2.0.5) 2) Machine (172.xx.xx.xxx) I would like to configure the 2nd machine as virtual server. I am trying configure the virtual servers, but could not succeed. I made sym-link in the sites-enable/ to the copy-acct-to-home-server. Inside this file it says "You will have to configure realms, home_server_pool, and home_server in proxy.conf for this to work. " I made entry into proxy.conf home_server virtual_server { type = auth ipaddr = 172.16.47.105 port = 1815 secret = testing123 ..... ........... ........... } The output of radiusd -X is as follows home_server virtual_server { ipaddr = 172.16.47.105 port = 1815 type = "auth" secret = "testing123" response_window = 20 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_check = "none" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 } /usr/local/etc/raddb/proxy.conf[354]: Fallback home_server virtual_server does NOT contain a virtual_server directive. } I would request you all to help me to configure the virtual server. Also I would like to know the whether radiusd (server) has to be run on the virtual server as well? Thanks & Regards Sanjeev -----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.org on behalf of Sanjeeva Rao Sent: Wed 6/25/2008 3:17 PM To: FreeRadius users mailing list Subject: RE: radrelay.conf in freeradius 2.0.5 Hi Alan Thanks for the reply. I have run radiusd -X and I got the following output. # ./radiusd -X FreeRADIUS Version 2.0.5, for host i686-pc-linux-gnu, built on Jun 24 2008 at 15:33:46 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including configuration file /usr/local/etc/raddb/snmp.conf including files in directory /usr/local/etc/raddb/modules/ ... ... ... .... including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel including configuration file /usr/local/etc/raddb/sites-enabled/default including dictionary file /usr/local/etc/raddb/dictionary .... .... ..... I could see it has not read "raddb/sites-available/copy-acct-to-home-server". I think through this file we can configure the virtual servers? Thanks for your patience and insight in advance? Regards Sanjeev -----Original Message----- From: freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.freeradius.o rg [mailto:freeradius-users-bounces+sanjeeva.rao=globallogic.com@lists.free radius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: Wednesday, June 25, 2008 2:53 PM To: FreeRadius users mailing list Subject: Re: radrelay.conf in freeradius 2.0.5 Hi,
Thanks for the reply. Actually in the freeradius-1.x the radrelay is Separate executable (process), so as per the release notes of 2.x, radrelay functionality is clubbed with radius core server (radiusd).
How can I check whether radrelay is running or not, when I am running radiusd (freeradius-2.0.5)?
configure the virtual server you require and then see if the stuff you have configured - eg dumping accounting to a database...is working...as alys radiusd -X is Very Very useful alan Very Very useful alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sanjeeva Rao wrote:
I have two machines 1) Linux server ( freeradius-2.0.5) 2) Machine (172.xx.xx.xxx) I would like to configure the 2nd machine as virtual server.
What? The virtual servers in 2.0 are configurations, not virtual machines.
I am trying configure the virtual servers, but could not succeed. I made sym-link in the sites-enable/ to the copy-acct-to-home-server. Inside this file it says "You will have to configure realms, home_server_pool, and home_server in proxy.conf for this to work.
Thank you for quoting the documentation to the people who wrote it. You were already told it wasn't necessary. STOP IT. ...
I would request you all to help me to configure the virtual server. Also I would like to know the whether radiusd (server) has to be run on the virtual server as well?
You have misunderstood the virtual server functionality in FreeRADIUS. You were ALREADY told it was not a virtual machine like vmware. Go back and read the documentation again. Go read raddb/sites-available/README. If you've used virtual hosts in Apache, this is almost the same functionality. Alan DeKok.
I have two machines 1) Linux server ( freeradius-2.0.5) 2) Machine (172.xx.xx.xxx) I would like to configure the 2nd machine as virtual server.
I am trying configure the virtual servers, but could not succeed. I made sym-link in the sites-enable/ to the copy-acct-to-home-server. Inside this file it says "You will have to configure realms, home_server_pool, and home_server in proxy.conf for this to work. " I made entry into proxy.conf
home_server virtual_server { type = auth ipaddr = 172.16.47.105 port = 1815 secret = testing123 .....
You are totally mixed up. You haven't managed to master the basic things like what's home and what's virtual server, do you want to proxy authentication or accounting etc. Sit down, take a deep breath and get those things clear in your mind. Then you might ask (and even do) something that makes sense. Ivan Kalik Kalik Informatika ISP
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Ivan Kalik -
Sanjeeva Rao