[SunHELP] hostname

Jim Pennino jimp at specsol.com
Wed Sep 24 11:51:23 CDT 2003


On Wed, Sep 24, 2003 at 01:45:15PM -0300, Fernando Machado wrote:
> Ok, nothing happened!
> 
> i4m using dhcp to get IPs!
> 
> thanx!
> 
> Jim Pennino wrote:
> 
> >On Wed, Sep 24, 2003 at 01:27:33PM -0300, Fernando Machado wrote:
> > 
> >
> >>How do i set the hostname in a solaris 8 intel-based system?
> >>in /etc there4s a file named hostname.elxl0, but nothing inside. if i 
> >>put the hostname in it, i receive error msgs and nothing happen!!!!
> >>
> >>Thanx!
> >>_______________________________________________
> >>SunHELP maillist  -  SunHELP at sunhelp.org
> >>http://www.sunhelp.org/mailman/listinfo/sunhelp
> >>   
> >>
> >
> >/etc/hostname.name-of-the-interface should contain the hostname.
> >
> >/etc/hosts should contain the IP address and name from above.
> >
> >Reboot.
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

The DHCP server should be setting the hostname.

See the chapters on DHCP at http://docs.sun.com/db/doc/806-0916/6ja8539af#hic 
in the System Administration Guide, Volume 3, or online if you installed
the documentation on your system.

-- 
Jim Pennino



More information about the SunHELP mailing list