"The program that sets up your networking scripts under
Slackware is called netconfig. In order to use this program, you
must be logged in under the user root. The command that allows you
to switch to a superuser (a common name for the root user) is
called su. If you're in console, type su and hit enter. If you're
in X, open up your favorite terminal emulator first. The su program
will now ask for a password. Enter the root password, hit enter,
and you should now see a # instead of a $ at the prompt. Now that
we're root, we can get to work, so type in netconfig and hit
"First, netconfig will ask you for a hostname and a domain
name. Your hostname is the name by which your network sees your
individual computer, and the domain name is the name you want to
give your network. Anything will do, and I encourage you to have
fun with it."
"After setting up a hostname and domain name, you will be asked
whether you want to configure a loopback only system, a DHCP
system, or a static IP. You want to choose only static IP if you
have been assigned one by your systems administrator or internet
service provider or if you are setting up a network yourself. ...
If your network uses DHCP to assign computers dynamic IPs, you will
want to choose that option."