[SOLVED] How to restart or disable/enable networking?

Started by DrDavid, January 20, 2016, 12:23:37 AM

Previous topic - Next topic

DrDavid

Hi, new to backbox, have searched forum, docs, and online, but please forgive if answered already.
Is there a way to restart, disable, enable networking without rebooting?

I am running backbox 4.4 that I have installed as virtual machine in oracle virtualbox.
Apparently this command does not restart the networking:

/etc/init.d/networking restart

and it does not recognize as a command:

systemctl

I thought one of those would work since backbox is based on ubuntu ...

Any pointers greatly appreciated, and all the best for a great 2016!

ZEROF

#1
You are new in Linux from what i can see:

service network-manager restart

This, /etc/init.d/networking restart is no longer supported as of 14.04

You can use as well sudo ifdown eth0 or sudo ifup eth0 as well.

Have fun.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*