The configuration and setup scripts for networking are a place where Slackware distinguishes itself from other distros.
The proper kernel modules to support ths system NICs are loaded by /etc/rc.d/rc.modules
and, if setup has successfully recognized local hardware, /etc/rc.d/rc.netdevice
.
The IP configuration parameters are placed in /etc/rc.d/rc.inet1.conf
, they can be edited manually or configured by the netconfig tool.
As usual, /etc/resolv.conf
contains the IP of the DNS servers and /etc/hosts
the static hostname-IP settings.
The /etc/rc.d/rc.inet1
takes care to activate and configure the network interfaces and default gateway according to the user's configuration, the script /etc/rc.d/rc.inet2
, executed later, mounts eventual NFS and SMB shares, starts the portmapper, starts firewalling (/etc/rc.d/rc.firewall start
), activates IP forwarding (/etc/rc.d/rc.ip_forward start
), starts the Inetd superdaemon (/etc/rc.d/rc.inetd start
, configured by /etc/inetd.conf
with services TCP wrapped according to the limits placed in /etc/hosts.allow
and /etc/hosts.deny
), the OpenSSH daemon (/etc/rc.d/rc.sshd start
), the Bind name server (/etc/rc.d/rc.bind start
), NIS (/etc/rc.d/rc.yp start
) and NFS server (/etc/rc.d/rc.nfs start
).
All these services are started if the relative scripts are executables, to disable one of them, chmod the script to be not executable (rough but effective).
Wireless networking is managed via the /etc/rc.d/rc.wireless
, /etc/rc.d/rc.wireless.conf
and /etc/rc.d/rc.wlan
scripts.
The tool pppsetup cab be used to configure dial up networking, it operated on the files in .
Configuration of networking and security on different Linux distro
OS Guide: SlackWareThe OpenSkills Guide for experienced System Administrators: SlackWare