x**g 发帖数: 40 | 1 Hi, daxia,
I am sorry that I cannot type chinese since idon't have
chinese input system. sorry about that first.
Now I have just installed sun solaris 8 into the machine for
my boss. before i installed the software, i was asked to
configure the networking services. But i didnot configure
it. so at that time, i just skip it and continue installing
the software related with solaris.
after rebooting system, it asks me again to config the
networking. Suppose i should configure it as DHCP, but i
didn | L***e 发帖数: 42 | 2 You need to do the following:
/etc/defaultrouter
Enter your router IP, this may need reboot.
/etc/nisswitch.conf
in line: hosts file add "dns", so it would look like:
hosts file dns
This would enable you look for dns name servers.
/etc/hosts
Enter your domain name server IP's.
【在 x**g 的大作中提到】 : Hi, daxia, : I am sorry that I cannot type chinese since idon't have : chinese input system. sorry about that first. : Now I have just installed sun solaris 8 into the machine for : my boss. before i installed the software, i was asked to : configure the networking services. But i didnot configure : it. so at that time, i just skip it and continue installing : the software related with solaris. : after rebooting system, it asks me again to config the : networking. Suppose i should configure it as DHCP, but i
| m****m 发帖数: 165 | 3 /etc/resolv.conf will take care of DNS. You need to put
your NIS server into /etc/hosts instead of DNS server (if
you want to use NIS).
【在 L***e 的大作中提到】 : You need to do the following: : /etc/defaultrouter : Enter your router IP, this may need reboot. : /etc/nisswitch.conf : in line: hosts file add "dns", so it would look like: : hosts file dns : This would enable you look for dns name servers. : /etc/hosts : Enter your domain name server IP's.
| x**g 发帖数: 40 | 4 really thanks Layne and Melonm. But I still have some
questions:
1. are there any differences between NIS and DNS. you know,
my boss wants the machine to be a server. now i do have
assisgned IP and domain name. but i don't know whether i
should choose NIS or DNS. is it absolutely in DHCP?
2. i didnot configure this in the process of installation,
so there are any difference between now and that time. in
the process of installation, there are GUI interface and
also test it for me.
thanks Daxia ag
【在 m****m 的大作中提到】 : /etc/resolv.conf will take care of DNS. You need to put : your NIS server into /etc/hosts instead of DNS server (if : you want to use NIS).
| m****m 发帖数: 165 | 5 There is NO difference whatsoever for configuring networking
during or after installation. Go ahead and you will be
fine.
DNS only takes care of IP<-->Name mapping but NIS has more
maps specificly for Unix environment. For your case, I
guess DNS is a good start.
For Solaris as DHCP client, you will need to modify some
startup thing to get name resolved correctly. If you need
it to be server, I think a fixed IP is a good choice instead
DHCP.
【在 x**g 的大作中提到】 : really thanks Layne and Melonm. But I still have some : questions: : 1. are there any differences between NIS and DNS. you know, : my boss wants the machine to be a server. now i do have : assisgned IP and domain name. but i don't know whether i : should choose NIS or DNS. is it absolutely in DHCP? : 2. i didnot configure this in the process of installation, : so there are any difference between now and that time. in : the process of installation, there are GUI interface and : also test it for me.
| x**g 发帖数: 40 | 6 thanks melonm first. now i still cannot understand: if i
want to be a server, i will have a fixed IP. now i do have
fixed IP address. so it means when i choose whether i want
to use DHCP or not. i would better not choose DHCP, is it
right? thanks very much. i had thought that i should choose
DHCP. really lost here. thanks!
【在 m****m 的大作中提到】 : There is NO difference whatsoever for configuring networking : during or after installation. Go ahead and you will be : fine. : DNS only takes care of IP<-->Name mapping but NIS has more : maps specificly for Unix environment. For your case, I : guess DNS is a good start. : For Solaris as DHCP client, you will need to modify some : startup thing to get name resolved correctly. If you need : it to be server, I think a fixed IP is a good choice instead : DHCP.
| m****m 发帖数: 165 | 7 No, you don't need DHCP. But you should have your fixed IP
configured in your DNS server, which you put in
/etc/resolv.conf.
【在 x**g 的大作中提到】 : thanks melonm first. now i still cannot understand: if i : want to be a server, i will have a fixed IP. now i do have : fixed IP address. so it means when i choose whether i want : to use DHCP or not. i would better not choose DHCP, is it : right? thanks very much. i had thought that i should choose : DHCP. really lost here. thanks!
| x**g 发帖数: 40 | 8 i cannot connect to networking, is it the problem because
idont setup /etc/resolv.conf . otherwise, what will
determine whether i can connect to networking. thanks melonm
again.
【在 m****m 的大作中提到】 : No, you don't need DHCP. But you should have your fixed IP : configured in your DNS server, which you put in : /etc/resolv.conf.
| m*****e 发帖数: 4193 | 9 type ifconfig -a and post here. To test network, ping a machine in your
local network by ip.
【在 x**g 的大作中提到】 : i cannot connect to networking, is it the problem because : idont setup /etc/resolv.conf . otherwise, what will : determine whether i can connect to networking. thanks melonm : again.
| m****m 发帖数: 165 | 10 Run sys-unconfig and answer yes to reconfigure your
networking.
If you are running Solaris 2.6, type 'uname -v' to see the
current kernel version, make sure the last 2 digits over 09.
Otherwise, you will not be able to boot up after
sys-unconfig. You need to download the latest kernel patch
for upgrading kernel (which you should do anyway).
After rebooting, when it asks your to join the network,
answer yes. For network services, answer 'none. Then just
following the instruction.
After reboot
【在 x**g 的大作中提到】 : i cannot connect to networking, is it the problem because : idont setup /etc/resolv.conf . otherwise, what will : determine whether i can connect to networking. thanks melonm : again.
| x**g 发帖数: 40 | 11 thanks Melonm, and Microbe, i will try it tomorrow. if i
ahve problems, iwill ask you. thanks again
【在 m****m 的大作中提到】 : Run sys-unconfig and answer yes to reconfigure your : networking. : If you are running Solaris 2.6, type 'uname -v' to see the : current kernel version, make sure the last 2 digits over 09. : Otherwise, you will not be able to boot up after : sys-unconfig. You need to download the latest kernel patch : for upgrading kernel (which you should do anyway). : After rebooting, when it asks your to join the network, : answer yes. For network services, answer 'none. Then just : following the instruction.
|
|