免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2055 | 回复: 12
打印 上一主题 下一主题

【求助】如何使一臺E450上網 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-31 16:32 |只看该作者 |倒序浏览
公司侷域網網段為192.168.1.0,掩碼255.255.255.0,
網關為一臺地阯為192.168.1.1的LINUX服務器(連接至外網),
現有一臺SUN E450,安裝SOLARIS 8,如何設置纔能使之上網?
請說詳細點,謝謝暸。

论坛徽章:
0
2 [报告]
发表于 2005-03-31 17:09 |只看该作者

【求助】如何使一臺E450上網

/etc/inet/hosts    ( setup your system IP in 192.168.1.xx)
/etc/defaultrouter   
192.168.1.1

#reboot

论坛徽章:
0
3 [报告]
发表于 2005-03-31 17:18 |只看该作者

【求助】如何使一臺E450上網

我是要上INTERNET。
/etc/hostname.hme0
/etc/hosts
/etc/netmasks
/etc/nsswitch.conf
/etc/resolv.conf
/etc/defaultrouter
這幾個文件我都改暸,還是不行,重啓也好幾次暸。
而且現在我TELNET上去時速度特別慢,不知道是什么原因?

论坛徽章:
0
4 [报告]
发表于 2005-03-31 17:39 |只看该作者

【求助】如何使一臺E450上網

192.168.1.1 是不是proxy server.
你的DNS server  是什么?

如果192.168.1.1 是proxy server, 只需要在浏览器中设置。
否则比较麻烦。

论坛徽章:
0
5 [报告]
发表于 2005-04-01 11:21 |只看该作者

【求助】如何使一臺E450上網

192.168.1.1不是proxy,就是一般的網關,我們公司的網絡是聯在寫字樓的寬帶上的(通過一臺交換機);
DNS用的地阯是202.102.24.35,這個地阯不知道是哪裏的。

望幫助,謝謝啦~~~~~~~

论坛徽章:
0
6 [报告]
发表于 2005-04-01 13:52 |只看该作者

【求助】如何使一臺E450上網

照楼上的兄弟们做一下就OK了,实在还不行就把机器抬过来我看一下!

论坛徽章:
0
7 [报告]
发表于 2005-04-01 14:27 |只看该作者

【求助】如何使一臺E450上網

这是我的设置,帮我看看:

bash-2.03# more hosts
127.0.0.1       localhost
192.168.1.100   e450  loghost

bash-2.03# more hostname.hme0
e450

bash-2.03# more netmasks
192.168.1.0     255.255.255.0

bash-2.03# more resolv.conf
nameserver      202.102.24.35

bash-2.03# more defaultrouter
192.168.1.1

bash-2.03# more nsswitch.conf
#
# /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
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
sendmailvars:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

还需要什么设置?还有没有什么服务要开啊?

论坛徽章:
0
8 [报告]
发表于 2005-04-01 14:42 |只看该作者

【求助】如何使一臺E450上網

1)建新文件/etc/hostname.rtls0,写上主机名

(2)新建或修改/etc/netmasks文件,写上子网掩码
例如:
192.168.0.5 255.255.255.0

(3)修改/etc/hosts文件,写上与主机名对应的IP地址

(4)新建文件/etc/defaultrouter,输入网关IP地址
例如:
192.168.0.1

(5)新建文件/etc/resolv.conf,写上DNS的IP地址
格式:
nameserver xxx.xxx.xxx.xxx

(6)修改/etc/nsswitch.conf文件,将包含“hosts:”的一行改为:
hosts: files dns

论坛徽章:
0
9 [报告]
发表于 2005-04-01 16:32 |只看该作者

【求助】如何使一臺E450上網

分步来吧
1。
ping 一下defaultrouter,看看是否成功
2。ping一下dns_server 的 IP
3.随便ping一个外网的IP(在其他机器上可以ping铜的)
4.nsloopkup chinaunix.com
5。ping chinaunix.com
6.telnet chinaunix.com 80
get ...

看看哪一步出错?

论坛徽章:
0
10 [报告]
发表于 2005-04-01 16:38 |只看该作者

【求助】如何使一臺E450上網

4.nsloopkup chinaunix.com

多了个p
nslookuop www.chinaunix.net
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP