Hello Elias -

On Wednesday 07 March 2001 18:25, Elias wrote:

> > Hi,
>
> Has anyone successfully implemented a running prepaid service? I'd
> appreciate it if any of you out there could share the config file with me.

First of all, you will need to use an SQL database for your user records.

And secondly, there is an example configuration file in the distribution 
called "goodies/radmin.cfg" that has an AcctSQLStatement like you would need 
to use in an AuthBy SQL clause (or in an AuthBy RADMIN clause if you are 
using Radmin).

> Second question is.....how can I implement a fixed IP service? Currently,
> our NAS handles the assignment of all IPs through a dynamic IP pool
> automatically. Our radiators only return these attributes to get a pooled
> IP.
>
>         AddToReply Framed-Protocol = PPP,\
>         Service-Type = Framed-User,\
>         Framed-Routing = Listen,\
>         Framed-MTU = 1500,\
>         Framed-Compression = Van-Jacobson-TCP-IP
>
> Now, to get a fixed IP I've tried adding 2 extra reply attributes which are
>
>        Framed-Address = xxx.xxx.xxx.xxx
>        Framed-Netmask = 255.255.255.255
>
> but this config doesn't seem to work as users still get an IP assigned from
> the IP pool. Are these 2 attributes enough, or do I need to send some other
> reply attributes? Thanks for the help.
>

What NAS equipment are you using and what dictionary?

If you are using the standard dictionary, the attributes are:

        Framed-IP-Address and Framed-IP-Netmask

However, if you are using a NAS that requires special attributes (Cisco for 
example), you will need to use whatever the vendor specifies (with Cisco you 
would use the "cisco-avpair=....." attributes).

BTW - you will be able to see what Radiator is doing with the attributes by 
running with a trace 4 debug.

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to