Re: Question about Session start

2006-01-20 Thread Alan DeKok
San [EMAIL PROTECTED] wrote:
 1. How do we start the session? I have send the
 request to the server and got access_accepted.

  What program is sending the request?

 I use this command to send acct_request
 echo User-Name= Anna| radclient 10.1.0.76 acct -x
 testing123
 Is that right? or is there any place I can refer to
 use the radclient command?

  That's a good start.  Read the RFC's to see what attributes are
required in accounting packets.

 2. Do I need to write external script to run the
 command?

  The same program that sends Access-Request should send
Accounting-Request.

  My suggestion is to buy the O'Reilly RADIUS book and read it.  It's
a good introduction to RADIUS, which you will need to solve your problems.

  Alan DeKok.

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


Question about Session start

2006-01-19 Thread San

Dear All,

I have implemented freeradius in Redhat box. And I
have some questions about it. It have searched the web
but still can't find a clue or i just missed it :(.
Also my questions are:

1. How do we start the session? I have send the
request to the server and got access_accepted. And as
I know the session is start after we send the
accounting_request and get response from the server.
The problem is how to do that using command prompt? My
Nas is Suse box.

I use this command to send acct_request
echo User-Name= Anna| radclient 10.1.0.76 acct -x
testing123
Is that right? or is there any place I can refer to
use the radclient command?

2. Do I need to write external script to run the
command? Because I want to use the session time out
but seems still not working.(because I don't know how
to start the session)

3. Where should I put the acc_type. Is it in server
side or nas side?

I really hope someone can help me (please...)
Thanks a lot in advance
Best Regards,
Santy


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html