一步解决PPTPD VPN CTRL: PTY read or GRE write failed (pty,gre)=(6,7)错误

现象:

客户端卡在验证用户名密码,无法连接。

var/log/message档案日志:

GRE: read(fd=6,buffer=8059680,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs

CTRL: PTY read or GRE write failed (pty,gre)=(6,7)

解决办法:

编辑/etc/pptpd.conf文件,注释掉logwtmp选项

时间: 2024-08-27 06:11:27

一步解决PPTPD VPN CTRL: PTY read or GRE write failed (pty,gre)=(6,7)错误的相关文章

CentOS 6.5 PPTPD VPN服务器安装,解决807等问题。

需要两个组件: ppp pptpd 需要配置的地方有三处: /etc/pptpd.conf /etc/ppp/options.pptpd /etc/ppp/chap-secrets --------------------------------------------------------------------------------------------------------------------------------------------------------------

pptpd vpn 老是连接不上内网排错

通过开发同事老是提出连接上vpn确ping不通内网,经过日志排查 Dec 17 10:27:33 webserver pppd[11221]: LCP terminated by peer (U^_^^M-I^@<M-Mt^@^@^@^@) Dec 17 10:27:33 webserver pppd[11221]: Connect time 0.4 minutes. Dec 17 10:27:33 webserver pppd[11221]: Sent 0 bytes, received 50

腾讯云主机(CentOS7)搭建pptpd VPN

一直以来觉得pptpd不大好用,特别是在国内,运营商对它有诸多限制,但openvpn对初学者来说还是有点难度.今天恰好有个朋友问到如何能够简单便捷的搭建pptpd vpn,我跟他讲了下思路,发现他还是不能理解,如是有了接下来的操作. 一.服务端的配置: 1.安装并查看pptpd [[email protected]_17_139_centos ~]# yum -y install pptpd [[email protected]_17_139_centos ~]# rpm -ql pptpd /

centos6.8 搭建pptpd vpn服务器

pptpd vpn的关键在于iptables的用的对不对,iptables决定了vpn的用处,但是如果深入的话主配置文件也很重要. 1.确认系统是否支持 modprobe ppp-compress-18 && echo ok #确认你的系统内核是否支持mppe yum update #可以升级下内核 2.检查系统是否开启TUN/TAP支持 # cat /dev/net/tun     cat: /dev/net/tun: File descriptor in bad state 3.检查系

CentOS VPS创建pptpd VPN服务

原文地址http://www.hi-vps.com/wiki/doku.php?id=xen_vps_centos6_install_pptpd CentOS VPS创建pptpd VPN服务 Xen虚拟化技术虚拟的VPS可以直接安装所有VPN服务,而不用询问是否开通了ppp或者tun权限. 本教程仅仅适用于Xen或KVM VPS,不适用于Openvz VPS,安装之前请确定自己是否是符合标准! 1. 下载vpn(CentOS6专用)一键安装包 该教程仅适用于32位Centos6系列,Cento

一步解决#1045 - Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: NO) 的问题

解决办法是: 在phpMyAdmin中libraries目录下找到config.default.php文件 $cfg['Servers'][$i][ 'host'] = 'localhost';$cfg['Servers'][$i]['port'] = '3306';$cfg['Servers'][$i]['connect_type'] = 'socket'; $cfg['Servers'][$i]['extension'] = 'mysql';$cfg['Servers'][$i]['auth

解决Cisco VPN Client Reason 442: Failed to Enable Virtual Adapter

解决Cisco VPN Client Reason 442: Failed to Enable Virtual Adapter 我发现最近在家里通过Cisco VPN Client 连接到VPN服务器的时候,客户端经常报错. 点连接后,过一会儿出现一个对话框:Secure VPN connection terminated locally by the client.Reason 442: Failed to Enable Virtual Adapter.Connection terminate

redhat6.5 搭建pptpd VPN服务器

1,安装pptpd和ppp yum -y install ppp-2.4.5-5.el6.x86_64 rpm -vih pptpd-1.4.0-3.el6.x86_64 2,修改 /etc/pptpd.conf localip 192.168.244.254  #本地VPN服务器的IP remoteip 192.168.244.100-238  #客户端被分配的IP范围 3,修改 /etc/ppp/options.pptpd 内容如下: auth lock debug proxyarp nam

Download interrupted: Connection to https://dl-ssl.google.com refused 安卓SDK下载被拒 3步解决

1.SDK Manager 的 Tools ->Options打开SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”, 强制使用http协议. 2.在 Windows在C:\WINDOWS\system32\drivers\etc目录下: #Google主页 203.208.46.146 www.google.com #这行是为了方便打开Android开发官网 现在好像不FQ也可以打开 74.