- 论坛徽章:
- 1
|
服务器是新装的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:B2 7
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 encap oint-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) |
|