Hi AmolBrid,
Back in Solaris7, in order to use dhcp and get around the system being renamed 'unknown' if your dhcp server did not supply a name, we used to 'comment' or remove the following lines in the /etc/init.d/inetsvc file:
hostname=`/sbin/dhcpinfo Hostname`
if [ -z "$hostname" ]; then
hostname="unknown"
fi
-----------------------------------------------------------
Or, you could just change:
hostname ="unknown"
to
hostname ="<your hostname>"
-----------------------------------------------------------
Then reboot again.
This assumes that you have the proper entries in:
/etc/hosts
/etc/hostname.<interface> (ex: /etc/hostname.hme0)
/etc/nodename
I'm pretty sure this also worked in Solaris 8.
If that doesn't work, try this web site for a diff approach:
Hope this helps...
Pete