SUSE Linux Restart / Stop / Start Network Service

by on June 23, 2010 · 2 comments· LAST UPDATED November 8, 2010

in

How do I start / stop or restart networking service under Suse Linux without rebooting the server?

OpenSUSE and Suse Enterprise Linux provides /etc/init.d/network script, which can be used as follows to configure the network interfaces, set up routing and start / stop / restart network interface. You must login as root user to run commands.

Task: Start Network Service

# /etc/init.d/network start
# /etc/init.d/network start eth0

Task: Stop Network Service

# /etc/init.d/network stop
# /etc/init.d/network stop eth0

Task: Restart Network Service

# /etc/init.d/network restart
# /etc/init.d/network restart eth0

Sample outputs:

Shutting down network interfaces:
    eth0      device: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
    eth0      configuration: eth-id-00:30:48:98:9c:bc                 done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    eth0      device: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
    eth0      configuration: eth-id-00:30:48:98:9c:bc
    eth0      IP address: 10.24.116.2/26
Checking for network time protocol daemon (NTPD):                     doneed

If you need to make any changes to IP address or routing table use yast tool, enter:
# yast
Select Network Devices > Network Card

Suse Linux Yast2 Network Device Manager

Fig.01: Suse Linux Yast2 Network Device TCP/IP Manager

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 Steven June 24, 2010 at 7:06 pm

Hej,

Instead of using the full path, you can also use eg. rcnetwork restart as root (or sudo rcnetwork restart) at whatever location you are.
The rc-prefix can be used for any service in the /etc/init.d directory…

Steven

Reply

2 bharat May 24, 2012 at 10:26 am

what about start the services for permanent (while reboot) like chkconfig in Redhat linux.

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: