from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs

pptpd vpn错误619的解决办法

  1. #/var/log/messages错误日志为:
  2. Apr  5 19:45:25 localhost pptpd[2000]: 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
  3. Apr  5 19:45:25 localhost pptpd[2000]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
  4.  
  5. # 打开options.pptpd
  6. # vi /etc/ppp/options.pptpd
  7. # 找到debug,在下面添加一行 debug dump 打开连接调试
  8. #错误日志提示为:Cannot determine ethernet address for proxy ARP
  9.  
  10. Apr  5 19:49:25 localhost pppd[2026]: nobsdcomp         # (from /etc/ppp/options.pptpd)
  11. Apr  5 19:49:25 localhost pppd[2026]: require-mppe-128          # (from /etc/ppp/options.pptpd)
  12. Apr  5 19:49:25 localhost pppd[2026]: pppd 2.4.4 started by root, uid 0
  13. Apr  5 19:49:25 localhost pppd[2026]: Using interface ppp0
  14. Apr  5 19:49:25 localhost pppd[2026]: Connect: ppp0 <--> /dev/pts/1
  15. Apr  5 19:49:25 localhost pppd[2026]: MPPE 128-bit stateless compression enabled
  16. Apr  5 19:49:25 localhost pptpd[2025]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
  17. Apr  5 19:49:27 localhost pppd[2026]: Cannot determine ethernet address for proxy ARP
  18. Apr  5 19:49:27 localhost pppd[2026]: local  IP address 10.0.0.1
  19. Apr  5 19:49:27 localhost pppd[2026]: remote IP address 10.0.0.2
  20.  
  21. # 重启pptpd服务
  22. service pptpd restart
  1. windows上 开始运行cmd
  2. apr -d *
  3. 再拨VPNOK

2 Comments

  1. 还是619.连接不上,博主是否该更新下。

  2. 我试了,还是不对。。郁闷。