Chinaunix

标题: 【求助】如何使一臺E450上網 [打印本页]

作者: blinks    时间: 2005-03-31 16:32
标题: 【求助】如何使一臺E450上網
公司侷域網網段為192.168.1.0,掩碼255.255.255.0,\r\n網關為一臺地阯為192.168.1.1的LINUX服務器(連接至外網),\r\n現有一臺SUN E450,安裝SOLARIS 8,如何設置纔能使之上網?\r\n請說詳細點,謝謝暸。
作者: Snowict    时间: 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
作者: blinks    时间: 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上去時速度特別慢,不知道是什么原因?
作者: Snowict    时间: 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否则比较麻烦。
作者: blinks    时间: 2005-04-01 11:21
标题: 【求助】如何使一臺E450上網
192.168.1.1不是proxy,就是一般的網關,我們公司的網絡是聯在寫字樓的寬帶上的(通過一臺交換機);\r\nDNS用的地阯是202.102.24.35,這個地阯不知道是哪裏的。\r\n\r\n望幫助,謝謝啦~~~~~~~
作者: swallowcn    时间: 2005-04-01 13:52
标题: 【求助】如何使一臺E450上網
照楼上的兄弟们做一下就OK了,实在还不行就把机器抬过来我看一下!
作者: blinks    时间: 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还需要什么设置?还有没有什么服务要开啊?
作者: ccei    时间: 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
作者: jf408    时间: 2005-04-01 20:25
标题: 【求助】如何使一臺E450上網
顶,我按照上面方法,搞定
作者: blinks    时间: 2005-04-04 10:49
标题: 【求助】如何使一臺E450上網
求助~~~~~~~~~~~~~~~~~~~~     




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2