PPP support [message #41347] |
Wed, 05 January 2011 19:00 |
tutt
Messages: 19 Registered: April 2007
|
Junior Member |
|
|
Hello,
Can someone direct me to where I can find a vzctl binary that will work on CentOS 64 bit and has the PPP patch already applied?
Otherwise, where can I get the source and patch, and how do I apply the patch during compile?
I thought newer vzctl binaries already had PPP functionaliy and I am able to follow the instructions here:
http://wiki.openvz.org/PPP_in_container
But it does not seem to work, although I get no errors doing any of this:
ppp modules need to be loaded in the HN :
HN # modprobe ppp_async
HN # modprobe ppp_deflate
HN # lsmod | grep ppp
ppp_deflate 9793 2
zlib_deflate 21977 1 ppp_deflate
ppp_async 15169 1
crc_ccitt 6337 1 ppp_async
ppp_generic 30165 6 ppp_deflate,ppp_async
slhc 10561 1 ppp_generic
set "ppp" feature for stoppped VE:
HN # vzctl set [VEnumber] --features ppp:on --save
start VE :
HN # vzctl start [VEnumber]
Prepare /dev/ppp within VE:
HN # vzctl set [VEnumber] --devices c:108:0:rw --save
HN # vzctl exec [VEnumber] mknod /dev/ppp c 108 0
HN # vzctl exec [VEnumber] chmod 600 /dev/ppp
But pppd still will not work.. Please post step by step what I can do to ensure it will work. Thank you!
|
|
|
|
|