≡ Menu

Openvz / CentOS 7 – Error: no device found for connection ‘System venet0’

If you are getting errors like

[[email protected] network-scripts]# ifup venet0
Error: no device found for connection 'System venet0'.
[[email protected] network-scripts]# ifup venet0:0
Error: no device found for connection 'System venet0:0'.

On a centos7 and openvz machine, stop network manager.

[[email protected] network-scripts]# service NetworkManager stop
Redirecting to /bin/systemctl stop NetworkManager.service
[[email protected] network-scripts]# chkconfig NetworkManager off
Note: Forwarding request to 'systemctl disable NetworkManager.service'.
rm '/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service'
rm '/etc/systemd/system/multi-user.target.wants/NetworkManager.service'
rm '/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service'
[[email protected] network-scripts]# /etc/init.d/network restart
Restarting network (via systemctl):
[ OK ]
{ 0 comments… add one }

Leave a Comment

*