Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hostname 'unknown' after reboot 2

Status
Not open for further replies.

fulljib

Technical User
Mar 26, 2002
3
US
I've used set_parms hostname to set my systems name and it appears to take it, but when I reboot and query with hostname it responds with unkown. When I attempt to edit etc/hosts using vi the system response is something akin to " I don't what type of terminal you are on, only have 'unknown' " and then proceeds to kick me into 'open mode'

any suggestions would be greatly appreciated
 
Try:

set TERM=vt100 ; export TERM

Then try vi on /etc/hosts. Hope this helps.
 
Also check the file /etc/rc.config.d/netconf. Add your hostname if it is not there.

Patel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top