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.
Tutorial details
DifficultyEasy (rss)
Root privilegesYes



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


/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
# /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
# /etc/rc.d/rc.inet1 eth0_start

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

1 comment… add one
  • TB Jan 3, 2014 @ 20:28

    Thanks it solved my problem :)

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.