Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
NickTheGreek

How to enable PPP in OpenVZ VPS

Recommended Posts

ppp.png

How to enable PPP in OpenVZ VPS

PPPD is the Point-to-Point Protocol daemon which is used to manage network connections between two servers. The role of pppd is managing PPP session establishment and session termination. This post will help you to enable PPP in OpenVZ VPS.

The Hardware node should have the following kernel modules in order to enable PPP in OpenVZ VPS

ppp_async
ppp_deflate

Check the mentioned modules are already loaded on the server using the following command.

 
lsmod | grep ppp

If the above command shows a blank output, execute:

 
modprobe ppp_async
modprobe ppp_deflate

run the lsmod command again to list the modules if they are active.

 
# lsmod | grep ppp
ppp_deflate    4176 0 
zlib_deflate  21629 1 ppp_deflate
ppp_async      7866 0 
ppp_generic   25763 2 ppp_deflate,ppp_async
slhc           5813 1 ppp_generic
crc_ccitt      1725 1 ppp_async

You now need to enable PPP module in a VPS:

 
vzctl stop VEID
vzctl set VEID --features ppp:on --save

Now, set ppp within the VPS:

 
vzctl set VEID --devices c:108:0:rw --save

Start the VPS

 
vzctl start VEID
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:

 
[root@amiczon ~]# /usr/sbin/pppd
~ÿ}#À!}!}!} }4}"}&} } } } }%}& ù}9?}'}"}(}"–o~~ÿ}#À!}!}!} }4}"}&} } } } }%}& ù}9?}'}"}(}"–o~~ÿ}#À!}!}!} }4}"}&} } } } }%}& ù}9?}'}"}(}"–o~

You should now receive a message asking for the password or some garbage characters like above.

That’s it!

https://grepitout.com/how-to-enable-ppp-in-openvz-vps/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×