PPP module in a VPS/Container

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


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.

This entry was posted on Tuesday, December 8th, 2009 and is filed under VPS Management. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

2 Responses to “PPP module in a VPS/Container”

  1. Killer Bee

    That’s awesome! Thanks for posting! I need it for my vps system!


  1. LinuxHostingSupport.net » Blog Archive » PPP module in a VPS/Container Leading just to Me