How do I chnage MY computer's Host name??

How do I chnage MY computer's Host name??

Post by Greg Turnbu » Tue, 08 Jan 2002 20:54:28



I accidently did not setup my networking right when installing but
everything appears ok accept that my network host name comes as
"unknown". How do I chnage this??

Thanks
Greg Turnbull

 
 
 

How do I chnage MY computer's Host name??

Post by Robert Sherma » Wed, 09 Jan 2002 00:13:17



Quote:> I accidently did not setup my networking right when installing but
> everything appears ok accept that my network host name comes as
> "unknown". How do I chnage this??

create an entry for it in /etc/hosts, also put the name in /etc/nodename and
/etc/hostname.[interface]

--
robert sherman
css3, school of civil and environmental engineering
georgia institute of technology
atlanta, ga, usa

 
 
 

How do I chnage MY computer's Host name??

Post by Logan Sh » Wed, 09 Jan 2002 04:25:49




>I accidently did not setup my networking right when installing but
>everything appears ok accept that my network host name comes as
>"unknown". How do I chnage this??

You're probably using a DHCP server that doesn't provide you a hostname.
In that case, Solaris sets your hostname to "unknown".

Try going to http://groups.google.com/ and searching for the words "dhcp"
and "unknown" in this group (and in alt.solaris.x86).  Since the question
has been answered zillions of times, you should have no trouble finding
the answer.

  - Logan
--
Diamonds may be "forever", but graphite is more thermodynamically favorable.

 
 
 

How do I chnage MY computer's Host name??

Post by YTC# » Wed, 09 Jan 2002 04:52:27




> > I accidently did not setup my networking right when installing but
> > everything appears ok accept that my network host name comes as
> > "unknown". How do I chnage this??

> create an entry for it in /etc/hosts, also put the name in /etc/nodename and
> /etc/hostname.[interface]

don't forget /etc/net/*/hosts

--
Bruce Porter
       "The internet is a huge and diverse community
        and not every one is friendly"
http://www.ytc1.co.uk

 
 
 

How do I chnage MY computer's Host name??

Post by asi » Thu, 10 Jan 2002 02:09:30


Hi dear,
On running system if you want to change yours hostname, simple you
have to give this command
#
su -
#hostname abc.com or etc which you want to give.

or
/usr/bin/hostname [ name-of-host ]
with regards
Asif




> >I accidently did not setup my networking right when installing but
> >everything appears ok accept that my network host name comes as
> >"unknown". How do I chnage this??

> You're probably using a DHCP server that doesn't provide you a hostname.
> In that case, Solaris sets your hostname to "unknown".

> Try going to http://groups.google.com/ and searching for the words "dhcp"
> and "unknown" in this group (and in alt.solaris.x86).  Since the question
> has been answered zillions of times, you should have no trouble finding
> the answer.

>   - Logan

 
 
 

How do I chnage MY computer's Host name??

Post by Jesse Santa » Thu, 10 Jan 2002 04:32:27


Edit /etc/nodename and /etc/hostname.hme0 by entering the hostname of your
machine.  Also, edit /etc/hosts and add in the IP address and nodename of your
system.  Reboot your machine and you should be okay.



Quote:

>I accidently did not setup my networking right when installing but
>everything appears ok accept that my network host name comes as
>"unknown". How do I chnage this??

>Thanks
>Greg Turnbull

 
 
 

How do I chnage MY computer's Host name??

Post by YTC# » Thu, 10 Jan 2002 05:07:54



> Edit /etc/nodename and /etc/hostname.hme0 by entering the hostname of your
> machine.  Also, edit /etc/hosts and add in the IP address and nodename of your
> system.  Reboot your machine and you should be okay.

Everybody always forgets /etc/net/*/hosts

--
Bruce Porter
       "The internet is a huge and diverse community
        and not every one is friendly"
http://www.ytc1.co.uk

 
 
 

How do I chnage MY computer's Host name??

Post by Kris » Thu, 10 Jan 2002 11:04:37


# sys-unconfig

Reconfigure from the scratch (needs reboot)

 
 
 

How do I chnage MY computer's Host name??

Post by Greg Turnbu » Thu, 10 Jan 2002 19:34:00



> # sys-unconfig

> Reconfigure from the scratch (needs reboot)

Thanks "ALL" for the help. It is now working fine.

Greg Turnbull

 
 
 

1. Can't ping the host name or host IP address from host.

Hello there,
I have the unusual problem of not being able to ping the machines host name
or host IP address from the host.
I've checkout the network settings and I can't seem to find any problems.  I
am able to ping & telnet to the machine
from the network.  Seems quite strange.

Any help would be really appreciated.

thanks,

Owen.

Here is output from ifconfig


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          BROADCAST LOOPBACK  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth0      Link encap:Ethernet  HWaddr 00:60:08:83:28:08
          inet addr:10.0.0.100  Bcast:10.0.0.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41411 errors:0 dropped:0 overruns:0 frame:0
          TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Interrupt:3 Base address:0x300



PING penguin (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote penguin 64 chars, ret=-1

--- penguin ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss


PING 10.0.0.100 (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 10.0.0.100 64 chars, ret=-1

--- 10.0.0.100 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

2. Kodak XL7700 color printer

3. Name server's fine, but annot lookup host name with some program

4. Adaptec 1510

5. /etc/hosts (or NIS host map): official-host-name vs nicknames

6. Printcap entry for Lexmark Optra T614 ?

7. Disk Usage? Chnage device name?

8. comp.os.linux.security biweekly FAQ pointer

9. Computer host names - recommendations

10. Host name, primary name, domain name...?

11. How to determine local host name after 'su -' command

12. DIP 'Host name lookup failure'.

13. : how to determine local host name after 'su -' command?