Re: installation dirs on debian

2006-08-12 Thread Francois-Xavier GAILLARD
Le Sat, Aug 12, 2006 at 01:55:20AM +0100, Stephen Gran ecrivait:

> apt-get build-dep freeradius is so much easier :)
> 
> But I'm being a pedant, I think.

No, you're being right :)

Regards,
Fox.


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

Re: installation dirs on debian

2006-08-12 Thread YvesDM
On 8/12/06, Francois-Xavier GAILLARD <[EMAIL PROTECTED]> wrote:
Le Sat, Aug 12, 2006 at 01:55:20AM +0100, Stephen Gran ecrivait:> apt-get build-dep freeradius is so much easier :)>> But I'm being a pedant, I think.No, you're being right :)
Thank you both Stephen&fox for this explanation!I 'll try it outSincerely,Yves
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radius Dial Up Admin

2006-08-12 Thread devnull
take a look,

in french
http://www.pervasive-network.org/SPIP/forum.php3?id_article=22
in italian
http://trashware.linux.it/wiki/Faber_Libertatis/HotspotDebianSarge
in english
debain
/usr/share/doc/freeradius-dialupadmin/HOWTO.gz

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


sql segmentaiton fault

2006-08-12 Thread YvesDM
hi,Created my own debs of freeradius 1.0.5Everything works, but when i try to use mysql i get a segmentation fault running radiusd -X Could my freeradius-mysql.deb be corrupt? I got no errors creating it.
I used the rules file in the debian dir of the tar.gz, but added --with-experimental modules as a configure option in it cause i need the sqlcounter. These are the last lines of the radiusd -X  output: sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
 sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linkedrlm_sql (sql): Attempting to connect to 
[EMAIL PROTECTED]:/radiusrlm_sql (sql): starting 0rlm_sql (sql): Attempting to connect rlm_sql_mysql #0rlm_sql_mysql: Starting connect to MySQL server for #0rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1rlm_sql (sql): Attempting to connect rlm_sql_mysql #1rlm_sql_mysql: Starting connect to MySQL server for #1rlm_sql (sql): Connected new DB handle, #1rlm_sql (sql): starting 2rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2rlm_sql (sql): Connected new DB handle, #2rlm_sql (sql): starting 3rlm_sql (sql): Attempting to connect rlm_sql_mysql #3rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3rlm_sql (sql): starting 4rlm_sql (sql): Attempting to connect rlm_sql_mysql #4rlm_sql_mysql: Starting connect to MySQL server for #4rlm_sql (sql): Connected new DB handle, #4
rlm_sql (sql): - generate_sql_clientsrlm_sql (sql): Query: SELECT * FROM nasrlm_sql (sql): Reserving sql socket id: 4rlm_sql (sql): Read entry nasname=localhost,shortname=localhost,secret=XXXrlm_sql (sql): Adding client 
127.0.0.1 (localhost) to clients listrlm_sql (sql): Released sql socket id: 4Module: Instantiated sql (sql)Segmentation fault Any idea's?
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Apple announces FreeRADIUS in Mac OSX Leopard

2006-08-12 Thread Nathan L. Cable
This page is a very good starting place (I'm assuming your primary goal is
to authenticate wireless users):

http://homepage.mac.com/andreaswolf/public/wpaeap.html

Nathan

> From: Stephan Budach <[EMAIL PROTECTED]>
> Reply-To: FreeRadius users mailing list
> 
> Date: Fri, 11 Aug 2006 20:05:28 +0200
> To: FreeRadius users mailing list 
> Subject: Re: Apple announces FreeRADIUS in Mac OSX Leopard
> 
> Hi folks,
> 
> now thats coincidence!
> 
> I was just up to install FreeRADIUS on one of our Mac OS X 10.4
> Servers and was about seeking help in doing so.
> 
> Since I do not want to wait until 2007, is there any resource that
> shows me how to compile FreeRADIUS on Mac OS X 10.4.x?
> 
> Thanks,
> Stephan


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


Nas with dynamic IP address

2006-08-12 Thread Ludovic Toussaint
I have freeradius with mysql and chillispot.
The freeradius works with a static ip address, but most of the Nas are behind 
dynamic public IP adress as they are connected with Xdsl.

Does it possible to check Nas validity not with their IP adsress but with their 
Mac Address.

I actully set up a Nas in sql with IP 0.0.0.0/0. it works, but i think it s not 
safe.

Thanks in advance for your help.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Nas with dynamic IP address

2006-08-12 Thread Alan DeKok
Ludovic Toussaint <[EMAIL PROTECTED]> wrote:
> Does it possible to check Nas validity not with their IP adsress but
> with their Mac Address.

  No.  The server doesn't listen on a raw socket, so it doesn't get
the MAC address.  And even if it did, the MAC would be the MAC of the
closest router, not the NAS.

> I actully set up a Nas in sql with IP 0.0.0.0/0. it works, but i
> think it s not safe.

  Make sure the shared secrets are long and difficult to guess.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Unresponsive child

2006-08-12 Thread Boian Jordanov
Hi
Use sub CLONE to create for each thread separate SQL connection.  
for more information see rlm_perl on wiki.freeradius.org

On Tuesday 08 August 2006 19:34, Matt Dunkin wrote:
> I tried opening a mysql connection outside the functions in my perl
> script then using that handle through out the perl script. I am getting
> the following error...
>
> Error: rlm_perl: perl_embed:: module =
> /usr/local/etc/raddb/modules/billing.pl , func = accounting exit status=
> DBD::mysql::db prepare failed: handle 2 is owned by thread 9b19fc8 not
> current thread 9cfdac8 (handles can't be shared between threads and your
> driver may need a CLONE method added) at
> /usr/local/etc/raddb/modules/billing.pl line 214.
>
> Alan DeKok wrote:
> >Matt Dunkin <[EMAIL PROTECTED]> wrote:
> >>After some recent changes to my rlm_perl perl script I am getting the
> >>following messages all the time...
> >>
> >>Tue Aug  8 08:08:50 2006 : Error: WARNING: Unresponsive child (id
> >>2966633392) for request 28
> >
> >  Something's blocking the thread.
> >
> >>Each function in the perl script opens a mysql connection then closes it
> >>before finishing the function. Could this be the problem? Should I
> >>create an initial connection and use it throughout the script?
> >
> >  Yes.  That would probably help a lot.
> >
> >  The "unresponsive child" message comes out after about 20 seconds of
> >problems, which is a pretty serious problem.
> >
> >  Alan DeKok.
> >--
> >  http://deployingradius.com   - The web site of the book
> >  http://deployingradius.com/blog/ - The blog
> >-
> >List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html

-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723
tel. +359 2 4004 002
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


freeradius web manage

2006-08-12 Thread Marwan Sultan


Hello Everyone,

 Would please anyone recommend for me any interface web package
 that allowes me to controll and manage freeradius users ?

 I'm on freebsd 6.1, mysql 4.1 ChilliSpot and freeradius.

 I tried myprepaid but its so buggy.

 So anyone knows about similar interface please?


Marwan Sultan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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