Hello Fernando,
In Solaris for Sparc there is command sys-unconfig, which will allow
you to set all the parameters for the system ( name, IPs, DHCP etc )
I believe there is the same command in Solaris for Intel.
Anyway:
/etc/hostname.name-of-the-interface contains name of the interface. IP
on that interface is read from /etc/hosts - it's IP coresponding to
that interface name.
The name of the system is located in /etc/nodename.

 HTH,
 Peter
 
Wednesday, September 24, 2003, 7:46:08 PM, you wrote:

Fernando Machado> Ok, nothing happened!

Fernando Machado> i�m using dhcp to get IPs!

Fernando Machado> thanx!

Fernando Machado> 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  -  [EMAIL PROTECTED]
>>>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.
>>  
>>



Fernando Machado> _______________________________________________
Fernando Machado> Solaris-Users mailing list
Fernando Machado> [EMAIL PROTECTED]
Fernando Machado> http://www.filibeto.org/mailman/listinfo/solaris-users



-- 

Peter Kirkov
Support Engineer
________________________________________________
ACT Sofia
Tzarigradsko shosse blvd. 7km
BIC-IZOT, Office 710-714  Tel: +359-2-9718354
1113 Sofia - Bulgaria     Fax: +359-2-9718343
                          mobile: +359-889-919638                          
                         
mailto:[EMAIL PROTECTED]

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to