Where to find info about DEFAULT value

2006-07-21 Thread rabbtux rabbtux

All,

I see reference to setting DEFAULT in mysql database tables.

I need to set the default value of Acct-Interim-Interval = 60s for all
users.  Can I just put this in my radreply table:
user attribute  op   value
---
DEFAULT, Acct-Interim-Interval, :=, 60

Will this make sure that any user that doesn't have this attribute set
elswhere, will get 60?

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


multiple group membership processing

2006-07-19 Thread rabbtux rabbtux

greetings,

I have users that should only be able to use 2 of 10 APs(chillispot
nas).  I found that when I create the following, the user can only
login to the desired AP.

Radcheck table
fred User-Password   := mypass

radgroupcheck table
cust1   Called-Station-ID   ==  00-13-10-94-AF-3C

usergroup
fred  cust11

This works great, however, how do I expand this so that fred's login
works for two Called-Station-IDs?  Do I create another group with a
different priority?  Can't seem to get both groups to work as a
logical OR.

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


Re: huntgroup

2006-06-12 Thread rabbtux rabbtux

I'd be happy to try it, however, I'm a nubie to freeradius, not mysql or php.

I understand how to create groups and assign logins to them in the
various mysql database tables (usergroup,radcheck,etc), but when you
say to 'match' on a parameter  do something as a result I'm a little
lost.  Do I put this kind of logic in one of the sections of the
radiusd.conf file?

Thanks - marshall

On 6/12/06, Alan DeKok [EMAIL PROTECTED] wrote:

rabbtux rabbtux [EMAIL PROTECTED] wrote:
 I want some users to only use one AP, while other users can use that
 AP and other APs as well.  I don't think the logic will work for my
 case.

  Yes, it will.  Try 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: huntgroup

2006-06-11 Thread rabbtux rabbtux

Thanks Alan.
I want some users to only use one AP, while other users can use that
AP and other APs as well.  I don't think the logic will work for my
case.

I understand how to create groups and assign logins to them in the
various mysql database tables (usergroup,radcheck,etc), but when you
say to 'match' on a parameter  do something as a result I'm a little
lost.  Do I put this kind of logic in one of the sections of the
radiusd.conf file?

Thanks - marshall

On 6/10/06, Alan DeKok [EMAIL PROTECTED] wrote:

rabbtux rabbtux [EMAIL PROTECTED] wrote:
 I have a similar situation.  I have several chillispot APs, and want
 users to only login to their 'home' AP, and not others.  I'm using
 mysql backend to Freeradius.

  Put the users into a group (see rlm_passwd), and then match on NAS
IP, and if NOT in that group, reject.

  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: huntgroup

2006-06-10 Thread rabbtux rabbtux

I have a similar situation.  I have several chillispot APs, and want
users to only login to their 'home' AP, and not others.  I'm using
mysql backend to Freeradius.  if I use

NAS-IP-Address == ap ip to restrict, Auth-Type := Reject

in the radcheck table it seems there is nothing that ties them
together.  I know it shouldn't be that hard to limit users to a
certian AP, I'm still quite new to radius.
Thanks for any suggestions! - marshall

On 6/9/06, Chris Carver [EMAIL PROTECTED] wrote:

Kartthik Raghunathan wrote:
 Am using two linksys access points for my wireless client. In one of my 
access points i want to restrict the users connecting to it, ist possible to do 
this using huntgroup. If so can someone show some light or provide a sample config 
to do it.

 thanks,
 Kartthik


Sure, but if you only have 2 its probably not necessary.  You could just
do this in the users file:

default NAS-IP-Address == ap ip to restrict, Auth-Type := Reject

Of course, you might not simply want to reject them.  But you can match
on the ip of the ap in the users file and do whatever you want.  If you
wanted to do it with huntgroups you'd have to add two entries in the
huntgroups file:

restrictedAPNAS-IP-Address == ip
otherAP  NAS-IP-Address == ip


Then in users instead of matching on NAS IP you match on Huntgroup-Name ==

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

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


how to set user's expire date/time on first login?

2006-05-19 Thread rabbtux rabbtux

All,
forgive me if this is a nubie question... It seems many have already
done something similar.  I want prepaid radius accounts for 1 day,
that begins the first time they are used.  For example, someone buys
2- 1 day accounts, and uses them next Monday and Friday.

Is there a simple way to do this check on the radius authentication?
Thank you kindly,
marshall

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


Re: Dialup Admin

2006-05-16 Thread rabbtux rabbtux

I'm really new to the whole radius thing, however, I think you need to
have snmp to your nas properly setup for this to work.

On 5/15/06, Jeremy ohara [EMAIL PROTECTED] wrote:



 Wondering if anyone can help me with Dialup Admin.

what the current problem is. when i look at online users. it shows the nas
server but saying noone is online.

and when i go to view the user who is online it says they are not online

can anyone help me here. if you need more info plz tell me

Jeremy

 This email has been scanned for Virus by MDaemon AntiVirus part of MDaemon.
 Updated daily to keep up-to-date with all new and old viruses.


-
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: dialup_admin blank pages

2006-05-04 Thread rabbtux rabbtux

THANKS! that did it.

In my case I assumed I had a working LAMP system, since I had
phpmyadmin working fine.

On 5/3/06, Fenn Bailey [EMAIL PROTECTED] wrote:

 My dialup_admin package has the standard blank pages, and
 does not report errors.  I've checked apache,mysql, and
 freeradius log files.
 I configured dialup_admin to use mysql database and all.


Hi there,

In my case, this was caused by the php dynamic mysql module not being
loaded. Make sure the php4-mysql package is installed BUT take note that the
debian (sarge) installer for some reason doesn't add it into the php.ini for
some reason.

You'll need to edit it and uncomment (or add in) the appropriate mysql.so
extension, then restart apache.

If you're not sure if this is working or not, make a page with:

?
phpinfo();
?


In it and you should be able to see if the mysql module is loading
correctly.

Cheers,

Fenn.

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



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


dialup_admin blank pages

2006-05-03 Thread rabbtux rabbtux

All,
Not to sound like a nubie, but I spent the day researching  working
on this issue.

My dialup_admin package has the standard blank pages, and does not
report errors.  I've checked apache,mysql, and freeradius log files. 
I configured dialup_admin to use mysql database and all.


First I did a debian install of freeradius and freeradius-dialupadmin
packages.  All the apache and php dependencies were met, as I
installed  used phpmyadmin.

Later I wiped out the binaries and did a fresh source build and
install.  I have the mysql - freeradius working, as I can manually
put user/password in the proper mysql table, and then use radtest to
successfully test the entry.  Help!

I have the basic functionality of mysql-freeradius, just not the GUI
for others to use :-(
Thanks in advance - marshall

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