Chinaunix

标题: solaris10怎么配置网络? [打印本页]

作者: Happyman    时间: 2005-12-07 14:55
标题: solaris10怎么配置网络?
在安装solaris10的时候选择了非联网模式,在操作系统起来后,怎么配置网络?\r\n我在/etc/host  /etc/hostname.hme0  都修改过了\r\n但是操作系统在启动的时候报告:failded to config Ipv4 interface hme0\r\n\r\n\r\n然后在系统起来后,查看ifconfig -a 显示hme0为;127.0.0.1\r\n\r\n用ifconfig hme0 可以配置\r\n\r\n求救请各位高手
作者: Happyman    时间: 2005-12-07 15:02
请斑竹各位高手帮帮忙,感激!!!
作者: Snowict    时间: 2005-12-07 15:11
/etc/hostname.hme0   (首先确定你的网络设备名hme)\r\n/etc/inrt/hosts\r\n/etc/inet/ipnodes\r\n/etc/netmasks\r\n/etc/networks\r\n/etc/netconfig
作者: Happyman    时间: 2005-12-07 15:25
都修改过了 重启后ifconfig -a还是显示127.0.0.1
作者: goodboy1881    时间: 2005-12-07 15:53
可能是网卡不认。。也可能是网线坏了。
作者: Philmoon    时间: 2005-12-07 16:21
boot -r启动一下,看看/etc/path_to_inst中写的网卡设备名(在文件的较后部分)。估计不是hme0
作者: 风之幻想    时间: 2005-12-07 16:32
看一下你的/etc/path_to_inst文件中你的网卡的具体名字.然后在配置.
作者: hanyong_4413    时间: 2005-12-07 16:37
more /etc/path_to_inst | grep network找到网卡的名字,例如你的网卡是hme0\r\nipconfig hme0 plumb\r\nifconfig hme0 172.16.255.1 netmask 255.255.255.0 up\r\n然后你试试ifconfig -a
作者: Happyman    时间: 2005-12-07 19:35
谢谢各位!问题已经解决\r\n\r\n\r\n在/etc/hostname.hme0中输入IP地址就ok了
作者: wxws2002    时间: 2005-12-07 23:34
sys-unconfig应该也是可以的




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