找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 236|回复: 28

PPTPD+L2TP+RADIUSCLIENT 对接 Radius Manager 3.9 失败 求原因

[复制链接]

28

主题

71

回帖

250

积分

中级会员

积分
250
发表于 2011-12-9 14:42:13 | 显示全部楼层 |阅读模式
PPTPD+L2TP+RADIUSCLIENT 对接 Radius Manager 3.9 失败 求原因

我在Radius Manager 添加好了NAS

别且关闭了 FreeRadius 然后用 Radiusd -X 命令启动查看

我VPN 连接的时候 Radius 有接受到信息

但是一直提示 691 密码错误。这应该是哪里的原因。

求大神帮助

[ 本帖最后由 Meiam 于 2011-12-9 15:28 编辑 ]
回复

使用道具 举报

312

主题

1万

回帖

2万

积分

论坛元老

积分
22908
发表于 2011-12-9 14:42:50 | 显示全部楼层
不懂
回复

使用道具 举报

52

主题

693

回帖

1562

积分

金牌会员

积分
1562
发表于 2011-12-9 14:50:32 | 显示全部楼层
又是一个卖VPN的
回复

使用道具 举报

32

主题

1174

回帖

2474

积分

金牌会员

积分
2474
发表于 2011-12-9 14:52:31 | 显示全部楼层
有什麼管理SSH的介紹介紹
回复

使用道具 举报

28

主题

71

回帖

250

积分

中级会员

积分
250
 楼主| 发表于 2011-12-9 15:27:28 | 显示全部楼层
日志如下

Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
RADIUS plugin initialized.
Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
RADATTR plugin initialized.
Using interface ppp0
Connect: ppp0  /dev/pts/1
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Peer user failed CHAP authentication
Connection terminated.
回复

使用道具 举报

33

主题

1761

回帖

3653

积分

论坛元老

积分
3653
发表于 2011-12-9 15:31:00 | 显示全部楼层
/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
回复

使用道具 举报

159

主题

1455

回帖

3427

积分

论坛元老

积分
3427
发表于 2011-12-9 15:31:14 | 显示全部楼层
绑顶一下,确实不懂这方面的
回复

使用道具 举报

28

主题

71

回帖

250

积分

中级会员

积分
250
 楼主| 发表于 2011-12-9 15:42:10 | 显示全部楼层
原帖由 UCVPS 于 2011-12-9 15:31 发表


/usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime



我知道是这里的问题。但是不知道怎么解决
回复

使用道具 举报

26

主题

2324

回帖

4764

积分

论坛元老

积分
4764
发表于 2011-12-9 15:42:58 | 显示全部楼层


83行内容贴出来
回复

使用道具 举报

0

主题

1

回帖

4

积分

新手上路

积分
4
发表于 2011-12-9 15:55:55 | 显示全部楼层
不懂,坐看高手出招原帖由 店小二 于 2011-12-9 15:42 发表




83行内容贴出来
[ol]
  • # General settings
  • # specify which authentication comes first respectively which
  • # authentication is used. possible values are: "radius" and "local".
  • # if you specify "radius,local" then the RADIUS server is asked
  • # first then the local one. if only one keyword is specified only
  • # this server is asked.
  • auth_order        radius,local
  • # maximum login tries a user has
  • login_tries        4
  • # timeout for all login tries
  • # if this time is exceeded the user is kicked out
  • login_timeout        60
  • # name of the nologin file which when it exists disables logins.
  • # it may be extended by the ttyname which will result in
  • # a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
  • # logins on /dev/ttyS2)
  • nologin /etc/nologin
  • # name of the issue file. it's only display when no username is passed
  • # on the radlogin command line
  • issue        /usr/local/etc/radiusclient/issue
  • # RADIUS settings
  • # RADIUS server to use for authentication requests. this config
  • # item can appear more then one time. if multiple servers are
  • # defined they are tried in a round robin fashion if one
  • # server is not answering.
  • # optionally you can specify a the port number on which is remote
  • # RADIUS listens separated by a colon from the hostname. if
  • # no port is specified /etc/services is consulted of the radius
  • # service. if this fails also a compiled in default is used.
  • authserver         192.168.1.4:1812
  • # RADIUS server to use for accouting requests. All that I
  • # said for authserver applies, too.
  • #
  • acctserver         192.168.1.4:1813
  • # file holding shared secrets used for the communication
  • # between the RADIUS client and server
  • servers                /usr/local/etc/radiusclient/servers
  • # dictionary of allowed attributes and values
  • # just like in the normal RADIUS distributions
  • dictionary         /usr/local/etc/radiusclient/dictionary
  • # program to call for a RADIUS authenticated login
  • login_radius        /usr/local/sbin/login.radius
  • # file which holds sequence number for communication with the
  • # RADIUS server
  • seqfile                /var/run/radius.seq
  • # file which specifies mapping between ttyname and NAS-Port attribute
  • mapfile                /usr/local/etc/radiusclient/port-id-map
  • # default authentication realm to append to all usernames if no
  • # realm was explicitly specified by the user
  • # the radiusd directly form Livingston doesnt use any realms, so leave
  • # it blank then
  • default_realm
  • # time to wait for a reply from the RADIUS server
  • radius_timeout        10
  • # resend request this many times before trying the next server
  • radius_retries        3
  • # The length of time in seconds that we skip a nonresponsive RADIUS
  • # server for transaction requests.  Server(s) being in the "dead" state
  • # are tried only after all other non-dead servers have been tried and
  • # failed or timeouted.  The deadtime interval starts when the server
  • # does not respond to an authentication/accounting request transmissions.
  • # When the interval expires, the "dead" server would be re-tried again,
  • # and if it's still down then it will be considered "dead" for another
  • # such interval and so on. This option is no-op if there is only one
  • # server in the list. Set to 0 in order to disable the feature.
  • radius_deadtime        0
  • # local address from which radius packets have to be sent
  • bindaddr *
  • # LOCAL settings
  • # program to execute for local login
  • # it must support the -f flag for preauthenticated login
  • login_local        /bin/login
  • [/ol]复制代码83 行是  radius_deadtime        0
  • 回复

    使用道具 举报

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

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-1-16 06:48 , Processed in 0.022805 second(s), 5 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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