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.
The basic syntax is as follows:
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