linux下连接windows2003 ppoe 服务器

1,在CentOS6.3下用 /usr/sbin/pppd  pty "/usr/sbin/pptp publicip --nolaunchpppd" file /etc/ppp/options.pptp user user1 password password1 再用tail -f /var/log/messages看到log如下 Oct  8 03:25:41 localhost pppd[2057]: pppd 2.4.5 started by root, uid 0 Oct  8 03:25:41 localhost pppd[2057]: Using interface ppp0 Oct  8 03:25:41 localhost pppd[2057]: Connect: ppp0 <--> /dev/pts/2 Oct  8 03:25:41 localhost pptp[2058]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated Oct  8 03:25:41 localhost pptp[2066]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Oct  8 03:25:41 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply Oct  8 03:25:41 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established. Oct  8 03:25:42 localhost pptp[2066]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Oct  8 03:25:42 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply. Oct  8 03:25:42 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 19561). Oct  8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0 Oct  8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is 00000000, recv_accm is FFFFFFFF Oct  8 03:25:45 localhost pptp[2066]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported! Oct  8 03:25:45 localhost pppd[2057]: CHAP authentication succeeded Oct  8 03:25:45 localhost pppd[2057]: LCP terminated by peer (tM-+)^R^@<M-Mt^@^@^BM-f) Oct  8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0 Oct  8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is FFFFFFFF, recv_accm is FFFFFFFF Oct  8 03:25:45 localhost pptp[2066]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported! Oct  8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Received Call Clear Request. Oct  8 03:25:48 localhost pppd[2057]: Connection terminated. Oct  8 03:25:48 localhost pppd[2057]: Modem hangup Oct  8 03:25:48 localhost pptp[2058]: anon warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error Oct  8 03:25:48 localhost pptp[2058]: anon warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log Oct  8 03:25:48 localhost pptp[2066]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled) Oct  8 03:25:48 localhost pptp[2066]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Oct  8 03:25:48 localhost pptp[2066]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state) Oct  8 03:25:48 localhost pppd[2057]: Exit. 2,google查资料得到修改下面这个文件 cat /etc/ppp/options require-mppe require-mppe-128 mppe-stateful CentOS6.3中默认是lock,我把这个删除了,加上上面的内容,问题解决 3,重新拨号log信息如下 Oct 10 08:09:39 localhost kernel: PPP generic driver version 2.4.2 Oct 10 08:09:39 localhost pppd[2019]: pppd 2.4.5 started by root, uid 0 Oct 10 08:09:39 localhost pptp[2020]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated Oct 10 08:09:39 localhost pppd[2019]: Using interface ppp0 Oct 10 08:09:39 localhost pppd[2019]: Connect: ppp0 <--> /dev/pts/2 Oct 10 08:09:39 localhost pptp[2030]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Oct 10 08:09:39 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply Oct 10 08:09:39 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established. Oct 10 08:09:40 localhost pptp[2030]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Oct 10 08:09:40 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply. Oct 10 08:09:40 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 47065). Oct 10 08:09:43 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0 Oct 10 08:09:43 localhost pptp[2030]: anon log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is 00000000, recv_accm is FFFFFFFF Oct 10 08:09:43 localhost pptp[2030]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported! Oct 10 08:09:43 localhost pppd[2019]: CHAP authentication succeeded Oct 10 08:09:43 localhost kernel: PPP MPPE Compression module registered Oct 10 08:09:43 localhost pppd[2019]: MPPE 128-bit stateless compression enabled Oct 10 08:09:45 localhost pppd[2019]: local  IP address 10.0.0.4 Oct 10 08:09:45 localhost pppd[2019]: remote IP address 10.0.0.1

后来这个问题在Debian 6.0中同样出现了,用同样的方法解决

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏虚拟化云计算

用qemu中最少的代码实现一个kvm模拟器

本文依据qemu2.11的源码,把整个初始化和运行虚拟机的代码拿出来,完成一个可以运行的模拟器demo。从中可以很清晰的看出qemu-kvm的初始化以及虚拟机的...

1.2K10
来自专栏乐沙弥的世界

CRS-1006 , CRS-0215 故障一例

    安装好sles 10 sp3 + Oracle 10g RAC之后,在配置监听器时,总是提示主机bo2dbp上的监听服务已经在运行,忽略错误之后手动在b...

693
来自专栏Golang语言社区

使用Docker和热加载运行Go API

This is a quick discussion of how to set up a local development environment for ...

1321
来自专栏散尽浮华

openstack虚拟机迁移的操作记录

需求说明: 计算节点linux-node1.openstack:192.168.1.8   计算节点linux-node2.openstack:192.168....

7919
来自专栏圣杰的专栏

.NET Core+MySql+Nginx 容器化部署

1. 引言 上两节我们通过简单的demo学习了docker的基本操作。这一节我们来一个进阶学习,完成ASP.NET Core + MySql + Nginx的容...

4388
来自专栏康怀帅的专栏

Docker 相关概念总览

Docker 概念总览 Docker Engine Docker 引擎 Docker architecture Docker 架构 Docker daemon ...

4088
来自专栏琯琯博客

docker-resources资源汇集相关项目博文

docker资源汇总。英文版本链接 资源汇集 书籍 第一本Docker书 (7.4分) Docker —— 从入门到实践 (内容一般) The Docker B...

5157
来自专栏程序员同行者

Docker部署Vue 工程包

这样前端工程镜像就build好了,可以执行docker run -d -p9528:9528 dist:v0.1启动

1432
来自专栏从零开始的linux

redis主从

主机名ipnode01(主)192.168.6.71node02(从)192.168.6.72 分别在两台机器上面安装redis wget https://c...

3748
来自专栏杨建荣的学习笔记

使用shell定制awr脚本(r3笔记第32天)

大家在做性能问题诊断的时候,awr是不可或缺的工具,使用?/rdbms/admin/awrrpt.sql可能大家使用的多了,可能有时候感觉输入参数还是有些太繁琐...

2884

扫码关注云+社区

领取腾讯云代金券