radius+httpd+php+mysql+dialupadmin总结
7.[root@localhost raddb]# cat sql.conf//查看sql配置文件 sql { database = "mysql" driver = "rlm_sql_${database}" server = "localhost" login = "root"//修改数据用户名为root password = "123456"//密码为123456 radius_db = "radius"//数据库名字叫radius acct_table1 = "radacct" acct_table2 = "radacct" postauth_table = "radpostauth" authcheck_table = "radcheck" authreply_table = "radreply" groupcheck_table = "radgroupcheck" groupreply_table = "radgroupreply" usergroup_table = "radusergroup" deletestalesessions = yes sqltrace = no sqltracefile = ${logdir}/sqltrace.sql num_sql_socks = 5 connect_failure_retry_delay = 60 lifetime = 0 max_queries = 0 nas_table = "nas" $INCLUDE sql/${database}/dialup.conf } 8.[root@localhost raddb]# cat clients.conf//客户端配置文件 client localhost { ipaddr = 127.0.0.1 secret = testing123 require_message_authenticator = no } client 192.168.40.39 { secret =testing123 shortname =test nastype =other } //为你NAS的相应值 192.168.40.39为NAS要地址 secret = testing123为密钥 shortname = test任意 nastype = other为你NAS设备的类型 (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |