Manually configure Solaris 10.0 Internet access

Published: 2008-09-08 19:12:34 Author: Anonymous I want to comment
The following four files need to be checked and modified. If the file does not exist, manually create the file: 1. /etc/hosts 2./etc/resolv.conf 3./etc/defaultrouter 4./etc/nsswitch.conf The following is an introduction to the four files: 1) /tec/hosts file, which contains the IP address and host name of the host:

The following four files need to be checked and modified. If the file does not exist, manually create the file: 1. /etc/hosts 2./etc/resolv.conf 3./etc/defaultrouter 4./etc/nsswitch.conf The following is an introduction to the four files: 1) /tec/hosts file, which contains the IP address and host name of the host: # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.1.9 solaris1221 loghost 192.168.1.9 is the corresponding host IP address, solaris1221 corresponding to the host name 2) /etc/resolv.conf, which is used to configure DNS, add the following information: nameserver 192.168.1.1 3) /etc/defaultrouter, which is used to configure router Settings, enter the following: 192.168.1.1 4) /etc/nsswitch.conf, edit the file, and change the line corresponding to hosts as follows: hosts: files dns In this case, the Internet access configuration of the solaris host is complete, and you can access the Internet.

Related article

Latest comments