R
Cannot open TUN/TAP dev /dev/as0t0: No such file or directory
FATAL: Could not load /lib/modules/2.6.24-2-pve/modules.dep: No such file or directory
modprobe tun
vzctl set VEID --devices c:10:200:rw --save
vzctl set VEID --capability net_admin:on --save
vzctl exec VEID mknod /dev/as0t0 c 10 200
vzctl exec VEID chmod 600 /dev/as0t0[FONT=Verdana]
After this, you can restart the container[/FONT]
['SIOCSIFADDR: No such device', 'as0t0: ERROR while getting interface flags
ls -la /dev/as0t0
crw------- 1 root root 10, 200 Jun 9 01:31 /dev/as0t0
rm -rf /dev/as0t0
[FONT=Verdana]vzctl exec VEID mkdir -p /dev/net[FONT=verdana]
[/FONT]vzctl exec VEID mknod /dev/net/tun c 10 200[/FONT]
[FONT=Verdana]vzctl exec VEID chmod 600 /dev/net/tun
We use essential cookies to make this site work, and optional cookies to enhance your experience.