免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4765 | 回复: 3
打印 上一主题 下一主题

[网络管理] 求助,pppoe-server不能连入 [复制链接]

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-19 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-21 16:25 |只看该作者 |倒序浏览
服务器是新装的as4,使用最小化安装.
作如下配置后启动服务:
pppoe-server -L 192.168.0.254 -I eth0 -N 35
客户端连接时提示:
错误651,调制解调器报告了一个错误
请大家帮助看一看.谢谢

[root@GateWay-002 log]# more messages
Jul 21 15:40:18 GateWay-002 syslogd 1.4.1: restart.
Jul 21 15:40:18 GateWay-002 syslog: syslogd startup succeeded
Jul 21 15:40:18 GateWay-002 kernel: klogd 1.4.1, log source = /proc/kmsg started
.
Jul 21 15:40:18 GateWay-002 syslog: klogd startup succeeded
Jul 21 15:40:18 GateWay-002 syslog: syslogd shutdown succeeded
Jul 21 15:40:24 GateWay-002 pppoe-server[4230]: Session 5 created for client 00:
e0:4c:98:67:a4 (10.67.15.5) on eth0 using Service-Name ''
Jul 21 15:40:24 GateWay-002 pppd[4230]: The remote system is required to authent
icate itself
Jul 21 15:40:24 GateWay-002 pppd[4230]: but I couldn't find any suitable secret
(password) for it to use to do so.
Jul 21 15:40:24 GateWay-002 pppd[4230]: (None of the available passwords would l
et it use an IP address.)
Jul 21 15:40:24 GateWay-002 pppoe-server[4183]: Session 5 closed for client 00:e
0:4c:98:67:a4 (10.67.15.5) on eth0
Jul 21 15:40:24 GateWay-002 pppoe-server[4183]: Sent PADT
[root@GateWay-002 log]#

配置:
[root@GateWay-002 log]# more /etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
#require-chap
#require-pap
#login
lcp-echo-interval 10
lcp-echo-failure 2
-pap
+chap
defaultroute
noproxyarp
ms-dns 202.103.0.117
ms-dns 202.103.24.68

[root@GateWay-002 log]# more /etc/ppp/options
lock


[root@GateWay-002 log]# more /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
"a1036873"      *       "123789"
"110"   *       "110"   *
"2502"  *       "2502"  *
"502"   ppp3    "502"   192.168.0.52
[root@GateWay-002 log]#


网络配置:
[root@GateWay-002 log]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:95:7B:A9
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11003 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1129272 (1.0 MiB)  TX bytes:3181707 (3.0 MiB)
          Interrupt:12 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:50:BA:69:B27
          inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:6582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5085 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2952266 (2.8 MiB)  TX bytes:666603 (650.9 KiB)
          Interrupt:10 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1044 (1.0 KiB)  TX bytes:1044 (1.0 KiB)

ppp0      Link encapoint-to-Point Protocol
          inet addr:59.172.105.44  P-t-P:202.103.29.39  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:3149 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3014 errors:0 dropped:38 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1945399 (1.8 MiB)  TX bytes:357688 (349.3 KiB)

论坛徽章:
0
2 [报告]
发表于 2007-07-21 16:49 |只看该作者
将syslogd服务停掉试试

service syslogd stop

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2007-07-21 17:33 |只看该作者
Jul 21 15:40:24 GateWay-002 pppoe-server[4230]: Session 5 created for client 00:
e0:4c:98:67:a4 (10.67.15.5) on eth0 using Service-Name ''
Jul 21 15:40:24 GateWay-002 pppd[4230]: The remote system is required to authent
icate itself
Jul 21 15:40:24 GateWay-002 pppd[4230]: but I couldn't find any suitable secret
(password) for it to use to do so.
Jul 21 15:40:24 GateWay-002 pppd[4230]: (None of the available passwords would l
et it use an IP address.)
Jul 21 15:40:24 GateWay-002 pppoe-server[4183]: Session 5 closed for client 00:e
0:4c:98:67:a4 (10.67.15.5) on eth0
Jul 21 15:40:24 GateWay-002 pppoe-server[4183]: Sent PADT


从这些信息来看,应该检查SERVER-NAME,还有认证部分。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-19 06:20:00
4 [报告]
发表于 2007-07-21 19:32 |只看该作者
解决了.我把/etc/ppp目录删除了后,重新安装了rp-pppoe和ppp之后用默认配置就行了.
谢谢大家
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP