m****m 发帖数: 165 | 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 |
m*****e 发帖数: 4193 | 2
No, it's /etc/hostname.interfacename. Such as /etc/hostname.hme0.
And if you have a hostname, put in
/etc/nodename
【在 m****m 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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
|
x**g 发帖数: 40 | 3 thanks two big brother
another question: how to get ethnet card address. what
command can let me get it?
【在 m*****e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : No, it's /etc/hostname.interfacename. Such as /etc/hostname.hme0. : And if you have a hostname, put in : /etc/nodename
|
m*****e 发帖数: 4193 | 4 arp hostname
if no entry, ping that host first. should always work for localhost.
【在 x**g 的大作中提到】![](/moin_static193/solenoid/img/up.png) : thanks two big brother : another question: how to get ethnet card address. what : command can let me get it?
|
x**g 发帖数: 40 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : arp hostname : if no entry, ping that host first. should always work for localhost.
|
m*****e 发帖数: 4193 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : you mean "arp host" or "ping host" : when i ping localhost, it just said localhost is alive. : seems that it is not working.
|
x**g 发帖数: 40 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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".
|
m*****e 发帖数: 4193 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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
|
x**g 发帖数: 40 | 9 thanks very much, Melonm and Microbe. now i am successfully
installed and networking configuration. thanks again.
【在 m*****e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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.
|