{"id":408,"date":"2009-12-08T06:53:18","date_gmt":"2009-12-08T10:53:18","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=408"},"modified":"2012-03-19T09:25:33","modified_gmt":"2012-03-19T13:25:33","slug":"ppp-module-in-a-vpscontainer","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/ppp-module-in-a-vpscontainer","title":{"rendered":"PPP module in a VPS\/Container"},"content":{"rendered":"<blockquote><p><span style=\"color: #0000ff;\"><strong>How to enable PPP feature in a VPS\/Container OR steps if PPP module not working on a VPS?<\/strong><\/span><\/p><\/blockquote>\n<p>In order to <strong>enable PPP feature for a VPS\/Container<\/strong>, the Hardware node should have the<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong>ppp_async\r\nppp_deflate<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>modules loaded in the kernel. To <strong>load the modules on the hardware node<\/strong>, execute<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># modprobe ppp_async\r\n# modprobe ppp_deflate<\/strong><\/span><\/pre>\n<\/blockquote>\n<p><strong>lsmod will list the modules those are active.<\/strong><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># lsmod | grep ppp\r\nppp_deflate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 39168\u00a0 0\r\nzlib_deflate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 52760\u00a0 1 ppp_deflate\r\nppp_async\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45184\u00a0 0\r\ncrc_ccitt\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 6337\u00a0 1 ppp_async\r\nppp_generic\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 20165\u00a0 6 ppp_deflate,ppp_async\r\nslhc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 30561\u00a0 1 ppp_generic<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>You now need to enable PPP feature for the VPS:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># vzctl set VEID --features ppp:on --save<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>Now, set ppp within the VPS:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># vzctl set VEID --devices c:108:0:rw --save\r\n# vzctl exec VEID mknod \/dev\/ppp c 108 0\r\n# vzctl exec VEID chmod 600 \/dev\/ppp<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>Now, restart the VPS<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># vzctl restart VEID<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>Login to the VPS:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># vzctl enter VEID<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>See if the PPP module works in the VPS:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># \/usr\/sbin\/pppd<\/strong><\/span><\/pre>\n<\/blockquote>\n<p>You should now receive a message asking for the password or some garbage characters. If you see something else, then something is wrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to enable PPP feature in a VPS\/Container OR steps if PPP module not working on a VPS?<br \/>\nIn order to enable PPP feature for a VPS\/Container, the Hardware node should have the<\/p>\n<p>ppp_async<br \/>\nppp_deflate<\/p>\n<p>modules loaded in the kernel. To load the modules on the hardware node, execute<\/p>\n<p># modprobe ppp_async<br \/>\n# modprobe ppp_deflate<\/p>\n<p>lsmod will list the modules those are active.<\/p>\n<p># lsmod | grep ppp<br \/>\nppp_deflate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 39168\u00a0 0<br \/>\nzlib_deflate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 52760\u00a0 1 ppp_deflate<br \/>\nppp_async\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45184\u00a0 0<br \/>\ncrc_ccitt\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 6337\u00a0 1 ppp_async<br \/>\nppp_generic\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 20165\u00a0 6 ppp_deflate,ppp_async<br \/>\nslhc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 30561\u00a0 1 ppp_generic<\/p>\n<p>You now need to enable PPP feature for the VPS:<\/p>\n<p># vzctl set VEID [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[536,535,537,540,633,539,538,541,542],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/408"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":412,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/408\/revisions\/412"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}