How to enable PPP feature in a VPS/Container OR steps if PPP module not working on a VPS?
In order to enable PPP feature for a VPS/Container, the Hardware node should have the
ppp_async
ppp_deflate
modules loaded in the kernel. To load the modules on the hardware node, execute
# modprobe ppp_async
# modprobe ppp_deflate
lsmod will list the modules those are active.
# lsmod | grep ppp
ppp_deflate 39168 0
zlib_deflate 52760 1 ppp_deflate
ppp_async 45184 0
crc_ccitt 6337 1 ppp_async
ppp_generic 20165 6 ppp_deflate,ppp_async
slhc 30561 1 ppp_generic
You now need to enable PPP feature for the VPS:
# vzctl set VEID --features ppp:on --save
Now, set ppp within the VPS:
# vzctl set VEID --devices c:108:0:rw --save
# vzctl exec VEID mknod /dev/ppp c 108 0
# vzctl exec VEID chmod 600 /dev/ppp
Now, restart the VPS
# vzctl restart VEID
Login to the VPS:
# vzctl enter VEID
See if the PPP module works in the VPS:
# /usr/sbin/pppd
You should now receive a message asking for the password or some garbage characters. If you see something else, then something is wrong.
Tags: enable PPP module in a VPS, How to enable PPP feature in a VPS/Container?, install PPP module on a VPS, peer-to-peer module on a VPS, PPP module not working on a VPS, PPP module on a openvz server, PPP module on a virtuozzo server, virtuozzo node and PPP module, what is a PPP module?

December 8th, 2009 at 10:30 am
[...] here to see the original: LinuxHostingSupport.net » Blog Archive » PPP module in a VPS/Container By admin | category: linux hosting | tags: grep-ppp, modprobe-ppp, slhc-30561 | Cheap [...]
December 28th, 2009 at 1:34 am
That’s awesome! Thanks for posting! I need it for my vps system!