radtest (0) Error parsing "stdin": Failed to get value
Hi guys, FreeRadius3-3.0.8 has been installed 14/06/2015 FreeBSD 10.1-RELEASE #0 r274401 1/ Console #1 $su - #radiusd -X Listening on auth address * port 1812 bound to server default Listening on auth address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on auth address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 34557 Ready to process request 2/ Concole #2 radtest -x -4 bob hello 127.0.0.1 0 testing123 (0) Error parsing "stdin": Failed to get value 3/ raddb/users file checked and seems is everything ok no any other outputs in Console#1 and Console#2 windows 4/ /var/log/radius.log has no outputs 5/ ping 127.0.0.1 - is ok 6/ stdin stdout - checked ok 7/ freeradius mail archive is passed please, could you advise smth ? Thank you in advance Victor Beliaiev belve@mail.ru
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
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
participants (3)
-
Herwin Weststrate -
Jorge Pereira -
Victor Beliaiev