DialupAdmin Question.

2007-05-22 Thread Joseph Sullivan
Hello Group,

I am trying to use Dialup Admin on Free Radius 1.1.6.

I have the admin.conf file all setup, it will add, remove users from the
MySQL db, but it will not do the radius check by clicking on Check Server.

It outputs this:

Monday, 21 May 2007, 09:10:14 MDT
Server: 127.0.0.1:1812

(test user cowpuppy)


Then It just hangs there.



I have tried everything in the admin.conf file, setting the host to
localhost, the hostname, the public ip address, and it still just hangs
there, and it never hits the actual radius server or completes the check.

Also,
I can login with the user cowpuppy just fine but dialup admin never shows
this when I look at the stats for cowpuppy.


When I run this command:

radtest cowpuppy testpass localhost 0 testing123


It accepts me, and it shows that in the radius.log, but dialup admin doesn't
recognize that.  I think it is a logging issue.  It looks like it needs to
log to the SQL server...  I am still working on that...

As always, thanks for any help you can offer.

Cheers!!




Joseph Sullivan

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


Re: DialupAdmin Question.

2007-05-22 Thread Kostas Kalevras
O/H Joseph Sullivan έγραψε:
 Hello Group,

 I am trying to use Dialup Admin on Free Radius 1.1.6.

 I have the admin.conf file all setup, it will add, remove users from the
 MySQL db, but it will not do the radius check by clicking on Check Server.

 It outputs this:

 Monday, 21 May 2007, 09:10:14 MDT
 Server: 127.0.0.1:1812

 (test user cowpuppy)


 Then It just hangs there.



 I have tried everything in the admin.conf file, setting the host to
 localhost, the hostname, the public ip address, and it still just hangs
 there, and it never hits the actual radius server or completes the check.

 Also,
 I can login with the user cowpuppy just fine but dialup admin never shows
 this when I look at the stats for cowpuppy.


 When I run this command:

 radtest cowpuppy testpass localhost 0 testing123


 It accepts me, and it shows that in the radius.log, but dialup admin doesn't
 recognize that.  I think it is a logging issue.  It looks like it needs to
 log to the SQL server...  I am still working on that...

 As always, thanks for any help you can offer.

 Cheers!!
   
Probably some library path is missing when the web server tries to run 
radclient. Check the general_radclient_bin
and general_ld_library_path directives. Also check the web server error 
log for any logs.




 Joseph Sullivan

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


-- 
Kostas Kalevras - Network Operations Center
National Technical University of Athens
http://kkalev.wordpress.com

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

DialupAdmin Question.

2007-05-21 Thread Joseph Sullivan
Hello Group,

I am trying to use Dialup Admin on Free Radius 1.1.6.

I have the admin.conf file all setup, it will add, remove users from the
MySQL db, but it will not do the radius check by clicking on Check Server.

It outputs this:

Monday, 21 May 2007, 09:10:14 MDT
Server: 127.0.0.1:1812

(test user cowpuppy)


Then It just hangs there.



I have tried everything in the admin.conf file, setting the host to
localhost, the hostname, the public ip address, and it still just hangs
there, and it never hits the actual radius server or completes the check.

Also,
I can login with the user cowpuppy just fine but dialup admin never shows
this when I look at the stats for cowpuppy.


When I run this command:

radtest cowpuppy testpass localhost 0 testing123


It accepts me, and it shows that in the radius.log, but dialup admin doesn't
recognize that.  I think it is a logging issue.  It looks like it needs to
log to the SQL server...  I am still working on that...

As always, thanks for any help you can offer.

Cheers!!




Joseph Sullivan

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


Freeradius radclient problem and sql dialupadmin question

2006-05-10 Thread Eric Hilden
I have installed FreeRadius (latest version) to my system and all goes 
well until it gets to the rlm_* files.  I have tried specifying the 
mysql directory at /usr/lib/mysql and it seemed to fix a few of those 
errors in the make process but then it just errors out. So I blew away 
that installation because I am really trying to get this working with 
mysql.


This attempt I'm really trying to get working because I think the linker 
setups up the libs more correctly. Using Suse 10.0 doing a source rpm 
install and let it do all the magic. It installs everything to the 
/etc/raddb directory and other default directories, but now I am running 
into this issue. After the install is done I run radiusd -x for a test 
and everything is working and listening for requests. As soon as a add a 
user to the users.txt file and run radtest is where I get my errors.


After running *radtest steve testing localhost 1812 testing123* I get 
the following.


*radclient: dict_init: Couldn't open dictionary 
/usr/local/etc/raddb/dictionary: No such file or directory. *
I can however use the radclient -d command to switch make it switch 
directories. I have no idea why it is wanting to push to that directory. 
The installation put the dictionary in the following. 
*/etc/raddb/dictionary *and */usr/share/freeradius/dictionary. *Is there 
a way to make it default to the */usr/share/freeradius/dictionary*?


After running with the *radtest -d /usr/share/freeradius/dictionary 
steve testing localhost 1812 testing123 *I get the accept message 
request from my test user.
Furthermore looking at the file /etc/raddb/dictionary I see* $Include   
/usr/share/freeradius/dictionary*
and looking at */usr/share/freeradius/dictionary *has all the include 
statements for the rest of the dictionary files.


Where am I missing the configuration to change the default setting for 
where radclient is wanting to look? Why the using Yast configured it 
look there I have no clue but it seems like an easy fix.



*SQL  Dialup Admin* *Questions?*
---
1.) In all the guides I have found you modify the sql.conf and 
radiusd.conf files to get it working. In my  /etc/raddb directory 
however I have a mysql.conf file; do I need to use this file instead?


2.)(not really a question) Before hand I was getting all the rlm_*** 
errors but know using Yast I believe the linker is now having everything 
work. As what I have changed is the following. In radiusd.conf I changed 
under authorize and accounting, I uncommented out the sql parts and 
commented out the files part. And in sql.conf I changed my settings to 
locahost and my login information. Now when I run radiusd -x and I get 
ready to accept requests like everything is working with no errors and 
all my databases have connected.


3.) Dialup Admin problems I am experiencing. I know this isn't dialup 
admin forums/mailing list but I figured I would find the most help here.


Find Users still seems to do nothing even when I create users through 
Dialup Admin.


And when I go to edit users I get the following:
Warning: main(password.php3) [function.main]: failed to open stream: No 
such file or directory in 
/srv/www/dialup_admin/lib/sql/password_check.php3 on line 2
Fatal error: main() [function.require]: Failed opening required 
'password.php3' (include_path='/usr/share/php') in 
/srv/www/dialup_admin/lib/sql/password_check.php3 on line 2


I'm no php expert but I really couldn't find what would be wrong here? I 
have no password on dialupadmin currently.


4.) How exactly do I test if Dialup Admin is working correctly? Also is 
there any documentation someone could point me to with what all the 
values and fields mean. It seems a bit different than working with the 
text files. I didn't see a place from secret. So if someone could point 
me a guide/documention explaining this I would appreciate it.


Thank you for your time reading this.
Eric
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius radclient problem and sql dialupadmin question

2006-05-10 Thread Alan DeKok
Eric Hilden [EMAIL PROTECTED] wrote:
 After running *radtest steve testing localhost 1812 testing123* I get 
 the following.
 
 *radclient: dict_init: Couldn't open dictionary 
 /usr/local/etc/raddb/dictionary: No such file or directory. *

  Odds are that you have a partial install, or multiple installations.

 After running with the *radtest -d /usr/share/freeradius/dictionary 
 steve testing localhost 1812 testing123 *I get the accept message 
 request from my test user.

  The etc directory SHOULD have a dictionary in it that includes
/usr/share/freeradius/dictionary.  The purpose is to have site-local
attributes.

 Furthermore looking at the file /etc/raddb/dictionary I see* $Include   
 /usr/share/freeradius/dictionary*

  Then you are using radclient from one install, and the dictionaries
from another installation of the server.

 Where am I missing the configuration to change the default setting for 
 where radclient is wanting to look?

  Nothing.  The default installation WORKS.  It's only when you do
multiple installations, and then partially remove one, that there are
problems.

  Alan DeKok.

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


Re: Freeradius radclient problem and sql dialupadmin question

2006-05-10 Thread Eric Hilden

Is there a proper way to reinstall something you installed.

Alan DeKok wrote:

Eric Hilden [EMAIL PROTECTED] wrote:
  
After running *radtest steve testing localhost 1812 testing123* I get 
the following.


*radclient: dict_init: Couldn't open dictionary 
/usr/local/etc/raddb/dictionary: No such file or directory. *



  Odds are that you have a partial install, or multiple installations.

  
After running with the *radtest -d /usr/share/freeradius/dictionary 
steve testing localhost 1812 testing123 *I get the accept message 
request from my test user.



  The etc directory SHOULD have a dictionary in it that includes
/usr/share/freeradius/dictionary.  The purpose is to have site-local
attributes.

  
Furthermore looking at the file /etc/raddb/dictionary I see* $Include   
/usr/share/freeradius/dictionary*



  Then you are using radclient from one install, and the dictionaries
from another installation of the server.

  
Where am I missing the configuration to change the default setting for 
where radclient is wanting to look?



  Nothing.  The default installation WORKS.  It's only when you do
multiple installations, and then partially remove one, that there are
problems.

  Alan DeKok.

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


  


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