Freeradius Clustering

2007-10-15 Thread Fred Zinsli
Hello everyone

Sorry if this has been covered, but I have googled without finding.

I am looking to replace our current servers and am looking to 
reconfigure the network.

I am wanting to know if Freeradius can be clustered? and if so can 
someone point me to some documentation on the subject.

I am also wanting to know how the calculate the new specs for the new 
servers.

Many thanks in advance.

Regards

Fred


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


make errors

2007-09-02 Thread Fred Zinsli
Hi everyone

Doing a brand new install in Ubuntu Draper 6.06 LAMP server.

I have downloaded freeradius 1.1.7 and place in in my home 
directory /home/fredz

I have unpacked the file

tar -zxvf freeradius-1.1.7.tar.gz

Configured it

cd /home/fredz/freeradius-1.1.7
./configure

Have gone to make it

make

and I have the following errors

make[6]: *** [rlm_sqlippool.lo] Error 1
make[6]: Leaving directory `/home/fredz/freeradius-
1.1.7/src/modules/rlm_sqlippool'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/home/fredz/freeradius-1.1.7/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/fredz/freeradius-1.1.7/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/home/fredz/freeradius-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fredz/freeradius-1.1.7/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/fredz/freeradius-1.1.7'
make: *** [all] Error 2

I have no idea what to look for or where to look.

Any comments would be helpful

Regards

Fred


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: make errors

2007-09-02 Thread Fred Zinsli
I have just discovered that if I just proceed and do a sudo make 
install it obviously fails.  But I then go back and do a make and it 
has no errors, then I do the sudo make install again and it works.

Have I still done something wrong and can I trust the install?

Regards

Fred


 Hi everyone
 
 Doing a brand new install in Ubuntu Draper 6.06 LAMP server.
 
 I have downloaded freeradius 1.1.7 and place in in my home 
 directory /home/fredz
 
 I have unpacked the file
 
 tar -zxvf freeradius-1.1.7.tar.gz
 
 Configured it
 
 cd /home/fredz/freeradius-1.1.7
 ./configure
 
 Have gone to make it
 
 make
 
 and I have the following errors
 
 make[6]: *** [rlm_sqlippool.lo] Error 1
 make[6]: Leaving directory `/home/fredz/freeradius-
 1.1.7/src/modules/rlm_sqlippool'
 make[5]: *** [common] Error 2
 make[5]: Leaving directory `/home/fredz/freeradius-1.1.7/src/modules'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/fredz/freeradius-1.1.7/src/modules'
 make[3]: *** [common] Error 2
 make[3]: Leaving directory `/home/fredz/freeradius-1.1.7/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/fredz/freeradius-1.1.7/src'
 make[1]: *** [common] Error 2
 make[1]: Leaving directory `/home/fredz/freeradius-1.1.7'
 make: *** [all] Error 2
 
 I have no idea what to look for or where to look.
 
 Any comments would be helpful
 
 Regards
 
 Fred
 
 
 -
 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: session updates

2007-08-20 Thread Fred Zinsli
This is a wifi system, so we are using chillispot as a captive portal 
with hotcakes as a manager.  Hence when an unautherized user attempts to 
use the network there requests are trapped and they have to logon via a 
web client.  Once the user is logged on a small web page is left open so 
the client can logout.  The small web window also shows information 
about the current session, ie. Time online, data in/out and the like.  
It is this information I am refering to.

I hope this is clear.

Regards

Fred


-Original Message-
From: Alan DeKok [EMAIL PROTECTED]
To: [EMAIL PROTECTED],  FreeRadius users mailing list 
freeradius-users@lists.freeradius.org
Date: Mon, 20 Aug 2007 03:35:58 -0400
Subject: Re: session updates

 Fred Zinsli wrote:
  Freeradius starts up properly without errors and the user can logon
 and 
  logout as expected.  However, when the screen is presented to the
 user 
  showing the current session details, nothing is updated as expected, 
  only thye clock cycles over.
 
   What screen are you talking about?
 
   Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


session updates

2007-08-19 Thread Fred Zinsli
Hi Everyone

I have managed to build an RPM from source 1.1.7 to install on FC5, 
freeradius+mysql

Freeradius starts up properly without errors and the user can logon and 
logout as expected.  However, when the screen is presented to the user 
showing the current session details, nothing is updated as expected, 
only thye clock cycles over.

This is a hotcakes install.

I have no idea on what to look for.

Any comments would be most helpfull

Regards

Fred


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: building RPM from source

2007-08-15 Thread Fred Zinsli
Thanks for the comments.

I have got a copy of 1.1.7 source but my issue is that I don't know how 
to enable mysql in the spec file.

Also if I compile from source to I have to install freeradius-mysql or 
is it all in the single build?

Also, do I have to have mysql installed on the build machine to enable 
mysql suppport?

Default spec file:
%configure --prefix=%{_prefix} \
--localstatedir=%{_localstatedir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--with-docdir=%{_datadir}/doc/%{name}-%{version} \
--with-system-libtool \
--disable-ltdl-install \
--with-ltdl-lib=/usr/lib \
--with-ltdl-include=/usr/include \
--with-large-files --with-udpfromto --with-edir \
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
--with-rlm-krb5-include-dir=/usr/kerberos/include \
--with-rlm-krb5-lib-dir=/usr/kerberos/lib

I assume I can alter the 
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \ 
to read 
--with-rlm-sql_mysql-include-dir=/usr/include/mysql \
But /usr/include/mysql doesn't exist on the machine.

I am also wanting to add sqlcounter suppport

assumed line:
--with-rlm-sqlcounter-include-dir=/usr/include/sqlcounter \
But again this doesn't exist on the build machine.

I look forward to your comments.

Regards

Fred

-Original Message-
From: Matt Garretson [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Date: Wed, 15 Aug 2007 10:08:24 -0400
Subject: Re: building RPM from source

 Fred Zinsli wrote:
  I am attempting to build an RPM from source on my FC5 box.
 
 
 Try to get a more recent source RPM from a repository, and
 then tweak the spec file to fit your needs.  The Fedora builds will
 support MySQL by default.  It'd be easier than trying to write
 your own spec file from scratch.  The current version in Fedora 7
 is 1.1.6, and 1.1.7 is available in the development repo.  (I am 
 running 1.1.7 built from the devel source RPM.)
 
 -Matt
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


building RPM from source

2007-08-14 Thread Fred Zinsli
Hi Everyone

I am rather new to this, so I hope I am not asking something obvious.

I am attempting to build an RPM from source on my FC5 box. The reason is 
that I am wanting to use hotcakes (a wifi administration app) and it 
requires 1.1.4 minimum and the latest stable for FC5 is 1.0.5

What I am actually wanting to achieve is a Freeradius install on my FC5 
box that puts everything where I am expecting to find them on my FC5 box.

I thought building an RPM from source was the idea, but there may be 
others I am unaware of.

My issue is that I am wanting mysql (on separate server) support built 
into freeradius, but I can't find any information on how that is done 
within the spec file.

Note: This install of freeradius is on a standalone machine, it will 
have nothing else but freeradius on it.

Any thoughts or comments on where I can find the information I need 
would be most helpful.

This is how I am trying to do it so far:
$ cd ~  
$ cp -a /usr/src/redhat/ rpmbuild
$ echo '%_topdir %(echo $HOME)/rpmbuild'  .rpmmacros
$ wget ftp://ftp.freeradius.org/pub/radius/freeradius-1.1.7.tar.gz 
$ cp freeradius-1.1.7.tar.gz ~/rpmbuild/SOURCES/
$ tar zxf freeradius-1.1.7.tar.gz freeradius-1.1.7/redhat/freeradius.spec
$ cp freeradius-1.1.7/redhat/freeradius.spec ~/rpmbuild/SPECS/
$ cd ~/rpmbuild/RPMS/i386
$ rpm -Uvh freeradius-1.1.7-0.i386.rpm

No mods to the spec file (information required).

Regards

Fred


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: sql.conf file

2007-08-14 Thread Fred Zinsli
Nothing is wrong.

If you are installing freeradius from RPM on Fedora and you want to use 
an SQL backend then you need both freeradius and freeradius-mysql 
(complete with dependencies).

Regards

Fred

-Original Message-
From: zahra bahar [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Date: Tue, 14 Aug 2007 21:31:24 -0700 (PDT)
Subject: Re: sql.conf file

 I use fedora core6. when I active sql for  accunting ,radiusd -x gives
 error with sql.conf.there isn't rlm_sql_mysql.so. when I searched find
 out that I should install freeradius_mysql package.but installing it
 wants alot of system files.
 what is wrong?
 
 Mordor Networks [EMAIL PROTECTED] wrote: hi
 sql.conf is your mysql database config , you use it when u need to have
 AAA with radius , like freeradius with mysql backend
 what distro your using?  linux redhat? debain? slackware? fedora?
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 
 

 -
 Need a vacation? Get great deals to amazing places on Yahoo! Travel. 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Is this possible

2007-08-04 Thread Fred Zinsli
Hello everyone

I am very new to freeradius and security type environments and I am 
feeling somewhat out of my depth at the moment.

My current situation is that I have a chillispot WIFI setup.  A diagram 
of the current network can be seen at 
http://www.shooter.co.nz/network.pdf

The problem I have with this setup is that unscrupulous people are 
connecting to the unprotected APs without authenticating and playing 
games between themselves therefore bogging down our network with their 
traffic.

So what I am wanting to do is dispose of the chillispot server and 
authenticate the users directly from the APs (WAP54G) using WPA-
Enterprise.  WPA-Enterprise on the WAP54G is radius authentication with 
a WPA shared key between the AP and the radius server.

I have got the APs talking to the radius server, but it seems the radius 
server is using the credentials from the PC to authenticate the users.

Here is what I would like to do.  When a user attempts to connect to the 
AP, the user is presented with a login screen (much like chillispot), 
the user logs on and they are connected to the AP and can use the 
network as expected.  If a user cannot authenticate the attempt is 
logged and the connection attempt to the AP is dropped.

This way a user cannot just blindly connect to our network and use 
bandwidth.

Is that type of configuration possible? and if so where would I find 
information on how it is done?

Many thanks in advance for you patience and comments.

Regards

Fred


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


linux newby attempts freeradius (unsuxesfull)

2005-09-05 Thread Fred Zinsli

Rather that tell me what I an doing wrong (apart 
from attempting this) can someone point me to where I can find out what I 
need to know.

Scenario:
Debian sarge installed (no probs or errors) on i386 
machine.
Attempting to install freeradius-1.0.4.tar.gz

will not ./configure without errors. As I 
don't know what I am ment to be looking for, I can't find what I am doing 
wrong.

Trying to be smart, I went to the debian site and 
downloaded freeradius_1.0.4-2_i386.deb from 
http://packages.debian.org/testing/net/freeradius
I can't find documentation for this, so don't know 
what to do with it now I have it.

Given I am NOT familiar with linux at all, and have 
ventured into this reluctently, can someone point me to some really bullet 
proof documentation that doesn't assume people already have an extensive 
knowledge of linux before they start.

I have been working on thisfor 3 weeks now, 
searched gallaxies far away for info, god is now refusing to take my 
calls,and my wife has threatened to lock me in my room so she doesn't 
have to put up with me. I have also learned some very colorful words.

Someone please save me.

Fred

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html