≡ Menu

Slackware Linux Restart / Start / Stop Networking Service Command

How do I restart or start or stop networking service on Slackware Linux using command line option?

Under Slackware Linux you can use the /etc/rc.d/inet1 script to start, stop and restart networking service. It can start / restart / stop selected interface too. You must be logged in as the root user to restart networking.

Syntax

The basic syntax is as follows:
/etc/rc.d/rc.inet1 start|stop|restart

OR

/etc/rc.d/rc.inet1 INTERFACE_start|INTERFACE_stop|INTERFACE_restat

Restart network on Slackware Linux

Type the following command to restart Slackware networking:
# /etc/rc.d/rc.inet1 restart
You can take down (stop), start, or restart particular interface such as eth0 as follows:
# /etc/rc.d/rc.inet1 eth0_restart

Stop network on Slackware Linux

Type the following command to stop Slackware networking service:
# /etc/rc.d/rc.inet1 stop
OR
# /etc/rc.d/rc.inet1 eth0_stop

Star network on Slackware Linux

Type the following command to start Slackware networking service:
# /etc/rc.d/rc.inet1 start
OR
# /etc/rc.d/rc.inet1 eth0_start

Share this tutorial on:

{ 1 comment… add one }
  • TB January 3, 2014, 8:28 pm

    Thanks it solved my problem :)

Leave a Comment


   Tagged with: , , , , , ,