全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: Meiam
打印 上一主题 下一主题

[疑问] PPTPD+L2TP+RADIUSCLIENT 对接 Radius Manager 3.9 失败 求原因

[复制链接]
11#
 楼主| 发表于 2011-12-9 15:57:54 | 只看该作者
原帖由 店小二 于 2011-12-9 15:42 发表
83行内容贴出来
  1. # General settings

  2. # specify which authentication comes first respectively which
  3. # authentication is used. possible values are: "radius" and "local".
  4. # if you specify "radius,local" then the RADIUS server is asked
  5. # first then the local one. if only one keyword is specified only
  6. # this server is asked.
  7. auth_order        radius,local

  8. # maximum login tries a user has
  9. login_tries        4

  10. # timeout for all login tries
  11. # if this time is exceeded the user is kicked out
  12. login_timeout        60

  13. # name of the nologin file which when it exists disables logins.
  14. # it may be extended by the ttyname which will result in
  15. # a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
  16. # logins on /dev/ttyS2)
  17. nologin /etc/nologin

  18. # name of the issue file. it's only display when no username is passed
  19. # on the radlogin command line
  20. issue        /usr/local/etc/radiusclient/issue

  21. # RADIUS settings

  22. # RADIUS server to use for authentication requests. this config
  23. # item can appear more then one time. if multiple servers are
  24. # defined they are tried in a round robin fashion if one
  25. # server is not answering.
  26. # optionally you can specify a the port number on which is remote
  27. # RADIUS listens separated by a colon from the hostname. if
  28. # no port is specified /etc/services is consulted of the radius
  29. # service. if this fails also a compiled in default is used.
  30. authserver         192.168.1.4:1812

  31. # RADIUS server to use for accouting requests. All that I
  32. # said for authserver applies, too.
  33. #
  34. acctserver         192.168.1.4:1813

  35. # file holding shared secrets used for the communication
  36. # between the RADIUS client and server
  37. servers                /usr/local/etc/radiusclient/servers

  38. # dictionary of allowed attributes and values
  39. # just like in the normal RADIUS distributions
  40. dictionary         /usr/local/etc/radiusclient/dictionary

  41. # program to call for a RADIUS authenticated login
  42. login_radius        /usr/local/sbin/login.radius

  43. # file which holds sequence number for communication with the
  44. # RADIUS server
  45. seqfile                /var/run/radius.seq

  46. # file which specifies mapping between ttyname and NAS-Port attribute
  47. mapfile                /usr/local/etc/radiusclient/port-id-map

  48. # default authentication realm to append to all usernames if no
  49. # realm was explicitly specified by the user
  50. # the radiusd directly form Livingston doesnt use any realms, so leave
  51. # it blank then
  52. default_realm

  53. # time to wait for a reply from the RADIUS server
  54. radius_timeout        10

  55. # resend request this many times before trying the next server
  56. radius_retries        3

  57. # The length of time in seconds that we skip a nonresponsive RADIUS
  58. # server for transaction requests.  Server(s) being in the "dead" state
  59. # are tried only after all other non-dead servers have been tried and
  60. # failed or timeouted.  The deadtime interval starts when the server
  61. # does not respond to an authentication/accounting request transmissions.
  62. # When the interval expires, the "dead" server would be re-tried again,
  63. # and if it's still down then it will be considered "dead" for another
  64. # such interval and so on. This option is no-op if there is only one
  65. # server in the list. Set to 0 in order to disable the feature.
  66. radius_deadtime        0
  67. # local address from which radius packets have to be sent
  68. bindaddr *

  69. # LOCAL settings

  70. # program to execute for local login
  71. # it must support the -f flag for preauthenticated login
  72. login_local        /bin/login
复制代码
83 行是  radius_deadtime        0
12#
发表于 2011-12-9 16:00:25 | 只看该作者
radius_deadtime        0
注释掉 试试 或者 去掉 0

[ 本帖最后由 店小二 于 2011-12-9 16:03 编辑 ]
13#
 楼主| 发表于 2011-12-9 16:02:26 | 只看该作者
原帖由 店小二 于 2011-12-9 16:00 发表
radius_deadtime        0
注释掉 试试



注释掉

/usr/local/etc/radiusclient/radiusclient.conf: line 86: unrecognized keyword: bindaddr
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf

在注释掉 bindaddr *

还是不行
14#
 楼主| 发表于 2011-12-9 16:02:26 | 只看该作者
原帖由 店小二 于 2011-12-9 16:00 发表
radius_deadtime        0
注释掉 试试



注释掉

/usr/local/etc/radiusclient/radiusclient.conf: line 86: unrecognized keyword: bindaddr
RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf

在注释掉 bindaddr *

还是不行
15#
发表于 2011-12-9 16:04:08 | 只看该作者
bindaddr * 这行需要注释掉
16#
 楼主| 发表于 2011-12-9 16:04:51 | 只看该作者
原帖由 店小二 于 2011-12-9 16:04 发表
bindaddr * 这行需要注释掉



还是不行的。我之前已经测试过了
17#
 楼主| 发表于 2011-12-9 16:04:51 | 只看该作者
原帖由 店小二 于 2011-12-9 16:04 发表
bindaddr * 这行需要注释掉



还是不行的。我之前已经测试过了
18#
发表于 2011-12-9 16:05:12 | 只看该作者
#radius_deadtime        0
#bindaddr *
偶的是全部注释掉的
19#
 楼主| 发表于 2011-12-9 16:11:14 | 只看该作者
原帖由 店小二 于 2011-12-9 16:05 发表
#radius_deadtime        0
#bindaddr *
偶的是全部注释掉的



全部注释掉还是 691 疯了
20#
 楼主| 发表于 2011-12-9 16:11:14 | 只看该作者
原帖由 店小二 于 2011-12-9 16:05 发表
#radius_deadtime        0
#bindaddr *
偶的是全部注释掉的



全部注释掉还是 691 疯了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-8 12:03 , Processed in 0.072785 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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