Using Freeradius authorization to send data to a microcontroller
Alan DeKok
aland at deployingradius.com
Mon Mar 16 13:35:32 CET 2009
Joeven Rex Dizon wrote:
> In our project, depending on a user's authentication/authorization by
> the server, we need to send an "unlock/lock" byte to a microcontroller
> (connected to /dev/ttyUSB0, by the way).
>
> So where do I start with the solution? Can I run a certain code/program
> automatically once the server authenticates a user?
Yes.
> Are there any previous applications similar to this?
See "man unlang". You should put the program into back-ticks, like in
the shell.
e.g.
if (`/path/to/program`) {
...
}
Alan DeKok.
More information about the Freeradius-Users
mailing list