N/W problem (/etc/init.d/networking restart is deprecated)

September 27, 2012 at 21:13:08
Specs: Linux x86_64
whenever i restart the network.
i used to get this notification.how to resolve this.

"Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces"
i have tried this command .again i getting this prob
# ifdown eth0 && ifup eth0
please help me.

See More: N/W problem (/etc/init.d/networking restart is deprecated)

October 1, 2012 at 08:27:53
Maybe you have to use systemctl instead.

Looks like:
systemctl restart network.service

Report •

October 2, 2012 at 11:12:28
You can use the service command on both Debian and RedHat based distros.


Report •
Related Solutions

Ask Question