Re: Restarting network
On Thu 07 Jul 2011 at 15:42:14 +0100, Tony van der Hoff wrote:
> Having made some config changes to my network, I did:
>
> root@tony-lx:/home/tony# /etc/init.d/networking restart
>
> That results in:
>
> Running /etc/init.d/networking restart is deprecated because it may not
> enable again some interfaces ... (warning).
> Reconfiguring network interfaces...
>
> OK, so it's deprecated. What should I use instead??
'/etc/init.d/networking restart' will only act on interfaces which are
marked 'auto' in /etc/network/interfaces. The same applies to
stop/start.
All your interfaces are marked 'auto'? Go ahead and use the networking
script.
Reply to: