The unique name by which any device attached to a network is known by.

learn more… | top users | synonyms

261
votes
7answers
451k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
185
votes
13answers
369k views

How do I change the computer name?

When I connect to my server (ubuntu server 10.10), I get this: name@server-name.belkin ~> How can I remove ".belkin"?
8
votes
4answers
3k views

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through ...
31
votes
6answers
155k views

How to find a computer name in a LAN from the IP address?

My network includes machines running Linux and others running Windows. And my machine is running Linux.
26
votes
2answers
56k views

How to use host names rather than ip addresses on home network?

I've a small home network up and running and managed to set up ssh. Can anyone tell me what I need to do to refer to one computer on the network from another by host name rather than IP address (which ...
17
votes
2answers
15k views

What does “.local” do?

I've got several Ubuntu machines on my network at home, but the DNS is provided by a windows server (2K). When I ssh to them from another , if I ssh to them as "machine" I can't connect, but if I ...
4
votes
3answers
29k views

Why can I ping via IP address but not hostname?

I have a media/file server running Ubuntu 10.10 Maverick Meerkat, connected via cable directly to a DSL router, which also acts as a network switch. The router uses DHCP to dynamically assign IP ...
0
votes
2answers
647 views

Lost access to sudo [duplicate]

sudo: unable to resolve host I think I need to edit the /etc/hosts file to make an entry for 127.0.1.1 PC name. But how can I do that if I can't access sudo? It seems to have gone since I updated ...
9
votes
7answers
48k views

How to get the hostname from a DHCP server

I want Ubuntu to get the hostname and DNS name from a DHCP client. The default installation of Ubuntu 11.10 (Oneiric Ocelot) does not do that. The same question was asked and is unsolved on ...
10
votes
5answers
14k views

Modifying /etc/hosts does not have an effect

I'm attempting to block myself from time-wasting websites but changes I make to /etc/hosts. For example: 127.0.0.1 localhost 127.0.1.1 ross-laptop 127.0.0.1 bing.com # The following lines are ...
0
votes
2answers
5k views

How to change my device name? [duplicate]

I want to change my device name but I have not found any option in the settings to do it. I am using Ubuntu for first time. Is there any way to change the device name that appears when I lock the ...
17
votes
0answers
1k views

Safe way to rename my computer/hostname? [duplicate]

Possible Duplicate: How do I change the computer name? I'd like to rename my computer. What's the recommended way to do this? Is there anything likely to break after I rename it?
3
votes
1answer
2k views

How to change the name of localhost to custom name which is available to other users in lan

I need to use the custom url name which is able to access from all devices in LAN. I know that it can be changed from the /etc/hosts file 127.0.0.1 myname 127.0.1.1 system09-System-Product-Name ...