PPP module in a VPS/Container

Posted by admin     Category: VPS Management

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: , , , , , , , ,

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

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

    [...] 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 [...]

  2. Killer Bee Says:

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

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image