To test a radius server:

$ brew install freeradius-server

Then:

$ radtest {username} {password} {hostname} 10 {radius_secret}

The 10 is the nas-port-number. Is an integer between 0 and 2^31, and it really doesn’t matter what you put here.