Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
HI,
still have prob with my VPN when i type lsmod : ppp_mppe loaded ok ip_gre ok when i type : grep GRE /boot/config-2.4.22-1.2174.nptl CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_INGRESS=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y here no prob i think, Here is my prob when i try to established connection from a windows 2k client PC : ********************************** Mar 10 14:18:40 localhost pptpd[5474]: CTRL: Client 192.168.0.3 control connection started Mar 10 14:18:40 localhost pptpd[5474]: CTRL: Starting call (launching pppd, opening GRE) Mar 10 14:18:40 localhost pppd[5475]: pppd 2.4.1 started by root, uid 0 Mar 10 14:18:40 localhost pppd[5475]: Using interface ppp0 Mar 10 14:18:40 localhost pppd[5475]: Connect: ppp0 <--> /dev/pts/3 Mar 10 14:18:40 localhost pptpd[5474]: GRE: Discarding duplicate packet Mar 10 14:18:42 localhost pptpd[5474]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Mar 10 14:18:42 localhost pppd[5475]: MSCHAP-v2 peer authentication succeeded for user1 Mar 10 14:18:42 localhost pppd[5475]: Cannot determine ethernet address for proxy ARP Mar 10 14:18:42 localhost pppd[5475]: local IP address 10.10.10.10 Mar 10 14:18:42 localhost pppd[5475]: remote IP address 10.10.10.110 Mar 10 14:18:49 localhost pppd[5475]: LCP terminated by peer (z^O&y^@<M-Mt^@^@^BM-f) Mar 10 14:18:52 localhost pppd[5475]: Connection terminated. Mar 10 14:18:52 localhost pppd[5475]: Connect time 0.2 minutes. Mar 10 14:18:52 localhost pppd[5475]: Sent 128 bytes, received 1472 bytes. Mar 10 14:18:52 localhost pppd[5475]: Exit. Mar 10 14:18:52 localhost pptpd[5474]: GRE: read(fd=5,buffer=804d980,len=8196) from PTY failed: status = -1 error = Input/output error Mar 10 14:18:52 localhost pptpd[5474]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6) Mar 10 14:18:52 localhost pptpd[5474]: CTRL: Client 192.168.0.3 control connection finished ********************************** Authentification with MSCHAP-v2 is ok !!!!!!!!!!!! the prob is : GRE: read(fd=5,buffer=804d980,len=8196) from PTY failed: status = -1 error = Input/output error LCP termined connection etc... What the fuck ? ip_gre loaded no firewall prob because i did on all tables iptables -F REALLY NEED HELP !!!!!!!! Regards Dezeque |
i have same trouble. my os is redhat 8.0
i have installed the following rpms: kernel-2.4.20-ipsec200_1.3.2_mppe13.8.i686.rpm kernel-doc-2.4.20-ipsec200_1.3.2_mppe13.8.i386.rpm kernel-source-2.4.20-ipsec200_1.3.2_mppe13.8.i386.rpm libsmbpw-1.3-rh8_1.i386.rpm ppp-2.4.1-rh8_mppe7.i386.rpm pptpd-1.1.3-rh8_20030409_1.i386.rpm /var/log/messages: May 1 14:59:13 rh8-teknik pptpd[1761]: CTRL: Client 192.168.16.48 control connection started May 1 14:59:13 rh8-teknik pptpd[1761]: CTRL: Starting call (launching pppd, opening GRE) May 1 14:59:13 rh8-teknik pppd[1762]: pppd 2.4.1 started by root, uid 0 May 1 14:59:13 rh8-teknik pppd[1762]: Using interface ppp0 May 1 14:59:13 rh8-teknik pppd[1762]: Connect: ppp0 <--> /dev/pts/1 May 1 14:59:13 rh8-teknik /etc/hotplug/net.agent: assuming ppp0 is already up May 1 14:59:43 rh8-teknik pppd[1762]: LCP: timeout sending Config-Requests May 1 14:59:43 rh8-teknik pppd[1762]: Connection terminated. May 1 14:59:43 rh8-teknik pppd[1762]: Exit. May 1 14:59:43 rh8-teknik pptpd[1761]: GRE: read(fd=5,buffer=804d8e0,len=8196) from PTY failed: status = -1 error = Input/output error May 1 14:59:43 rh8-teknik pptpd[1761]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6) May 1 14:59:43 rh8-teknik pptpd[1761]: CTRL: Client 192.168.16.48 control connection finished May 1 14:59:43 rh8-teknik /etc/hotplug/net.agent: NET unregister event not supported actually i can connect without mschap v2 . when i configure 2k client to use chap and without encryption it can connect. how is your /etc/pptpd.conf and /etc/ppp/options.pptpd ? if u solve the trouble let me know please. |
i solve my trouble. check the config files.
|
you have to install stuff in this order :
pppd kernel_mppe the vpn serveur. and use the pppd version 2.4.2 and not the 2.4.1 !!! are you sure that you use the right kernel_mppe ? why do u use IPSec `? pptp does not use it !!! |
i have teh same problem with kernel 2.4.25 ppp 2.4.2 an linux-2.4.25-mppe-mppc-0.99.patch.gz , what can I do?
|
pptpd is working on my redhat 8.0. i have downloaded rpm files from http://www.spenneberg.com/ then installed.
edited conf files. after reboot i had a vpn server :) |
solved
For me it's ok !!! just check your config file, delete many lines then pptpd will take default value et work !!!
dont' miss to use good version and install them in the good order, for me i'd found a rpm for the kernel_mppe !! check the right kernel version !! and dl the good one !! Linux Rocks !!! |
Quote:
Dave B. |
dezeque, dude, try add to /etc/ppp/options following lines:
mru 900 mtu 900 or something like this, that worked for me |
my problem has been solved with this solution
thanks |
All times are GMT -5. The time now is 05:53 PM. |