Please help with computer name Solaris 5.8


 
Thread Tools Search this Thread
Operating Systems Solaris Please help with computer name Solaris 5.8
# 8  
Old 08-01-2007
UPDATE

[root@unknown] [08:52am] <----------------- want to show [root@jupiter]
[/etc]# uname -X
System = jupiter <-------------------------------Correct
Node = unknown <------------------------------- Should be Jupiter also
Release = 5.8
KernelID = Generic_117350-46
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1


I hope this helps show what I am trying to do?
# 9  
Old 08-01-2007
remove the dhcp.hme0 file. run "sys-unconfig" and enter all data (name, ip, ...) for your server new.
# 10  
Old 08-01-2007
It looks to me like your system is stuck halfway between using DHCP and static IP address.

You need to remove the /etc/dhcp.hme0 to make it stop using DHCP. Fix your /etc/hosts since DHCP will have messed it up after your last boot.

Then you need to make sure all the files needed for static networking are correct. Here's a link I found that lists them and what should be in them.
TCP/IP Configuration Files - Quick Config Guide

Also, the issue may be that the address you are trying to use is allocated as a DHCP address on your network. That would explain why you can SSH in with /etc/dhcp.hme0 there but can't without. In that case you would need to talk to your network admins and have them give you a static IP address to use instead of trying to use the one you're using now.

Try running nslookup on both your hostname and the IP address you're trying to use. Post the output here. That may help determine if you have a correct address to use.
# 11  
Old 08-01-2007
Quote:
Originally Posted by rhfrommn
Try running nslookup on both your hostname and the IP address you're trying to use. Post the output here. That may help determine if you have a correct address to use.
Here are results, and I will work on the other now...
xxxxxx@neowin:~$ nslookup jupiter
Server: 172.20.0.10
Address: 172.20.0.10#53

Name: jupiter.xx.xxxx.xxx
Address: 172.19.8.7

xxxxxx@neowin:~$ nslookup 172.19.8.7
Server: 172.20.0.10
Address: 172.20.0.10#53

** server can't find 7.8.19.172.in-addr.arpa: NXDOMAIN <--- I think there is the issue, that IP is wacked. Where does that pull from?
# 12  
Old 08-01-2007
The dns ippadress and reverse zone should have nothing to do with the local naming of your machine, during boot the machine name is take from local files if configured correctly.

dhcp is trying to name your machine, but this is not well supported by solaris, that is why you get unknown. The problem is that you are trying to give a machine a static ip address on a dhcp network as rhfrommn has stated.

If you want to make it static you have to remove dhcp.hme0. If you want the hostname to be fixed and want to keep using the dhcp configuration, you could do a search of this forum and find the numerous other threads about giving a dhcp machine a hostname.
# 13  
Old 08-01-2007
Thank you for your help,
I am set. I did delete the dhcp.hme0 file and ran sys-unconfig, answered all questions and all is well now.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

How to become more confortable on my computer?

Hi all, Lately I have being practicing several ways to improve on the amount of time i spend reading and coding on my computer. I realized that it can be very tiring and hard work. The had work needed and time is not the main issue here. The issue is do i start of by spending at least one -- two... (3 Replies)
Discussion started by: despiragado
3 Replies

2. UNIX for Dummies Questions & Answers

Please help my computer has been compromised

Hi everyone, I hope I am posting in the right spot and I really need some help. I am going through a horrible divorce and I am afraid that my husband has compromised . He set up my mac computer and router and for my job set up remote access for me. I caught him cheating on me and I think he... (6 Replies)
Discussion started by: kk243665
6 Replies

3. UNIX for Dummies Questions & Answers

Can't shutdown the computer

i cannot shutdown my computer through GUI or CLI when i put the command shutdown -P/-r nowor press the shutdown button it goes to the login prompt and stays like that afterwards, so i press CTRL+ALT+delete (which works) but that only restarts it and closes processes like winbind and apache ... (6 Replies)
Discussion started by: mi117
6 Replies

4. What is on Your Mind?

What was your first computer?

Hey, the What Do You Do for a Living thread got me thinking about this. My first "computer" was a Timex Sinclair that I built from a kit. I also spent many hours painstakingly programming a Commodore Vic20 to display graphics and sound (and save them on that slooooow tape drive). My first "real"... (26 Replies)
Discussion started by: dday
26 Replies

5. UNIX for Advanced & Expert Users

who - PC Computer name

Does anyone know of a way of identifying the PC / client name rather than IP address via who or some other AIX command (5.3). (4 Replies)
Discussion started by: gefa
4 Replies

6. Solaris

Are my computer valid for Solaris

hello It's my first post in your forum I have a Pentium 4 processor and Motherboard Gigabyte with Intel chipset and 80 GB hard disk .My question is : Are my computer valid for Solaris os ??? Are the Solaris is free like Fedora and Suse ?? (sorry for my bad English because I'm not English man) (3 Replies)
Discussion started by: engshaheen
3 Replies

7. Solaris

problem with installing Solaris 10 on x86 stand-alone computer

hi. I'm using Intel-based processor for my stand-alone computer running Windows XP Professional with a broadband connection. By navigating through Solaris 10 documentations via the following paths: 'Solaris 10 Release and Installation Collection' > 'Solaris 10 Installation Guide: Basic... (5 Replies)
Discussion started by: ninelives1980
5 Replies

8. Programming

getting computer name

Hi all! Is there any function to get the name from a computer by the IP adresse? Thank you in advance! Greetings Mario (2 Replies)
Discussion started by: coredump2003
2 Replies

9. Filesystems, Disks and Memory

how do you get 2 windows off your computer

i have windows 2000 professional and windows 98 on my computer but i onle want 1:confused: (3 Replies)
Discussion started by: binary_king
3 Replies
Login or Register to Ask a Question