免费注册 查看新帖 |

Chinaunix

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

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

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

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

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

/etc/inet/hosts    ( setup your system IP in 192.168.1.xx)\r\n/etc/defaultrouter   \r\n192.168.1.1\r\n\r\n#reboot

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

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

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

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

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

192.168.1.1 是不是proxy server. \r\n你的DNS server  是什么?\r\n\r\n如果192.168.1.1 是proxy server, 只需要在浏览器中设置。\r\n否则比较麻烦。

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

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

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

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

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

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

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

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

这是我的设置,帮我看看:\r\n\r\nbash-2.03# more hosts\r\n127.0.0.1       localhost\r\n192.168.1.100   e450  loghost\r\n\r\nbash-2.03# more hostname.hme0\r\ne450\r\n\r\nbash-2.03# more netmasks\r\n192.168.1.0     255.255.255.0\r\n\r\nbash-2.03# more resolv.conf\r\nnameserver      202.102.24.35\r\n\r\nbash-2.03# more defaultrouter\r\n192.168.1.1\r\n\r\nbash-2.03# more nsswitch.conf\r\n#\r\n# /etc/nsswitch.files:\r\n#\r\n# An example file that could be copied over to /etc/nsswitch.conf; it\r\n# does not use any naming service.\r\n#\r\n# \"hosts:\" and \"services:\" in this file are used only if the\r\n# /etc/netconfig file has a \"-\" for nametoaddr_libs of \"inet\" transports.\r\n\r\npasswd:     files\r\ngroup:      files\r\nhosts:      files       dns\r\nipnodes:    files\r\nnetworks:   files\r\nprotocols:  files\r\nrpc:        files\r\nethers:     files\r\nnetmasks:   files\r\nbootparams: files\r\npublickey:  files\r\n# At present there isn\'t a \'files\' backend for netgroup;  the system will\r\n#   figure it out pretty quickly, and won\'t use netgroups at all.\r\nnetgroup:   files\r\nautomount:  files\r\naliases:    files\r\nservices:   files\r\nsendmailvars:   files\r\nprinters:       user files\r\n\r\nauth_attr:  files\r\nprof_attr:  files\r\nproject:    files\r\n\r\n还需要什么设置?还有没有什么服务要开啊?

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

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

1)建新文件/etc/hostname.rtls0,写上主机名\r\n\r\n(2)新建或修改/etc/netmasks文件,写上子网掩码 \r\n例如:\r\n192.168.0.5 255.255.255.0\r\n\r\n(3)修改/etc/hosts文件,写上与主机名对应的IP地址\r\n\r\n(4)新建文件/etc/defaultrouter,输入网关IP地址\r\n例如:\r\n192.168.0.1\r\n\r\n(5)新建文件/etc/resolv.conf,写上DNS的IP地址\r\n格式:\r\nnameserver xxx.xxx.xxx.xxx\r\n\r\n(6)修改/etc/nsswitch.conf文件,将包含“hosts:”的一行改为:\r\nhosts: files dns

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

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

顶,我按照上面方法,搞定

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

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

求助~~~~~~~~~~~~~~~~~~~~     
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP