找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: xfyg

[radius] freeradius设置问题。

[复制链接]
 楼主| 发表于 2006-4-18 12:00:12 | 显示全部楼层
顶一下,等解答!
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-19 15:57:49 | 显示全部楼层
顶起来!求解!
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-19 17:33:06 | 显示全部楼层
我再把问题提一便,我运行RADIUS后出现下面提示:
# service radiusd start
启动 RADIUS 服务:Wed Apr 19 17:11:50 2006 : Info: Starting - reading configuration files ...
Wed Apr 19 17:11:50 2006 : Error: /etc/raddb/clients.conf[27]: Line is not in 'attribute = value' format
Wed Apr 19 17:11:50 2006 : Error: Errors reading radiusd.conf
                                                           [失败]
然后我查看我的clients.conf文件:
client 172.17.*.*  (我ROUTEROS的IP地址)
        #
        #  The shared secret use to "encrypt" and "sign" packets between
        #  the NAS and FreeRADIUS.  You MUST change this secret from the
        #  default, otherwise it's not a secret any more!
        #
        #  The secret can be any string, up to 32 characters in length.
        #
        secret = admin   (这里和ROUTEROS设置的一致的)

        #
        #  The short name is used as an alias for the fully qualified
        #  domain name, or the IP address.
        #
        shortname = 172.17.*.*  (我ROUTEROS的IP地址)

        #
        # the following three fields are optional, but may be used by
        # checkrad.pl for simultaneous use checks
        #

        #
        # The nastype tells 'checkrad.pl' which NAS-specific method to
        #  use to query the NAS for simultaneous use.
        #
        #  Permitted NAS types are:
        #
        #        cisco
        #        computone
        #        livingston
        #        max40xx
        #        multitech
        #        netserver
        #        pathras
        #        patton
        #        portslave
        #        tc
        #        usrhiper
        #        other                # for all other types

        #
        nastype = other

这个文件设置有问题吗?问题会出在哪里?
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-19 22:30:55 | 显示全部楼层
难道就没有一个人可以帮忙吗?
routeros
回复

使用道具 举报

发表于 2006-4-19 22:31:58 | 显示全部楼层
太深奥了!~
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-20 10:05:11 | 显示全部楼层
Wed Apr 19 17:11:50 2006 : Error: /etc/raddb/clients.conf[27]: Line is not in 'attribute = value' format
Wed Apr 19 17:11:50 2006 : Error: Errors reading radiusd.conf
问题解决了是clients.conf文件里少了一个"{"。
可是运行后还是有下面的提示:
# service radiusd start
启动 RADIUS 服务:Wed Apr 19 17:11:50 2006 : Info: Starting - reading configuration files ...
                                                          [失败]
有谁知道?
routeros
回复

使用道具 举报

 楼主| 发表于 2006-4-20 11:38:58 | 显示全部楼层
现在的问题是,运行RADIUSD -X 后:
]# radiusd -x
Starting - reading configuration files ...
Using deprecated naslist file.  Support for this will go away soon.
Module: Loaded exec
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded eap
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
rlm_eap: Loaded and initialized type gtc
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded files
Module: Instantiated files (files)
Module: Loaded SQL
rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory
rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld.
radiusd.conf[14]: sql: Module instantiation failed.

可我搜索不到rlm_sql_mysql.so这个文件,在哪里?
大家帮忙,我快成功了!!!
routeros
回复

使用道具 举报

发表于 2006-10-13 19:23:59 | 显示全部楼层
同样问题
求解啊
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-23 17:36 , Processed in 0.047685 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表