Hi,
I am trying to get PPPoE running on multiple containers. I have it running on my first container without any issues. Getting it up and running on the second one gives issues.
My initial setup for container 1:
Loaded the following modules on the host server and added them to /etc/modules.
modprobe tun
modprobe ppp-compress-18
modprobe ppp_mppe
modprobe ppp_deflate
modprobe ppp_async
modprobe pppoatm
modprobe ppp_generic
I added the following statement to the container config file under /var/lib/lxc/ct1/config
lxc.cgroup.devices.allow = c 108:0 rwm
This allows the use of /dev/ppp
Via a startup script I create the /dev/ppp device as it isn't auto created at boot.
mknod /dev/ppp c 108 0
All of this works fine, now adding the same allow statement to a second container config file doesn't work well as this lxc.cgroup.devices.allow line disappears after every reboot. I have created a 3rd container to check and there I have the same issue. Shutting down the first container also doens't help to get it running on the 2nd or 3rd container.
This results in following log under /var/log/pppd.log:
Couldn't open the /dev/ppp device: Operation not permitted
pppd: Sorry - this system lacks PPP kernel support
I am running Proxmox VE 5.3-11
Any help or insight on why this happens is highly appreciated!
Thanks,
Shane
I am trying to get PPPoE running on multiple containers. I have it running on my first container without any issues. Getting it up and running on the second one gives issues.
My initial setup for container 1:
Loaded the following modules on the host server and added them to /etc/modules.
modprobe tun
modprobe ppp-compress-18
modprobe ppp_mppe
modprobe ppp_deflate
modprobe ppp_async
modprobe pppoatm
modprobe ppp_generic
I added the following statement to the container config file under /var/lib/lxc/ct1/config
lxc.cgroup.devices.allow = c 108:0 rwm
This allows the use of /dev/ppp
Via a startup script I create the /dev/ppp device as it isn't auto created at boot.
mknod /dev/ppp c 108 0
All of this works fine, now adding the same allow statement to a second container config file doesn't work well as this lxc.cgroup.devices.allow line disappears after every reboot. I have created a 3rd container to check and there I have the same issue. Shutting down the first container also doens't help to get it running on the 2nd or 3rd container.
This results in following log under /var/log/pppd.log:
Couldn't open the /dev/ppp device: Operation not permitted
pppd: Sorry - this system lacks PPP kernel support
I am running Proxmox VE 5.3-11
Any help or insight on why this happens is highly appreciated!
Thanks,
Shane
Last edited: