{"id":41,"date":"2004-11-28T03:07:17","date_gmt":"2004-11-28T03:07:17","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/archives\/42-guid.html"},"modified":"2009-12-24T23:59:12","modified_gmt":"2009-12-24T18:29:12","slug":"pptp-vpn-server-problems","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2004\/11\/pptp-vpn-server-problems\/","title":{"rendered":"PPTP VPN Server problems"},"content":{"rendered":"<p>I was trying to get ppp based vpn working on one of my servers and it wasn&#8217;t working. <\/p>\n<p>I was getting the following error message:<\/p>\n<p><i>pppd[5019]: Failed to open \/dev\/pts\/2: No such file or directory<br \/>\npptpd[5575]: GRE: read(fd=4,buffer=804de20,len=8196) from PTY failed: status = -1 error = Input\/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs<\/i><\/p>\n<p>After spending a couple fo hours I finally fixed the problem. The steps I followed were as below:<\/p>\n<ul>\n<li> Recompiled the kernel with ppp support (The first time I forgot to add this) and GRE support\n<\/li>\n<li> Installed the latest stable version of PoPToP (1.1.4-b4) and PPPd (2.4.3)\n<ul>\n<li> When Installing PoPToP make sure that you don&#8217;t configure ppptp to give out IP addresses. This causes dhcpd to fail when attempting to give out IP&#8217;s<\/li>\n<\/ul>\n<\/li>\n<li> Re-started the services\n<\/li>\n<li> Grin like an Idiot when it actually worked.\n<\/li>\n<\/ul>\n<p>Hope this helps someone.<\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to get ppp based vpn working on one of my servers and it wasn&#8217;t working. I was getting the following error message: pppd[5019]: Failed to open \/dev\/pts\/2: No such file or directory pptpd[5575]: GRE: read(fd=4,buffer=804de20,len=8196) from PTY failed: status = -1 error = Input\/output error, usually caused by unexpected termination of pppd, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[9,24],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-computer-hintstips","category-knowledgebase"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":1,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":1065,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions\/1065"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}