cat $filename | radclient -4 -x 127.0.0.1 auth testing123 works? -- Jorge Pereira On Wed, Jun 17, 2015 at 12:03 PM, Herwin Weststrate < herwin@quarantainenet.nl> wrote:
On 17-06-15 16:52, Victor Beliaiev wrote:
2/ Concole #2 radtest -x -4 bob hello 127.0.0.1 0 testing123 (0) Error parsing "stdin": Failed to get value
radtest is a wrapper for radclient. There are two possibilities here: either the output of radtest is invalid, or there is something wrong with radclient.
Could you put the following text in a file and feed that to radclient
User-Name = 'bob' User-Password = 'hello' NAS-IP-Address = 127.0.1.1 NAS-Port = 0 Message-Authenticator = 0x00 Cleartext-Password = 'hello'
To feed it to radclient:
radclient -4 -x 127.0.0.1 auth testing123 < $filename
All my 3.0.8 installs here work fine, but they're all on linux.
-- Herwin Weststrate - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html