Temat: VPN PPTP vs Android Nie działa PTY read or GRE write failed (pty,gre)
Witam
Mam postawiony serwer VPN na Openwrt
Serwer działa i da sie spiąć VPNa z Windowsa.
Konfiguruje analogicznie VPNa na Androidzie od wersji 4.4.2 i nie działa błąd jak poniżej. W wcześniejszej wersji Androida VPN się spinał poprawnie.
Co może być nie tak?
Wed Jun 8 21:05:15 2016 daemon.info pptpd[7999]: CTRL: Starting call (launching pppd, opening GRE)
Wed Jun 8 21:05:15 2016 daemon.notice pppd[8000]: pppd 2.4.7 started by root, uid 0
Wed Jun 8 21:05:15 2016 daemon.notice netifd: Interface 'PPTP' is enabled
Wed Jun 8 21:05:15 2016 daemon.notice netifd: Interface 'PPTP' is setting up now
Wed Jun 8 21:05:15 2016 daemon.notice netifd: Interface 'PPTP' is now up
Wed Jun 8 21:05:15 2016 daemon.info pppd[8000]: Using interface ppp1
Wed Jun 8 21:05:15 2016 daemon.notice pppd[8000]: Connect: ppp1 <--> /dev/pts/0
Wed Jun 8 21:05:15 2016 daemon.notice netifd: Network device 'ppp1' link is up
Wed Jun 8 21:05:15 2016 daemon.notice netifd: Interface 'PPTP' has link connectivity
Wed Jun 8 21:05:45 2016 daemon.warn pppd[8000]: LCP: timeout sending Config-Requests
Wed Jun 8 21:05:45 2016 daemon.notice pppd[8000]: Connection terminated.
Wed Jun 8 21:05:45 2016 daemon.notice netifd: Network device 'ppp1' link is down
Wed Jun 8 21:05:45 2016 daemon.notice netifd: Interface 'PPTP' has link connectivity loss
Wed Jun 8 21:05:45 2016 daemon.notice pppd[8000]: Modem hangup
Wed Jun 8 21:05:45 2016 daemon.info pppd[8000]: Exit.
Wed Jun 8 21:05:45 2016 daemon.err pptpd[7999]: GRE: read(fd=6,buffer=41ec5c,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Wed Jun 8 21:05:45 2016 daemon.err pptpd[7999]: CTRL: PTY read or GRE write failed (pty,gre)=(6,8)
Wed Jun 8 21:05:45 2016 daemon.debug pptpd[7999]: CTRL: Reaping child PPP[8000]