| How do is setup network under Slackware Linux? |
|
|
In Slackware Linux network is configured by editing the following files: /etc/rc.d/rc.inet1.conf - config file for networking, here you setup IP, netmask, gateway /etc/resolv.conf - here you setup your DNSs from your ISP /etc/hosts - static host - ip settings # -------------- /etc/rc.d/inet1.conf sample ----------------- # Config information for eth0: IPADDR[0]="80.X.Y.Z" NETMASK[0]="255.255.255.224" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="192.168.1.1" NETMASK[1]="255.255.255.0" USE_DHCP[1]="" DHCP_HOSTNAME[1]="" # Default gateway IP address: GATEWAY="80.A.B.C" # ----------------- eof --------------------------------------------- |
| < Prev | Next > |
|---|
