/etc/init.d/networking restart not working

Hey, I have recently moved to “openSUSE 13.2 x86_64, linux 3.16.6-2-desktop” from Debian Linux. When I want to make changes to the DNS address, I edit the

/etc/resolv.conf
and to start the netowrking services, I try to execute the command

/etc/init.d/netwroking restart

to which it gives me the output:

bash: /etc/init.d/networking: No such file or directory

How can I restart the networking services? What am I missing?

Thanks

Use the systemd commands…

systemctl status network
systemctl restart network

There is no need to restart networking after you changed /etc/resolv/conf. It works immedeatly.

And while you may do this by manual editing of course, we have YaST. YaST > Network Devices > Network Settings and then the Hostname/DNS tab will let you configure your DNS servers. YaST will do what is needed, in this case would have restarted the network if needed (which is not the case).

The commands are doing the job just fine. Thanks for your help!

Thanks for the alternate way using GUI. :slight_smile: