If we use dhcp (dynamic host configuration protocol) in our slackware then the machine automatically getting the ip from the server and use it.
The program that run this function is dhcpcd.
But sometime when we decide to use static ip and configure it in /etc/rc.d/rc.inet1.conf
the static setting won’t work. It is because the dhcpcd still running in memory.
So we need to shut it down. here’s how.
root@user:#/sbin/dhcpcd -x eth0
Now try to restart rc.inet1.conf again
The machine should use the static ip now.