Re: access reject replies

2006-08-15 Thread Lawrence Shafer
Step 1, Read!!!
http://wiki.freeradius.org/index.php/Main_Page
http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ
http://www.onlamp.com/pub/a/onlamp/excerpt/radius_5/index1.html  --this
is a good read.
Do a google search for radius install howto for your distro.
Once installed read through all the configuration files and try to
understand whats going on.
Find a howto for the type of setup you are doing and follow it

When you finally think you're ready, run it in debug mode so you can see
whats going on.
radiusd -sfxxyz -l stdout

If it doesn't work, read the debug! you can probably see what the
problem is yourself. If not, post it here along with the symptoms.

If you have any additional questions, google first, try it, and lastly
post back here. But make sure it is a detailed question so you will get
some answers. And remember the debug mode.

Good luck!

Lawrence Shafer



affora deeb wrote:
 hi guys
 i have problem and hope u help me if u can and i'll be really so
 thankfull.
 i have to use free radius on linux to connect to switch and do
 authentication and authorization
 so please can any one tell me the steps of doing this mission cuz i
 didn't treat it before
 as soon as possible .
 thank u
  
 

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Password Problem

2006-08-04 Thread Lawrence Shafer


Alan DeKok wrote:
 Lawrence Shafer [EMAIL PROTECTED] wrote:
   
 I think it is not chillispot, because I can change the password in
 dialupadmin, and then check password (in dialupadmin) and it says NO It
 is wrong. How can I change the system to clear-text passwords? Or does
 it sound like a MySQL problem?
 

   It sounds like dialupadmin is configured to store crypt'd passwords.

   Change that, and then delete  re-enter all of the passwords.

   Alan DeKok.
 --
   http://deployingradius.com   - The web site of the book
   http://deployingradius.com/blog/ - The blog
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

   
Cool!! That fixed the problem in dialupadmin! Thanks! But now it is
trying to use auth: type System instead of sql when I try to log in
through chillispots web interface. So off to more problem chasing!
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Password Problem

2006-08-03 Thread Lawrence Shafer
Alan DeKok wrote:
 Lawrence Shafer [EMAIL PROTECTED] wrote:
   
 Here is the last part of the debug. If you need it all let me know I
 don't see anything wrong, but maybe you do. Am I using the wrong kind of
 authentication (rlm_chap: Setting 'Auth-Type := CHAP')? Thanks!
 

   No.  You have crypt'd passwords, and haven't told the server they're
 crypted passwords.

   On top of that, you're using CHAP with crypted passwords.  So even
 if you *did* tell the server they were crypted, it would be impossible
 to authenticate the user.

   Alan DeKok.

 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

   
I Do not understand how to set this up for chillispot. How do I tell the
server the passwords are crypted? And  if I shouldn't use CHAP, what
should I use, and how do I change it? I can't seem to get my head
wrapped around the man at the minute.

Sorry for being a noob, but this is my first adventure with any kind of
radius...

Thanks,

Lawrence Shafer
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Password Problem

2006-07-20 Thread Lawrence Shafer
I set up FreeRadius/MySQL and ChilliSpot and created a test user with
the included DialupAdmin. I then connected to the server radius nic and
was directed to the login page and typed my username and password and
was rejected. I then went to the DialupAdmin user edit and checked the
password and it failed, so I changed the password and the PW check
failed again. I even tried a new user and had the same problem.
Everything else seems to be working correctly. What could the problem
be? Could the password DB be missing in MySQL? How do I check? I'm a
noob to all of this (FreeRadius, MySQL) but not to linux. I have it
installed on gentoo if that makes any difference.

I also tried directly inserting a user into the DB with
mysql INSERT INTO radcheck (UserName, Attribute, Value) VALUES
('lawrence', 'Password', 'le');
Query OK, 1 row affected (0.00 sec)
and had the same problem

Thanks for your help,

Lawrence Shafer
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html