radwho Calling-Station-Id

Matthew Newton mcn4 at leicester.ac.uk
Tue May 9 11:27:45 CEST 2017


On Mon, May 08, 2017 at 03:03:25PM +0300, Roman wrote:
> Could someone point me out, where can I set and what to be able to see the
> full Calling-Station-Id instead of truncated one?
> 
> #radwho tt23kswp17 -R
...
> *Calling-Station-Id = "00:A0:C5:3F:13:"*

The structure in radutmp for Calling-Station-Id is only 16 chars
long including trailing zero, so that figures.

You probably just want to use a proper database these days. But if
you really want to keep using radutmp then use unlang to strip the
colons out.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list