A hostname is the label given to a device connected to a computer network.

learn more… | top users | synonyms

4
votes
1answer
655 views

Display hostname in GDM3 on Fedora 19 at login screen

I'm managing almost 100 lab PC's running Fedora 19. It's difficult to manage because it seems like no where that I can display the hostname at the login screen. GDM version: gdm-3.8-3.2
17
votes
5answers
98k views

How to change hostname on centos 6.5?

Hi can't seem to change the hostname on my centos 6.5 host. I am following the instructions I found here: http://www.rackspace.com/knowledge_center/article/centos-hostname-change I set my /etc/hosts ...
1
vote
2answers
22 views

Setting a domain name in LAN

I am developing a web page using Apache Web Server in my pc. When I want to open it in the browser I use the ip, for example: http://192.168.1.6/proyect My host is part of a local network (a laptop ...
1
vote
1answer
39 views

Alias name for ip address

I have a website which is hosted in local Server (CentOS 5.x) (Hostname: xxx.yyy.local, IP : 192.168.5.25). I can browse the site typing the server IP address in the browser from my Local Network e.g: ...
0
votes
1answer
6k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
6
votes
3answers
7k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating ...
1
vote
1answer
23 views

any option to ignore a dns server ip from /etc/resolv.conf when doing nslookup?

We have a list of dns server IPs in /etc/resolv.conf. When doing nslookup for a particular scenario we would like to ingore the second entry below, so that naming resolution occurs via other 3 DNS ...
0
votes
2answers
110 views

CentOS 6.5 hostname on VPS

I'm trying to change the hostname on my fresh CentOS 6.5 image (VPS) via SSH. The sources I've found all say the hostname can be permanently changed in /etc/sysconfig/network and /etc/hosts, and that ...
5
votes
1answer
7k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
0
votes
1answer
36 views

Solaris 11 hostname

I'm new with Solaris. I cloned a Solaris 11 machine and now I'm trying to change it so that it gets the hostname and DNS name from a DHCP client. I tried following the instructions here: ...
0
votes
1answer
13 views

How do I assign hostnames for machines on my network?

I'm using Terminal on a Mac running OS X Yosemite. Wondering how I can assign hostnames so that I can run telnet instead of using the ip address.
1
vote
3answers
57 views

How to change bash prompt string in current bash session? [duplicate]

I have a following bash prompt string: root@LAB-VM-host:~# echo "$PS1" ${debian_chroot:+($debian_chroot)}\u@\h:\w\$ root@LAB-VM-host:~# hostname LAB-VM-host root@LAB-VM-host:~# Now if I change ...
7
votes
7answers
41k views

How to get the hostname along with the domain name?

In unix (Solaris) is there any command that returns the hostname and domain name together? For instance: hostname -> servername domainname -> us.xyz.com I need : servername.us.xyz.com
2
votes
2answers
38 views

Changing hostname reboot reverts back to original

So, What I'm trying to do is simply change the hostname permanently. I can update the hostname but when a reboot is issued the original hostname is used! I'm aware there is a file hostname located ...
0
votes
0answers
15 views

Pidora not reachable through hostname

I'm stuck on the following: I've got a Raspberry Pi with Fedora installed on it, a router, and a Fedora 21 box. ---Router--- | | pidora fedora The router doesn't know the hostname of ...
2
votes
1answer
68 views

uname -n vs hostname

What is the difference between uname -n and hostname? Are there any real differences in what they return? Are there any differences in availability on different OSes? Is one of them included in POSIX ...
2
votes
2answers
63 views

Increasing Productivity When SSH into Multiple Hosts [duplicate]

I work in operations and need to be able to log into multiple servers among a few hundred servers in a productive way. What I mean by productive is this: from the time from when someone asks me to ...
2
votes
2answers
39 views

Use a dynamically obtained hostname with an ssh config entry

Our accounts in our lab are all mounted over NFS and are accessible over all the systems in a subnet. So, effectively we can ssh into any of the machines in the subnet and continue our work. The ...
2
votes
3answers
3k views

CentOS 7 hostname will not change

I have two CentOS 7 VM's running in virtualbox. On each of the machines I want to set the hostname and a static IP address. VM1 works just fine. VM2 does not. I did the same thing on both servers so ...
2
votes
1answer
91 views

How to properly configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
2
votes
0answers
89 views

How to update ip in hosts file automatically from a VirtualBox guest?

I have a VirtualBox guest running Debian with Bridged Adapter. The host is running on Windows 8. I would like to connect from the host to the guest through a specific port. I came up with the ...
4
votes
2answers
53 views

Persistent Bash Prompt Prefix Linux

I want to have the FQDN as bash prefix instead of just using the hostname. So I can change root@web: ~$ to root@web.domain.tld: ~$ I already know that that is possible by using: ...
1
vote
2answers
10k views

Unable to set hostname for use within network

I am having a lot of trouble setting up a hostname for my home server for use within my home network. My home server is running Ubuntu 12.04 LTS and all packages are up to date. Management of this ...
0
votes
0answers
54 views

how do I set a hostname in yast?

how do I set the hostname, FQDN, in yast? I ran yast => network devices => network services => hostname/DNS: YaST2 - lan @ arrakis Network Settings ...
0
votes
1answer
291 views

Problem with routing tables network interface in Centos 6.6

I've problem with the routing tables, I've 2 network interface. (2 interfaces with 2 difference network address IP address: 112.xxx.xxx.xxx: static IP and 10.xxx.xxx.xxx local IP) 1: IP address is: ...
5
votes
1answer
625 views

Shell command/script to see if a host is alive?

I'm trying to figure out more ways to see if a given host is up, solely using shell commands (primarily bash). Ideally, it would be able to work with both hostnames and IP addresses. Right now the ...
1
vote
1answer
345 views

Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

When i start apache service in my debian 7.8 with the command : root@debian:/home/debian# service apache2 start [....] Starting web server: apache2apache2: Could not reliably determine the ...
0
votes
2answers
175 views

Display hostname in ping output

When I ping my Linux server (running in a VM on my Windows7 host) with the following command: ping -a 192.168.56.*** I get the results shown below. Why isn't it resolving my server's name? ...
0
votes
1answer
62 views

Resolve Host's IP on VM

I have kind of tricky situation. I have monitoring tool where all my hosts and their VM's (with IP's and so on) are listed. But what I need is to resolve on which host(need it's ip or hostname) this ...
2
votes
1answer
290 views

Changing the hostname on a Linux Mint desktop to a random value at boot time

When changing the hostname to a random set of alphanumeric characters on a machine running Linux Mint(17.1 Rebecca, Cinnamon 64-bit) I encounter some problems. The following script changes the ...
-1
votes
1answer
65 views

How to change hostname on Linux and make it appear on a network? [duplicate]

First, what is the correct way to change the hostname in Linux ? I followed some steps on the internet and sometimes it does not take effect. Besides, the new hostname does not appear when I ping my ...
1
vote
1answer
141 views

Set hostname without root, and without CAP_SYS_ADMIN

I have an application that I want to be able to change the hostname in Linux. Currently doing so by running the hostname command. I don't want to set CAP_SYS_ADMIN either. I also don't want to edit ...
0
votes
1answer
66 views

what is the value for setting a hostname in installation of oracle enterprise linux r6u5 should have?

I am installing oracle linux r6u5 for my personal use in vmware workstation. While going through installatio i came to a point where I have to enter hostname, format specified init is ...
1
vote
1answer
70 views

Understand hostname and /etc/hosts

In /etc/hostname, I have myname. In /etc/hosts, I have : 127.0.0.1 localhost.localdomain localhost myname ::1 localhost.localdomain localhost myname I have a vague understanding of what ...
3
votes
1answer
133 views

why are there different formats for the hosts file between OpenSuSE and Ubuntu?

How is 127.0.0.1 related to 127.0.0.2? Using ssh to login to tleilax (OpenSuSE): tleilax:~ # tleilax:~ # hostname tleilax tleilax:~ # tleilax:~ # hostname -f tleilax.bounceme.net tleilax:~ # ...
-2
votes
4answers
76 views

How to update the hostname for a computer

On my Lubuntu machine (14.04 LTS), I booted an Arch disk, to have a look around, and now my hostname on my Lubuntu box is stuck as archiso. My hostname is set to what I want it to be, but I can't ssh ...
0
votes
0answers
22 views

What's wrong with the mapping?

I am running two docker containers one is for hadoop basic services and other is for flume. Services are running successfully. I linked two containers env variables are automatically set by docker ...
0
votes
3answers
137 views

Hostname variable doesn't work

I'm on a Raspberry Pi using RPiTC (Raspberry Pi Thin Client). I had made a script with an Hostname variable. It's worked perfectly but today when I had launch my script I saw something strange. My ...
1
vote
3answers
57 views

Can a Linux system have two IP's Simultaneously?

Recently I installed apache2 on Raspbian and after end of installation I entered the following cmd and got two IP's. $ hostname -I 192.168.1.17 192.168.1.24 Of this, I have been using the IP ...
0
votes
1answer
9 views

How can I do to use a email service for a same domain on other server [closed]

For example, the server I am using uses the host name "A.com". Now, I want to send an email to "A@A.com". But the email server isn't on this server. How can I do this?
0
votes
1answer
224 views

Debian stuck in Endless DHCPNAK/OFFER loop unless I ask DHCP server to clear expired leases

have a Marvel Kirkwood device running Debian with 3.16 Kernel. On boot, the DHCPClient gets stuck in a loop and never picks up an ip unless I log onto the dhcp server and ask it to dump the expired ...
8
votes
4answers
9k views

I changed my hostname, why is my bash PS1 prompt unchanged

I changed my hostname by editing /etc/hostname and can see the new hostname using the hostname and hostname -F commands. But the shell prompt is still showing the old hostname. This is Ubuntu 11.0.4 ...
4
votes
2answers
766 views

How to decrypt hostnames of a crypted .ssh/known_hosts with a list of the hostnames?

I try to find a script to decrypt (unhash) the ssh hostnames in the known_hosts file by passing a list of the hostnamses. So, to do exactly the reverse of: ssh-keygen -H -f known_hosts Or also, to ...
0
votes
0answers
78 views

Configuration of “Same Host Name” for my all LAN Machines under squid proxy

I am having the network model as Modem N/w Switch ISDN (Airtel) -----------> Server(Centos) [Squid] -----------------> Client Machines. ...
2
votes
1answer
75 views

Will changing hostname in OpenBSD affect installed packages?

With regards to OpenBSD 5.6, suppose I change my hostname in /etc/myname Will doing so affect installed packages, root password or user's passwords? Do I have to reboot my machine after changing my ...
2
votes
2answers
93 views

Sending mail to lan ip failed

In a Ubuntu os, with sendmail installed (maybe as default installed package) but not configured, I tried to type both echo "Text message" | mail <dest_ip_address>\!dest_user and echo "Text ...
0
votes
2answers
163 views

Why can't I change the hostname of my server using sudo? [duplicate]

From a user that is part of the sudoers group, I can normally run any command by doing sudo <command> But the following command fails stating "Permission denied" sudo echo "myhostname" > ...
1
vote
1answer
125 views

How to get NetBIOS name from IP

My friend has a PC that uses Windows, and I want to know the name of that computer. All I know now is that his IP address is 10.0.0.2, how can I get his computer's name from my Linux box?
1
vote
3answers
80 views

What will be prioritized in a conflict between ~/.ssh/config hostname and /etc/hosts?

What if one host is defined in /etc/hosts like: 192.168.0.100 server and one is defined in ~/.ssh/config like: Host server HostName 192.168.0.100 and you ssh into server: ssh ...
1
vote
1answer
58 views

Correct hostname doesn't change in entire system

I have a very strange problem with my hostname on Debian 7+. I've changed the hostname on my new server but for some reason it doesn't change in wierd places. Right now I get the old hostname when I ...