RedHat Linux command to reload or restart network (login as root user):
# service network restart
OR
# /etc/init.d/network restart
To start Linux network service:
# service network start
To stop Linux network service:
# service network stop
Debian Linux command to reload or restart network:
# /etc/init.d/networking restart
To start Linux network service:
# /etc/init.d/networking start
To stop Linux network service:
# /etc/init.d/networking stop
Ubuntu Linux user use sudo command with above Debian Linux command:
# sudo /etc/init.d/networking restart
To start Linux network service:
# sudo /etc/init.d/networking start
To stop Linux network service:
# sudo /etc/init.d/networking stop
{ 15 comments… read them below or add one }
service network start ======>to start Network under Redhat Linux
service network stop ======>to stop Network under Redhat Linux
service network restart =====> to restart Network under Redhat Linux
I have debian, and I can’t restart any service with the command
# /etc/init.d/networking restart,
please help m ewith this, I have heard about a command to do it , something like invoke-rc.d or insserv
Thanks in advance.
The command is:
/etc/init.d/networking restart
No need to use invoke-rc.d here. What error you are getting?
I’m using Knoppix 5 and I can’t restart any service with the command
# /etc/init.d/networking restart
i see the error like this:
bash:networking :command not found
go into /etc/init.d and then from there run: ./networking restart
Doan,
I can use the command /etc/init.d/networking on Knoppix version 4.0
Use following command to restart:
# /etc/init.d/network restart
OR use GUI tool:
Click the Knoppix menu in the bottom left corner > Point to Network/Internet >
Click Network Card Configuration > You can start/stop or change network settings.
OR use network-setup GUI tool command:
# network-setup
holy crap, i did service network restart and now my box is inaccessible
Thanks!
Oddly enough you can’t restart networking from the /root directory or the /etc/init.d directory..
I found that if I cd to /home THEN i run /etc/init.d/networking restart (in debian) otherwise I just get “command not found”
Thank you!
@Jason: Try “/./etc/init.d/networking restart”. The first / says start from the root…
@Paranoid: lol! NEVER do this command unless you can actually touch the server with your bare hands!
the redhat example works fine for me!
As your page helped me. Would like to thank you…
I want to laurn linux redhat how to laurn plz tell me
With my backtrack 4 pre-final, I can resume only wired (eth0) network but wireless doesn’t work.
Which is the command for wireless?
Thank you
I’m with Paranoid. Several times my network has gone down due to power glitch or some other reason. I try the suggested:
service network restart
which does “work”. By that I mean that it shuts down eth0 and loopback and restarts loopback. Every time that this happens, I must reboot, then eth0 works again. Please tell me how to restart without rebooting. I run FC10.
Thanks!!!