Re: radreply mysql

2004-07-27 Thread Alan DeKok
Barry Murphy [EMAIL PROTECTED] wrote:
 I assigned a number of users a static ip address using the dial_admin
 interface, but for some reason the radreply table doesn't seem to be
 used.

  Run the server in debugging mode to see what's going on.

 When I look at /var/log/radacc/nas.ip/reply-date it doesnt show
 anything about the framed-ip.

  You're looking in the wrong place.

  Alan DeKok.

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


RE: radreply mysql

2004-07-27 Thread Anson Rinesmith









For me, in radcheck, I had to use == as my
op

And in radreply I had to use :=







-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Murphy
Sent: Tuesday, July 27, 2004 6:04
AM
To:
[EMAIL PROTECTED]
Subject: radreply  mysql





Hi,











I assigned a number of users a static ip address using the
dial_admin interface, but for some reason the radreply table doesn't seem to be
used. When I look at /var/log/radacc/nas.ip/reply-date it doesnt show anything
about the framed-ip.

















mysql select * from radcheck where
Username=icepick;
++--+---++---+
| id | UserName | Attribute | op | Value |
++--+---++---+
| 6 | icepick | User-Password | := | barry |
++--+---++---+
1 row in set (0.00 sec)





mysql select * from radreply where
UserName=icepick;
++--+++---+
| id | UserName |
Attribute | op |
Value |
++--+++---+
| 10 | icepick | Framed-Compression | = |
None |
| 8 | icepick | Framed-IP-Address | = | 219.88.249.85 |
++--+++---+











Any ideas?











Thanks





Barry


















Re: radreply mysql

2004-07-27 Thread Milver S. Nisay



I assigned a number of users a static ip address 
using the dial_admin interface, but for some reason the radreply table doesn't 
seem to be used. When I look at /var/lg/radacc/nas.ip/reply-date it doesnt show 
anything about the framed-ip.

  
  Any ideas?
  
  
  check the radgroupcheck, 
  radgroupreply, it will lead you somewhere.
  //milver


RE: radreply mysql

2004-07-27 Thread Barry Murphy








Thanks, this solved the problem. Now Im
wondering if there is anyway to assign ip pools to groups.



i.e.

Group named 128k will get ips in the range
of x.x.x.64/29 



This way I can restrict bandwidth on the
head end for those users, currently each NAS has an IP pool but makes life a
little difficult when trying to work out what spare ips I have.



Thanks

Barry











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anson Rinesmith
Sent: Wednesday, July 28, 2004
1:52 AM
To: [EMAIL PROTECTED]
Subject: RE: radreply  mysql





For me, in radcheck, I had to use == as my
op

And in radreply I had to use :=







-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Murphy
Sent: Tuesday, July 27, 2004 6:04
AM
To: [EMAIL PROTECTED]
Subject: radreply  mysql





Hi,











I assigned a number of users a static ip address using the
dial_admin interface, but for some reason the radreply table doesn't seem to be
used. When I look at /var/log/radacc/nas.ip/reply-date it doesnt show anything
about the framed-ip.

















mysql select * from radcheck where
Username=icepick;
++--+---++---+
| id | UserName | Attribute | op | Value |
++--+---++---+
| 6 | icepick | User-Password | := | barry |
++--+---++---+
1 row in set (0.00 sec)





mysql select * from radreply where
UserName=icepick;
++--+++---+
| id | UserName |
Attribute | op |
Value |
++--+++---+
| 10 | icepick | Framed-Compression | = |
None |
| 8 | icepick | Framed-IP-Address | = | 219.88.249.85 |
++--+++---+











Any ideas?











Thanks





Barry