miaohuibin 发表于 2007-08-16 21:33

solaris10 艰难安装过程

第一次安装发现不支持集成网卡 -_-!
买了一张采用因特尔芯片的网卡装上 ^^
安装时选择了dhcp功能,装好了上不了网 -_-!
不选择dhcp功能,选了dns功能,装好了上不了网 -_-!
不选择dhcp功能,不选dns功能,装好后不能上网 -_-!
上网找资料后,修改/etc/nsswitch.conf文件并创建/etc/resolv.conf文件 ^^
/etc/nsswitch.conf
#
# Copyright 2006 Sun Microsystems, Inc.All rights reserved.
# Use is subject to license terms.
#
# ident    "@(#)nsswitch.files    1.14    06/05/03 SMI"
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd:   files
group:      files
hosts:      files dns
ipnodes:    files
networks:   files dns
protocols:files
rpc:      files
ethers:   files
netmasks:   files
bootparams: files
publickey:files
# At present there isn't a 'files' backend for netgroup;the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:files
aliases:    files
services:   files
printers:    user files
auth_attr:files
prof_attr:files
project:    files
tnrhtp:   files
tnrhdb:   files
文件中的dns为新加内容
/etc/resolv.conf文件
nameserver 192.168.1.1
重起后可以上网
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13269/showart_361558.html
页: [1]
查看完整版本: solaris10 艰难安装过程