solaris

All posts tagged solaris

If by mistake (or even conscious) you did configure a solaris 10 or bellow with DHCP and you want to disable it and set fixed IP, there are several steps you should follow... There is a file called dhcp.interface_name in /etc that we must delete. Now, create the file /etc/nodename with the hostname inside. # echo webserver > /etc/nodename now, create a file called hostname., where interface is the name of the device in solaris, like bge0, e1000g0, ce0, etc. # echo webserver > /etc/hostname.bge0 Now, Read more...
Sometimes, if you modify the MBR of a x86 disk you can loose its content so you need to reinstall the grub again, for example after install a mixed linux/solarisx86 environment, or migrating a x86 physical machine to a virtualized environment. You have two options to boot the system, both using the CD-Rom: One is using the cdrom grub, to do that, press e after grub appears, and delete all the lines and add the next 3 lines: root (hd0,2,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive As Read more...
Sometimes a disk fails and need to be replaced with a new one, to do that we need to know which device is... # cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 CD-ROM connected configured unknown c1 scsi-bus connected configured unknown c1::dsk/c1t0d0 disk connected configured unknown c1::dsk/c1t1d0 disk connected configured unknown c2 fc connected unconfigured unknown c3 scsi-bus connected unconfigured unknown usb0/1 unknown empty Read more...