The tag has no wiki summary.

learn more… | top users | synonyms

133
votes
5answers
199k 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?
78
votes
11answers
119k 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"?
23
votes
3answers
48k views

Changing System name [duplicate]

I am given an Old Ubuntu working system and the previous user had everything on his name so started turning it to my name as typing his name everywhere was bugging me. I tried $ usermod -l hussain ...
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?
15
votes
6answers
71k 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.
12
votes
2answers
7k 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 ...
9
votes
4answers
5k views

Name resolution on home LAN?

Is there an easy way to allow my other computers to resolve my hostname over the network without having them edit their hosts files or their DNS settings? Some of the computers are on Windows.
9
votes
2answers
23k 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 ...
9
votes
1answer
6k views

changing 127.0.1.1 back to 127.0.0.1 — will it break anything in Unity?

The /etc/hosts file defaults your hostname to 127.0.1.1 rather than 127.0.0.1 127.0.0.1 localhost 127.0.1.1 my_machine I've already found out why. But that was giving me problems testing some ...
7
votes
4answers
1k 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 ...
7
votes
1answer
328 views

Why does my hostname contain odd characters?

I installed Ubuntu, went straight to the Terminal and noticed there is some odd characters in my name. Here's what it is: imageek@imageek-DP700A3D-DM700A3D-DB701A3D-DP700A7D: How do I change this?
6
votes
5answers
9k 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 ...
5
votes
6answers
22k views

How to get hostname from DHCP server

I want Ubuntu to get hostname and DNS name from DHCP client. Default installation of 11.10 does not do that. Update: same question asked and Unsolved
5
votes
3answers
2k views

How to troubleshoot a hostname problem?

I have a Ubuntu desktop PC and a Windows 7 laptop. They have network connection over a wifi router, which gives them local IP addresses. Both computers see each other when pinged by IP. The Ubuntu pc ...
4
votes
4answers
17k views

How to get the hostname using terminal command-line?

I have used arp-scan in terminal to get the ipaddress as well as mac address, is there anyway i can get to know the hostname of the ipaddress that are there in the terminal? for example there are A-pc ...
4
votes
3answers
18k 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 ...
4
votes
1answer
323 views

Changing hostnames in bulk

I just need to rename the hostnames of all the Desktops based on their IP Addresses. For example if the IP address is 172.29.72.25 hostname should be assigned as node25, if the IP address is ...
4
votes
2answers
5k views

Access Windows machines from Ubuntu on local network by hostname

[I've searched a LOT for a solution to this issue, but if someone wants to point me to a related question and/or answer, please do!] I have a local network over a broadband router with 3 Windows 7 ...
4
votes
0answers
4k views

How can I configure Ubuntu to report its hostname to windows? [duplicate]

Possible Duplicate: Access Ubuntu Server by host name How can I configure Ubuntu server to report its hostname in such a way that typing http://thehostname/ in a web browser will connect to ...
4
votes
1answer
149 views

Blank/empty hostname

I am using Ubuntu 12.10 and i was wondering if there is way to not send my hostname when connecting to a router? For example when I connect to my router I can see my laptop hostname when I log on the ...
3
votes
2answers
3k views

how to change my hostname?

My hostname is localhost, reported by hostname command, and terminal prompt root@localhost:~#. How can i change it to mismis.com with mismis alias? and what is the proper configuration. I confused ...
3
votes
1answer
836 views

Get IP of remote windows machine from Hostname

I have a headless Windows 7 box I'm trying to access using VNC viewer from my Ubuntu Gnome Raring machine. Previously, when I was running Linux mint, I could do this no problem... but I can't ...
3
votes
2answers
422 views

If I rename my computer, will it lead to problems with Ubuntu One?

If I rename my computer by editing the /etc/hostname file as shown here, will I get some synchronization problems with Ubuntu One, which knows my machine as a different name ? Can I have any other ...
3
votes
2answers
64 views

Issue when sudo something after a hostname change

I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo ...
3
votes
1answer
878 views

Changed hostname, closed before changing hosts, now sudo is broken, catch-22!

I'm using Lubuntu 12.04. I was trying to change my computer name to "main" and I messed up, I'm not sure what to do now. I was following the directions on this page. Here's what I did: sudo ...
3
votes
1answer
2k views

What's the difference between `hostname` and `uname -n`

On my server, these both return the host name: $ ubuntu@mt-solo:~$ uname -n myserver $ ubuntu@mt-solo:~$ hostname myserver Is this always the case?
3
votes
2answers
692 views

How can I get a PXE install to ask for the hostname

I use a pxe install for a lab of machines, one problem I have is that the hostname is always set to 'ubuntu'. This is wrong, it should instead ask during the install what hostname should be used. One ...
3
votes
2answers
770 views

How to configure domain name on school network [closed]

I'm trying to set up my server (running Ubuntu server 8.04) on my university network so that I can access it from anywhere on campus. Last year I had it plugged into my router and set my router's ...
3
votes
1answer
148 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 ...
3
votes
1answer
69 views

Disable logon prompt show hostname

Per default the login prompt shows %hostname% login:. I don't want anybody with console access to see the hostname of the server that easily. How to get rid of the hostname there?
3
votes
1answer
1k views

can the hostname changed via DHCP?

According to several comments in the web most DHCP clients simply ignore the hostname provided by the DHCP server. Does Ubuntu use the provided hostname? If not, how can Ubuntu be persuaded to use the ...
3
votes
1answer
519 views

About the use of dotted hostname with avahi

Hi I recently discovered avahi. It help you when you when to resolve hostname for the local network. But in my situation i've got a issue. I decided to host a machine called "a.alpha" and a another ...
2
votes
2answers
4k views

can not ping by host name for some computers

I have 11.04 installed. It is joined to a domain. I am able to ping some of my computers by their name, but some I can't. Those I can't are our NAS machines (Readynas Netgear). I can ping them only ...
2
votes
1answer
109 views

Kernel name has changed?

I am just looking through a log of system activity in messages. The name of the kernel has changed shortly after the installation: Oct 10 09:10:12 keira rsyslogd: [origin software="rsyslogd" ...
2
votes
1answer
1k views

How can i change the top right corner display Name?

I have changed the name on /etc/hostname and /etc/hosts but the top right corner display name won't change How can i change that name?
2
votes
2answers
65 views

How can I confirm my name on a local network?

My local network name is usually myhostname.local, but sometimes other people on the network can't access me at that address and I have to give them my network IP address (which changes). How can I ...
2
votes
1answer
4k views

I can ping IP address but can not ping hostname

My address: user@pc1:~$ ifconfig eth0 |grep "inet " inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 I can ping this address user@pc1:~$ ping -c 1 192.168.2.11 PING ...
2
votes
2answers
1k views

How to protect a computer name from being disclosed to network peers?

I'd prefer my hostname to be hidden (or a fake hostname to be shown - both variants are interesting actually) from my network peers (including routers ad DHCP servers). I believe my IP and MAC ...
2
votes
1answer
341 views

Streaming Radio [duplicate]

I can stream Radio Paradise in Audacious but not in Banshee. Also in Banshee, when I try to access Amazon, I get this message: Unable to load page Problem occurred while loading the URL ...
1
vote
2answers
12k views

Changing computer name [duplicate]

Can someone tell me how to change the computer name on a pc, I've tried to edit the /etc/hostname file but it won't allow me access to save the amended file, thought the user the system created was ...
1
vote
1answer
383 views

can't /etc/hosts be set up automatically?

what I need is: automatically add mac-addresses to some file and manually add the hostnames assigned to them, and a script will then scan my home LAN for those mac-addresses and populate the ...
1
vote
1answer
282 views

Use Nautilus to open an SSH connection using hostname

I'm trying to SSH another machine on my LAN using the hostname because the local IP address gets re-assigned somewhat regularly (we have issues with our ISP and frequently have to reset our network). ...
1
vote
1answer
8k views

ubuntu server not resolving LAN hostnames

Bit stuck here. I have 2 machines that cannot resolve LAN hostsnames, unless there are specific entries in /etc/hosts But other machines on the LAN can resolves hostnames. My LAN: 1 x Cisco ...
1
vote
2answers
2k views

Sendmail not working on ubuntu guest - unqualified host name

I have a win7 host running ubuntu guest through vbox. it is configured with a bridged network adapter and I am using DHCP to assign an ip of 192.168.0.5 to the guest which is mapped to smartstart.dev ...
1
vote
2answers
2k views

Windows domain full hostnames cannot be resolved resulting in intranet not working

the domain: is foo.bar.local full hostname is: bla.foo.bar.local short hostname is: bla I installed winbind. here is my smb.conf: name resolve order = lmhosts host wins bcast here is my ...
1
vote
1answer
6k views

Is it possible to give two IP addresses for the same host name?

I want to give two ip addresses for same host name. Like in /etc/hosts file: xx.x.x.x example # if system is connected to dhcp y.y.yy.y example # if system is connected to VPN So is it ...
1
vote
1answer
69 views

Why I got 'unable to resolve host' when I do 'sudo'?

Whenever I do 'sudo' I get an error saying 'sudo: unable to resolve host HP-Pavilion'. I recently change my hostname to "HP-Pavilion". I wonder if I screw up something. $ sudo mkdir SourceCodePro ...
1
vote
2answers
381 views

Changing Hostname and Serving with Apache [duplicate]

I want to serve my website locally with my hostname. It's gibberish now, but people in my network can reach it. Let's say my hostname is >hostname ABCabcABC And, if my local people open a ...
1
vote
1answer
2k views

avahi daemon constantly needs restarting

I have Ubuntu 11 running on a Thinkpad W520. Things work great, but not avahi-daemon. It seems that my laptop becomes invisible (ssh user@hostname.local can't find the laptop) to other computers on ...
1
vote
1answer
23 views

Can't ping Arch Linux machine from Ubuntu Server

I have a server and a desktop. Server: OS: Ubuntu Server 14.04.1 IP address: DHCP from Asus router, allocated by MAC address to 192.168.1.4 Connection: wired Ethernet, always on Desktop: OS: ...