Re: RES: exec program, but post-auth

2008-11-04 Thread Alexandre J. Correa - Onda Internet
Thanks for answers, i obtained ip, acctound-id, etc etc from preacct section, adding exec to section !! script filter with Acct-Status-Type = Start working fine now !! Ivan, in it´s first message i didn´t read to try with accouting packets !! thanks again !! Regards.. [EMAIL PROTECTED]

RES: exec program, but post-auth

2008-11-04 Thread Adriano - IPinfo
Ola use: {nome do dicionario} Ex: {Call-Station-Id} -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Alexandre J. Correa - Onda Internet Enviada em: segunda-feira, 3 de novembro de 2008 19:43 Para: FreeRadius users mailing list Assunto: exec program, but post

Re: exec program, but post-auth

2008-11-04 Thread tnt
So radius *is* assigning IP's? Where? If it's ippool/sqlippool list your exec program after these in post-auth section. If IP's are assigned by DHCP you have to get it from accounting packets. But that will work for radius assigned IP's too. Ivan Kalik Kalik Informatika ISP Dana 4/11/2008,

Re: RES: exec program, but post-auth

2008-11-04 Thread tnt
Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to get IP address assigned to user. i´m trying to pass %f to my script but return ?.?.?.? because at this moment, radius not assigned ip for user... how i can do this ? Where is here?

exec program, but post-auth

2008-11-03 Thread Alexandre J. Correa - Onda Internet
Hello !! Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to get IP address assigned to user. i´m trying to pass %f to my script but return ?.?.?.? because at this moment, radius not assigned ip for user... how i can do this ?

Re: exec program, but post-auth

2008-11-03 Thread tnt
Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to get IP address assigned to user. i´m trying to pass %f to my script but return ?.?.?.? because at this moment, radius not assigned ip for user... how i can do this ? If radius is not

Re: exec program, but post-auth

2008-11-03 Thread Alexandre J. Correa - Onda Internet
auth are working fine... but i need execute one script after auth OK to get the IP that radius assigned to user, have any idea how i can do this ?! thanks !!! [EMAIL PROTECTED] wrote: Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to

Re: exec program, but post-auth

2008-11-03 Thread Anders Holm
Huh? Ivan gave you the answer already. Read it again and then look into what accounting packets are. Sent from my iPhone On 4 Nov 2008, at 02:06, Alexandre J. Correa - Onda Internet [EMAIL PROTECTED] wrote: auth are working fine... but i need execute one script after auth OK to get