linux ppoe,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^@
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中同样出现了,用同样的方法解决
linux ppoe,linux下连接windows2003 ppoe 服务器相关推荐
- 在linux的环境下 连接深澜校园网的方法
在linux的环境下 连接深澜校园网的方法 在学校必须用用校园网客户端联网,而又没有能力写linux下的客户端的,而且无线网卡驱动不支持的情况下,想了一些招式来连接深澜校园网,最后终于成功了 < ...
- [Ubuntu]在Ubuntu系统下连接远程Ubuntu服务器并传输文件:安装putty, filezilla
转载自:[Ubuntu]在Ubuntu系统下连接远程Ubuntu服务器并传输文件_北望花村-CSDN博客_ubuntu上传文件到服务器 本篇文章介绍,如何在Ubuntu系统下连接远程Ubuntu系统并 ...
- linux命令eric,Linux命令行下连接无线网
无线网卡配置 此页由Linux Wiki用户Chenxing于2008年11月27日 (星期四) 09:28的最后更改. 在1233456的工作基础上. 本文介绍在Linux命令行界面中手动配置无线网 ...
- [ Linux ] CentOS 8下使用 chrony 进行服务器网络时间同步
文章目录 背景 如何确认自己系统的版本 安装Chrony 配置chrony 背景 当使用的linux版本是CentOS 8.x.x 的时候无法使用 yum安 装ntpdate服务,并提示错误信息 No ...
- 给linux虚拟机配置网络连接,VMVare虚拟机网络配置步骤
上一篇介绍了在linux的centos下如何安装nginx服务器,并且实现在linux上访问nginx服务器.本篇主要介绍vmvare下基于nat模式的网络配置以及实现在本地主机访问linux上的ng ...
- 宽带连接怎么修改服务器名称地址,宽带连接怎么修改服务器名称地址
宽带连接怎么修改服务器名称地址 内容精选 换一换 在弹性云服务器上安装完成后输入公网IP,无法连接目的虚拟机,端口无法访问工具.源端网络未连通目的端.目的端安全组未开放8084端口.目的端网络ACL禁 ...
- Linux下连接Mysql服务器的方式
一:mysql连接简介 1.linux下mysql的连接方式有三种: 本地mysql命令连接 客户端命令连接 脚本语言封装方法连接 2.linux下mysql的连接方法有两种: TCP/IP协议连接 ...
- 在linux中连接mysql数据库服务器_Linux下连接Mysql服务器的方式
一:mysql连接简介 1.linux下mysql的连接方式有三种: 本地mysql命令连接 客户端命令连接 脚本语言封装方法连接 2.linux下mysql的连接方法有两种: TCP/IP协议连接 ...
- Linux下各类TCP网络服务器的实现源代码
http://www.linuxeden.com/forum/t146870.html 大家都知道各类网络服务器程序的编写步骤,并且都知道网络服务器就两大类:循环服务和并发服务.这里附上源代码来个小结 ...
最新文章
- Science:基于微生物条形码系统的高分辨率物源追踪技术
- Vue开发微信H5 微信分享签名失败问题解决方案
- 局域网上传文件到服务器很慢,win10局域网内传文件很慢怎么办_win10局域网内文件传输很慢如何处理-win7之家...
- 【交通行业】轨迹相似性度量介绍
- (二) shiro入门 :输出 hello world
- 聚类算法学习指南(二)
- count是java关键字吗_你是一直认为 count(1) 比 count(*) 效率高么?
- 232接口针脚定义_VGA接口定义,详细图文资料
- 计算机原理考研题库,东北大学计算机组成原理题库(9)
- C语言关键字浅析-_Bool
- SPSS实现两变量相关分析
- oracle dba_hist_snapshot,通过dba_hist_*来进行诊断
- 【中文分词】最大熵马尔可夫模型MEMM
- github的crx快速下载
- windows用VS2019下编译log4cxx日志库
- Android自定义相机实现定时拍照
- tilemap软件使用_使用Tilemap的等距2D环境
- 对话腾讯云专家工程师常青,聊一聊全真互联网的“小小”变化
- Win11桌面右键菜单栏怎么回到Win10的样子(直接命令执行便可完成,简单快捷)
- 阿尔茨海默病de饮食-微生物-脑轴
热门文章
- nginx配置监听443端口,开启ssl协议,走 https 访问
- 关于Win10/11系统上安装Ubuntu双系统的rufus方法及实践问题
- ICC2 CTS STEP
- proteus中仿真51单片系列之--2位数码管程序
- linux安装微软雅黑等字体
- 多个PDF怎么合并?赶快看这篇文章学习一下
- webstorm 格式化代码Ctrl+alt+l 失效
- Geant4学习记录(一)
- 【ACWing】950. 郁闷的出纳员
- ContextCapture(Smart3D)总结(1)——构建空三模型(S3C,OSGB,DOM)