Redian新闻
>
Re: help me! Re: how to configure networking after installation
avatar
Re: help me! Re: how to configure networking after installation# Unix - 噫吁兮,危乎高哉
m*m
1
For solaris, you only need 3 files to setup networking:
1. Put your IP in /etc/hostname.elxl0
2. setup /etc/hosts

3. Put your default router in /etc/defaultrouter.
4. (optional) Check /etc/netmasks for sanity.
Reboot the machine you should be networked.
Then to setup DNS:
1. /etc/resolv.conf
domain yourdomain.com
nameserver 10.16.65.35
2. Configure /etc/nsswitch.conf
ipconfig -a should give your info of your networking. The
card you are using seems like an 3com 9xx PCI car
avatar
m*e
2

No, it's /etc/hostname.interfacename. Such as /etc/hostname.hme0.
And if you have a hostname, put in
/etc/nodename

【在 m****m 的大作中提到】
: For solaris, you only need 3 files to setup networking:
: 1. Put your IP in /etc/hostname.elxl0
: 2. setup /etc/hosts
:
: 3. Put your default router in /etc/defaultrouter.
: 4. (optional) Check /etc/netmasks for sanity.
: Reboot the machine you should be networked.
: Then to setup DNS:
: 1. /etc/resolv.conf
: domain yourdomain.com

avatar
x*g
3
thanks two big brother
another question: how to get ethnet card address. what
command can let me get it?

【在 m*****e 的大作中提到】
:
: No, it's /etc/hostname.interfacename. Such as /etc/hostname.hme0.
: And if you have a hostname, put in
: /etc/nodename

avatar
m*e
4
arp hostname
if no entry, ping that host first. should always work for localhost.

【在 x**g 的大作中提到】
: thanks two big brother
: another question: how to get ethnet card address. what
: command can let me get it?

avatar
x*g
5
you mean "arp host" or "ping host"
when i ping localhost, it just said localhost is alive.
seems that it is not working.

【在 m*****e 的大作中提到】
: arp hostname
: if no entry, ping that host first. should always work for localhost.

avatar
m*e
6
arp will check the arp table. ping just guarantees the host's ether addr
is in the table (unless it's dead).
and you have to specify the actual hostname, not "localhost".

【在 x**g 的大作中提到】
: you mean "arp host" or "ping host"
: when i ping localhost, it just said localhost is alive.
: seems that it is not working.

avatar
x*g
7
but the problem is that i cannot connect to the network.
that is the problme.
can you tell me what is arp. and the other question is still
that: how to get the ethnet address. that is important to
me. my boss needs that. i am crazy on the networking. it is
really difficult to set up the UNIX
thanks again

【在 m*****e 的大作中提到】
: arp will check the arp table. ping just guarantees the host's ether addr
: is in the table (unless it's dead).
: and you have to specify the actual hostname, not "localhost".

avatar
m*e
8
OK, tell you a very simple method:
reboot the machine, and read the console. Ethernet address is printed
out in the first three lines (before memory is checked).
Or you may try running 'dmesg' and grep sth like 'ether' or 'MAC'.
If there is a simpler way, let me know.

【在 x**g 的大作中提到】
: but the problem is that i cannot connect to the network.
: that is the problme.
: can you tell me what is arp. and the other question is still
: that: how to get the ethnet address. that is important to
: me. my boss needs that. i am crazy on the networking. it is
: really difficult to set up the UNIX
: thanks again

avatar
x*g
9
thanks very much, Melonm and Microbe. now i am successfully
installed and networking configuration. thanks again.

【在 m*****e 的大作中提到】
: OK, tell you a very simple method:
: reboot the machine, and read the console. Ethernet address is printed
: out in the first three lines (before memory is checked).
: Or you may try running 'dmesg' and grep sth like 'ether' or 'MAC'.
: If there is a simpler way, let me know.

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