RE: dialup_admin problem

2005-07-01 Thread Rashad Rustamoff
You must point to actual IP address (or FQDN) of machine where mysql server
running.
To do this edit this line in admin.conf:

sql_server: fully.qualified.domain.name.of.server

If your web server running in the same machine where mysql server is
running:
sql_server: 127.0.0.1

I am using Freeradius version 1.04 that comes with its own version of
dialup_admin.
I've successfully got Freeradius to authenticate using MYSQL as a backend.

My problem is in getting dialup_admin to read the database when I access my
radius server on the web.


#
# can be one of mysql,pg where:
# mysq: MySQL database (port 3306)
# pg: PostgreSQL database (port 5432)
#
sql_type: mysql
#sql_type: mysq
sql_server: fully.qualified.domain.name.of.server
sql_port: 3306


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


RE: dialup_admin problem

2005-07-01 Thread Rashad Rustamoff
Check mysql logs. If mysql server refuses connection by any reason you will
see it in logs.
Standard location of mysql logs in mysql data directory. Normal operations
are logged in file your_machine_name.log, errors in your_machine_name.err.


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