The shared secret is the password that clients use to connect to the RADIUS server. It's located in the "client.conf" file in your freeradius configuration directory. Note, that this shared secret is used to secure RADIUS traffic. User names and passwords of users which are authenticating via EAP are stored in the "users" file. -- Jason Wittlin-Cohen Yale Law School, Class of 2010 jason.wittlin-cohen@yale.edu
for example: clients.conf file: client 192.168.1.0/24 { secret= cisco shortname = not_important } users file: username Cleartext-password:="pasSw0rd" for test it local uncomment this section in clients.conf(if it is commented): client localhost { ipaddr=127.0.0.1 secret= testing123 } and test it like this(on the server local): radtest username pasSw0rd localhost 0 testing123 Gabor
You say you read the FAQ. Did you see this: http://wiki.freeradius.org/FAQ#It_still_doesn.27t_work.21 Ivan Kalik Kalik Informatika ISP
Jason, thank you for you prompt reply but i've already solved the problem with Re[2]: (err=2)! (Shared secret is incorrect.) But i met another one like this:
'rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=194, length=20 '
i think that the problem is in users file, but just now can not understand where exactly... Can you please help me with it?
participants (4)
-
Hegedus Gabor -
Ilya -
Jason Wittlin-Cohen -
tnt@kalik.net