蛋疼的Solaris设置

来源:互联网 发布:国外mac市场占有率 编辑:程序博客网 时间:2024/04/28 16:35
vmware 9 中安装好了solaris 10 u10后,虽然已经在虚拟机配置中为solaris指定了网卡及其类型,可是在solaris系统能却只能看到lo0,没有找到任何想要的e1000g0的东西。解决方法如下:1. 打开Solaris 10.vmx,找到如下内容ethernet0.present = "TRUE"ethernet0.connectionType = "nat"ethernet0.virtualDev = "e1000"ethernet0.wakeOnPcktRcv = "FALSE"ethernet0.addressType = "generated"   确定设备标识为e1000。2. 开启虚拟机,在/etc目录下查找hostname.e1000g0、dhcp.e1000g0文件,没有则创建,编辑hostname.e1000g0的内容为主机名。3. 执行ifconfig e1000g0 plumb。3. 执行ifconfig e1000g0 dhcp start获取动态ip地址。4. 重启,执行ifconfig e1000g0 dhcp status查看dhcp状态# ifconfig e1000g0 plumb# ifconfig e1000g0  预配ip/掩码位数 up--以上操作就可以了,但是重启后会失效,如想不失效,请继续--创建文件,在/etc目录下创建hostname.bge1文件,内容就是预配ip重启即可ifconfig e1000g0 10.10.17.4/24 up.使用Telnet时,不能以root用户登录系统,应修改什么配置文件?将/etc/default/login把CONSOLE=/dev/console该行注释掉,就可以用root远程telnet本机。

0 0
原创粉丝点击