Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

As far as I know karmic uses upstart to control some of the services. Is there any way to restart the networking service without rebooting the system?

The problem is that when I try to do it in any way I know I fail.

sudo service networking restart reports:

restart: Unknown instance:

sudo initctl restart networking reports:

initctl: Unknown instance:

sudo invoke-rc.d networking restart reports:

Ignoring unknown interface eth0=eth0

All I need is just to launch a script which was recenltly added to /etc/network/if-pre-up.d.

share|improve this question
add comment

1 Answer 1

You may want a different jobspec. Try one of these:

sudo initctl restart network-manager

sudo initctl restart network-interface INTERFACE=eth0
share|improve this answer
    
Thanks for the second recipe. But alas it doesn't run any of the scripts from /etc/network/if-pre-up.d/ –  igorp1024 Feb 2 '10 at 14:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.