Redian新闻
>
how to configure networking after installation
avatar
how to configure networking after installation# Unix - 噫吁兮,危乎高哉
f*i
1
【 以下文字转载自 Military 讨论区 】
发信人: fukCuiYi (阿拉日崔屹), 信区: Military
标 题: 香港人很向往解放前的上海
发信站: BBS 未名空间站 (Sun Jan 22 19:33:54 2012, 美东)
香港电影,电视剧里面,唯一看得起的大陆人,
就是解放前的上海人,所以香港电影里面说上海话的上海
太太小姐们,都是人上人,很时尚很有教养。
香港也拍了无数的关于解放前上海的电影和电视剧,
归根究底,中国人自从鸦片战争以来就是崇洋媚外的,哪里洋气,
哪里就高人一等。
以前的上海如此,现在的香港也是如此。
当年80,90年代香港歌星,电视剧,电影风靡大陆。
这里骂香港的人,哪个不是在周星驰,刘德华,周润发,成龙的电影下
成长出来的?没有香港文化的熏陶,大陆的人还土的掉渣。
当然香港其实是抄的日本。所以即使大陆现在比香港有钱,但是
文化上还是土,还是被人看不起。
avatar
x*g
2
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
avatar
M*n
3
本质其实就是殖民地遗祸
表面上已经不是殖民地了,
但是政治上,文化上,心理上,经济上还是殖民地.
这个影响不是一两代 人就可以消除的。
这个不光是香港,而是所有的中国人的问题.
五十步 "骂"百步 而已。

【在 f******i 的大作中提到】
: 【 以下文字转载自 Military 讨论区 】
: 发信人: fukCuiYi (阿拉日崔屹), 信区: Military
: 标 题: 香港人很向往解放前的上海
: 发信站: BBS 未名空间站 (Sun Jan 22 19:33:54 2012, 美东)
: 香港电影,电视剧里面,唯一看得起的大陆人,
: 就是解放前的上海人,所以香港电影里面说上海话的上海
: 太太小姐们,都是人上人,很时尚很有教养。
: 香港也拍了无数的关于解放前上海的电影和电视剧,
: 归根究底,中国人自从鸦片战争以来就是崇洋媚外的,哪里洋气,
: 哪里就高人一等。

avatar
L*e
4
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

avatar
p*y
5
很多香港人就是上海人當年逃難到到香港的,
看得起上海就是看得起自己,能看不起自己的老家么,
現在的香港人更在乎新加坡,經常拿新加坡比較競爭。

【在 f******i 的大作中提到】
: 【 以下文字转载自 Military 讨论区 】
: 发信人: fukCuiYi (阿拉日崔屹), 信区: Military
: 标 题: 香港人很向往解放前的上海
: 发信站: BBS 未名空间站 (Sun Jan 22 19:33:54 2012, 美东)
: 香港电影,电视剧里面,唯一看得起的大陆人,
: 就是解放前的上海人,所以香港电影里面说上海话的上海
: 太太小姐们,都是人上人,很时尚很有教养。
: 香港也拍了无数的关于解放前上海的电影和电视剧,
: 归根究底,中国人自从鸦片战争以来就是崇洋媚外的,哪里洋气,
: 哪里就高人一等。

avatar
m*m
6
/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.

avatar
x*g
7
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).

avatar
m*m
8
There is NO difference whatsoever for configuring networking
during or after installation. Go ahead and you will be
fine.
DNS only takes care of IPName 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.

avatar
x*g
9
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 IPName 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.

avatar
m*m
10
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!

avatar
x*g
11
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.

avatar
m*e
12
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.

avatar
m*m
13
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.

avatar
x*g
14
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。