Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /home/onlinesu/public_html/kb/wp-content/mu-plugins/sso.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/onlinesu/public_html/kb/wp-content/mu-plugins/sso.php:74) in /home/onlinesu/public_html/kb/wp-includes/feed-rss2.php on line 8
openvz ppp https://kb.onlinesupport4u.in Mon, 23 Nov 2015 09:19:21 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 enable PPP Module to a VPS on OpenVZ https://kb.onlinesupport4u.in/enable-ppp-module-to-a-vps-on-openvz/ Mon, 23 Nov 2015 09:19:21 +0000 http://kb.onlinesupport4u.in/?p=265 To enable PPP on a Openvz VM

First you need to check for modules in main node

# lsmod | grep ppp

[root@hostonline ~]# lsmod | grep ppp
pppoatm 4677 0
atm 48487 1 pppoatm
zlib_deflate 21629 1 ppp_deflate
ppp_mppe 6182 0
ppp_generic 25763 4 pppoatm,ppp_async,ppp_deflate,ppp_mppe
slhc 5813 1 ppp_generic

We see below modules missing in results so we enable it on main node using

# modprobe ppp_async
# modprobe ppp_deflate
(In Below example 110 is VM ID / VPS ID )
  vzctl stop 110
 vzctl set 110 –features ppp:on –save
vzctl start 110
vzctl set 110 –devices c:108:0:rw –save
vzctl exec 110 mknod /dev/ppp c 108 0
vzctl exec 110 chmod 600 /dev/ppp
vzctl enter 110
To check whether PPP is enabled or not:

Vps# /usr/sbin/pppd

You should see gibberish in the standard output like
~�}#�!}!}!} }4}”}&} } } } }%}&)Q�}4}’}”}(}”p})

]]>